axe-core
An open-source accessibility testing engine by Deque that checks rendered HTML against rules mapped to WCAG success criteria.
In more detail
axe.run(element, options) returns violations, passes and incomplete results, each with a rule id such as button-name, an impact level and the offending nodes. It runs inside unit tests, browsers and CI. Like all automated tools, it finds only a portion of real accessibility problems.
Related terms
- jest-axe — A library that runs axe-core in Jest-style tests and adds the toHaveNoViolations matcher.
- axe rule — One named check in axe-core, such as button-name or color-contrast, tagged with the WCAG criteria and levels it relates to.
- axe impact level — The severity axe-core gives each violation: minor, moderate, serious or critical.
- automated accessibility testing — Running tools such as axe-core in tests or pipelines to catch accessibility mistakes automatically.
Taught in
- Automated Accessibility Testing: axe-core & Testing Library — Design Systems & Component Engineering