Summary
The home page (/) fails axe's WCAG 2.1 AA color-contrast check in dark mode with 66 affected nodes, spanning at least the quick-start and rules-drift-prevention components (muted/small text using gray tokens like #898c8f on #25272a, #56585b on #171819 - ratios as low as 2.49:1 against a 4.5:1 requirement).
How this was found
While building Story 13.3 (navigation e2e viewport matrix, thymian-internal#470), the new matrix suite scans every route in light AND dark mode. The existing e2e/accessibility.spec.ts only ever scanned Home in light mode - this is the first time Home has been axe-scanned in dark mode, and it surfaced a genuine, pre-existing gap unrelated to the navigation work.
Scope note
This is unrelated to Epic 13 (site navigation/chrome) and was not introduced by it. Fixing it requires actual design rework of muted-text color tokens across multiple unrelated marketing components, which is out of scope for the navigation epic. Filed here for separate triage rather than silently skipped or bundled into an unrelated PR.
Repro
npx astro build
npx playwright test --project=mobile-chromium -g "no violations, dark"
(from astro-docs/, on the story/468-13-468-navigation-data-model-three-band-desktop-header branch / thymian-internal#468 PR - the matrix suite will be upstreamed to main once that PR merges)
Summary
The home page (
/) fails axe's WCAG 2.1 AA color-contrast check in dark mode with 66 affected nodes, spanning at least thequick-startandrules-drift-preventioncomponents (muted/small text using gray tokens like#898c8fon#25272a,#56585bon#171819- ratios as low as 2.49:1 against a 4.5:1 requirement).How this was found
While building Story 13.3 (navigation e2e viewport matrix, thymian-internal#470), the new matrix suite scans every route in light AND dark mode. The existing
e2e/accessibility.spec.tsonly ever scanned Home in light mode - this is the first time Home has been axe-scanned in dark mode, and it surfaced a genuine, pre-existing gap unrelated to the navigation work.Scope note
This is unrelated to Epic 13 (site navigation/chrome) and was not introduced by it. Fixing it requires actual design rework of muted-text color tokens across multiple unrelated marketing components, which is out of scope for the navigation epic. Filed here for separate triage rather than silently skipped or bundled into an unrelated PR.
Repro
(from
astro-docs/, on thestory/468-13-468-navigation-data-model-three-band-desktop-headerbranch / thymian-internal#468 PR - the matrix suite will be upstreamed to main once that PR merges)