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.
In more detail
The runOnly option limits a run to chosen rules or tags. { runOnly: { type: 'tag', values: ['wcag2a', 'wcag2aa'] } } runs only the WCAG 2.0 level A and AA rules, for example.
Related terms
- axe-core — An open-source accessibility testing engine by Deque that checks rendered HTML against rules mapped to WCAG success criteria.
- WCAG conformance level — One of WCAG's three grades, A, AA and AAA, where each level includes all requirements of the levels before it.
Taught in
- Automated Accessibility Testing: axe-core & Testing Library — Design Systems & Component Engineering