Fix/a11y wcag audit - #113
Closed
0dillon wants to merge 3 commits into
Closed
Conversation
|
@0dillon is attempting to deploy a commit to the truthixify's projects Team on Vercel. A member of the Team first needs to authorize it. |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.