SPELWork dashboards: colour-blind check of warning states and step colours (spec §1) #173
Labels
No labels
build-dist
priority
P1
priority
P2
priority
P3
priority
P4
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Toilville/toilville-design#173
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
§1 of
spelwork-dashboard-design-part1.mdlists this as an open item: nothing has been checked for colour-blind-safe combinations. Contrast against the background passes, but that doesn't show the states can be told apart from each other.Acceptance criteria
Do this after the step colours are proposed (#172).
Light severity colours: proposed revision, needs a decision
The light values of three existing severity tokens need to change. #173 found that light slow and broken collapse under deuteranopia (simulated ΔE00 2.0, on analysis thresholds for that review, not a standard). Fine, slow and broken have almost the same lightness (L* 49.6, 49.9, 47.9), so once red-green vision removes the hue difference they merge. This is the light-theme lightness-order issue recorded in #174.
Proposal. The severity semantics, hues and token structure stay the same. Only the light value of three tokens changes:
color.accent.warning#CD4D0B#B43A01color.accent.error#DC2626#AA0110color.accent.critical#960157#84014CFine (
#12883E) and stale (#706052) are unchanged, as are all dark values. No token is added. Very serious moves slightly from the value approved in #174 (ΔE00 3.6) to even out the ladder.Result
Tradeoff. The revised slow, broken and very serious are darker and heavier, especially in charts. Mean lightness of the four colours falls from L* 44.9 to 38.8. Slow loses 7.5 L*, broken 12.7 and very serious 4.2. The added lightness separation is what provides the accessibility gain. Chroma is already close to the sRGB limit at these lightness values, so brightening them would give the separation back.
Scope. These are baseline light values. They reach
toilvilleandwp-themes. Rituals has its own palette and SPELWork carries no accent tokens. Part 1 §3 and §1 would be updated with the change.Alternatives tested and not preferred: a version with a darker very serious (thicker ladder, changes the approved value more), and a version that keeps
#960157(thinner ladder, more weak pairs).@ville Sounds good lets do it
Closing — both acceptance criteria are met.
accent.warning#CD4D0B→#B43A01,accent.error#DC2626→#AA0110,accent.critical#960157→#84014C— leaving dark, fine and stale untouched.§3's "Light theme lightness order" is now marked resolved in #173. Finding a real collapse and fixing it is the outcome this issue wanted; a clean pass would have been the less useful result.