Accessibility Check Step (axe-core)
Goal
Let users catch accessibility (WCAG) issues inside their existing BugBug tests, so they don’t need a separate tool. Demand for this is growing since the European Accessibility Act came into force.
Requirement
Add a new step type, “Check accessibility”. When a test reaches this step, it runs axe-core against the page as it is at that moment.
Scope (v1)
Users can add the step from the step menu or the recorder, like any assertion.
Configuration:
WCAG standard and level (2.0 / 2.1 / 2.2, A / AA / AAA). Default: WCAG 2.1 AA.
Failure threshold by impact (minor / moderate / serious / critical). Default: serious and above.
Optional selector to check only one part of the page, plus selectors to exclude.
Optional list of axe rules to disable.
Result: the step passes or fails based on the threshold. Violations below the threshold are reported as warnings.
Log in to comment and vote
No comments yet
Be the first to share your thoughts.