-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomerstestingFor testingFor testing
Description
## Integrate a Basic Automated Accessibility Audit with Axe-core
Description:
Set up a simple automated accessibility audit using axe-core. This will serve as the first step toward real-time auditing in our CI pipeline.
Tasks:
- Install
jest-axe
and its peer dependencies. - Write a test for a simple component (or a dummy component if needed) that uses
jest-axe
to verify accessibility. - Add the test file (e.g.,
src/__tests__/accessibility.test.js
) and verify that no axe violations are present.
Steps to Get Started:
-
Fork the repository and create a branch called
feature/axe-a11y-audits
. -
Install dependencies:
npm install --save-dev jest-axe axe-core
-
Create a test file that imports a component and runs the axe check.
-
Run the tests using npm run test and ensure everything is passing.
-
Open a pull request with your test code and a short description of your work.
This issue is a great starting point for understanding how automated a11y tests work. Happy coding!
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomerstestingFor testingFor testing