Skip to content

fix(a11y): muted secondary text meets WCAG AA — tertiary token 0.55→0.62#71

Merged
th3-br41n merged 1 commit into
mainfrom
fix/a11y-contrast
Jul 3, 2026
Merged

fix(a11y): muted secondary text meets WCAG AA — tertiary token 0.55→0.62#71
th3-br41n merged 1 commit into
mainfrom
fix/a11y-contrast

Conversation

@th3-br41n

Copy link
Copy Markdown
Contributor

Session 375 contrast audit: the light themes' text.tertiary alpha (0.55) rendered muted secondary labels — 'Sort by: Name', '4 days ago', type tags, empty-state hints — at 4.09:1 on the app background, just under WCAG AA (4.5:1). Bumped the alpha to 0.62 across the 5 light themes (default / high-contrast / the three tinted lights), clearing AA (~4.8:1) with a small legibility gain and no change to the dark themes (their light-on-dark tertiary is already ≥0.6). Confirmed on Files / Contacts / Mailbox: 4.09:1 findings → 0. The dark themes measured clean (bg rgb(22,22,22), 0 findings across 5 apps incl. theme-editor); the phantom-token class that caused past unreadable-on-dark panels is already CI-guarded by check-css-tokens. Remaining below-AA text is accent-COLOURED brand text (links/tags at 3.2–3.9:1) — a separate brand decision, left as-is.

Session 375 contrast audit: the light themes' text.tertiary alpha (0.55) rendered
muted secondary labels — 'Sort by: Name', '4 days ago', type tags, empty-state
hints — at 4.09:1 on the app background, just under WCAG AA (4.5:1). Bumped the
alpha to 0.62 across the 5 light themes (default / high-contrast / the three
tinted lights), clearing AA (~4.8:1) with a small legibility gain and no change
to the dark themes (their light-on-dark tertiary is already ≥0.6). Confirmed on
Files / Contacts / Mailbox: 4.09:1 findings → 0. The dark themes measured clean
(bg rgb(22,22,22), 0 findings across 5 apps incl. theme-editor); the phantom-token
class that caused past unreadable-on-dark panels is already CI-guarded by
check-css-tokens. Remaining below-AA text is accent-COLOURED brand text
(links/tags at 3.2–3.9:1) — a separate brand decision, left as-is.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@th3-br41n th3-br41n merged commit 5c94acc into main Jul 3, 2026
8 of 9 checks passed
@th3-br41n th3-br41n deleted the fix/a11y-contrast branch July 3, 2026 05:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant