Skip to content

fix(a11y): raise dark-theme --faint contrast to WCAG AA (4.5:1) - #496

Closed
Carlys17 wants to merge 2 commits into
ToluLabs:mainfrom
Carlys17:pr-492
Closed

fix(a11y): raise dark-theme --faint contrast to WCAG AA (4.5:1)#496
Carlys17 wants to merge 2 commits into
ToluLabs:mainfrom
Carlys17:pr-492

Conversation

@Carlys17

@Carlys17 Carlys17 commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Summary

Fix WCAG 2 AA color-contrast failure on / and /developers pages.

Root cause: CSS variable --faint in dark theme was #4e4e60, yielding only 2.41 contrast ratio against #0b0b12 background (required: 4.5:1).

Fix: Raised --faint to #7e7e92 achieving:

  • 4.94:1 on #0b0b12
  • 4.80:1 on #0f0f18
  • 4.67:1 on #12121f

Light theme unchanged (was already 4.54+).

Tested: pnpm test:e2e → 10/10 passed (axe-core WCAG 2.1 AA checks).

Closes #413 (offline-capable holder page, PR #492).

CSS var --faint in dark theme (#4e4e60) had only 2.41 contrast
ratio against #0b0b12 background, failing WCAG 2 AA color-contrast
checks on / and /developers.

Raised --faint to #7e7e92 which achieves:
  - 4.94:1 on #0b0b12
  - 4.80:1 on #0f0f18
  - 4.82:1 on #0e0e1a
  - 4.67:1 on #12121f

Light theme unchanged (was already 4.74+)
@Carlys17 Carlys17 closed this Sep 1, 2026
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.

Feature: offline-capable holder page (PWA) so credentials are accessible without network

1 participant