Cypress · Senior · Question 36 of 76
How can accessibility checks be enforced in a Cypress suite?
- 1Run
cypress-axeon key pages in CI with agreed rules - 2Rely on manual audits once a year only
- 3Add
roleattributes to every element in tests
Show the answer
Correct answer: Run cypress-axe on key pages in CI with agreed rules
Explanation
Automated checks catch many issues early; a team rule set and allowed exceptions keep results actionable.