- Installs @axe-core/playwright at workspace root - Creates e2e/a11y/scorecard.spec.ts scanning /, /search, /listings/[id], /listings/create, /login, /register, /dashboard, /agent/[id], /inquiries, /admin/moderation - API mock layer lets pages render with stubbed JSON so axe sees real DOM - Critical/serious violations fail the build; moderate/minor are recorded only - Writes per-route JSON reports to e2e/a11y/reports/ (committed for before/after diffing in PRs) - Adds dedicated "a11y" Playwright project in playwright.config.ts - Pre-existing API unit test failures are unrelated to this change Co-Authored-By: Paperclip <noreply@paperclip.ing>
3.4 KiB
3.4 KiB