You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WCAG 2.1 AA accessibility audit for the Wraith Protocol landing page. Adds comprehensive a11y test coverage for all pages, a Playwright-based a11y gate, and CI enforcement.
What Changed
Extended src/__tests__/a11y.test.tsx from 2 → 14 vitest-axe tests covering all 9 routes (homepage, FAQ, roadmap, privacy, use-cases, Stellar, case-studies list, case study detail, 404).
Added keyboard navigation tests for homepage hamburger menu, FAQ accordion, and use-cases links.
Added tests/a11y/a11y.spec.ts with Playwright + @axe-core/playwright for all 9 routes, keyboard nav, skip-link verification, and reduced-motion (prefers-reduced-motion: reduce) compliance.
Added playwright.config.ts with Chromium project and preview server config.
Playwright A11y Gate fails with expect(received).toEqual(expected) — axe found accessibility violations on one of the pages your test covers. Run pnpm test:a11y locally to see which pages and which specific violations. Fix the violations OR (if they are known-flakey) mark them as expected in the test.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #87
Summary
WCAG 2.1 AA accessibility audit for the Wraith Protocol landing page. Adds comprehensive a11y test coverage for all pages, a Playwright-based a11y gate, and CI enforcement.
What Changed
src/__tests__/a11y.test.tsxfrom 2 → 14 vitest-axe tests covering all 9 routes (homepage, FAQ, roadmap, privacy, use-cases, Stellar, case-studies list, case study detail, 404).tests/a11y/a11y.spec.tswith Playwright +@axe-core/playwrightfor all 9 routes, keyboard nav, skip-link verification, and reduced-motion (prefers-reduced-motion: reduce) compliance.playwright.config.tswith Chromium project and preview server config.playwright-a11yjob to.github/workflows/ci.yml(needs build, installs Playwright browsers, runs axe gate).test:a11y:playwrightscript topackage.json.Acceptance Criteria Checklist
prefers-reduced-motion: reduce, verifies[data-reveal]elements immediately visible).playwright-a11yjob blocks PRs on failures).Test Output
All 14 vitest-axe tests pass, TypeScript compiles clean, Prettier passes. 1 pre-existing
PrivacyComparisontest failure unrelated to this change.