Skip to content

Chore/accessibility audit ci#543

Open
hashhhh-16 wants to merge 5 commits into
niharika-mente:mainfrom
hashhhh-16:chore/accessibility-audit-ci
Open

Chore/accessibility audit ci#543
hashhhh-16 wants to merge 5 commits into
niharika-mente:mainfrom
hashhhh-16:chore/accessibility-audit-ci

Conversation

@hashhhh-16

Copy link
Copy Markdown
Contributor

Summary

This PR introduces automated accessibility auditing using axe-core and Playwright.

Changes Made

  • Added @axe-core/playwright as a development dependency.

  • Created e2e/accessibility.spec.js to run automated accessibility audits.

  • Added accessibility tests for:

    • Homepage (/)
    • 404 / Not Found page
  • Configured tests to fail when serious or critical WCAG accessibility violations are detected.

  • Added a check to detect Vite error overlays before running accessibility audits, ensuring tests only run against a successfully rendered application.

Benefits

  • Enables automated accessibility validation in the existing Playwright test suite.
  • Helps catch accessibility regressions early in development.
  • Improves overall application quality and WCAG compliance.

Testing

  • Executed accessibility tests locally using Playwright.
  • Verified axe-core integration and audit execution.
  • Confirmed tests correctly detect application rendering failures through Vite error overlay checks.

Note

Current test execution is blocked by existing frontend build issues in FRONTEND/src/components/ui/Navbar.jsx (duplicate imports and syntax errors). The accessibility tests correctly identify the resulting Vite error overlay, indicating that the application must render successfully before accessibility auditing can complete.

closes #470

@vercel

vercel Bot commented Jun 28, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the niharika-mente's projects Team on Vercel.

A member of the Team first needs to authorize it.

Aamod007
Aamod007 previously approved these changes Jul 2, 2026

@Aamod007 Aamod007 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Aamod007 Aamod007 self-requested a review July 2, 2026 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore: set up automated accessibility auditing (Lighthouse/axe) in the CI pipeline

2 participants