Accessibility check
axe-core runs the WCAG 2.0, 2.1 and 2.2 rules at levels A and AA on your page, quotes each element that fails and says how to fix it. It finds part of what WCAG asks, and says which part needs a person.
One form runs the whole audit: this check is one part of the report, with the others below.
What it reads
- The rules
- Every axe-core 4.11 rule tagged for WCAG 2.0, 2.1 and 2.2 at A and AA, plus the target-size rule for touch targets.
- Which pages
- The first page in a standard audit, up to the first 10 crawled pages in a deeper one, 25 seconds per page.
- The evidence
- For each failing rule, the elements it matched, quoted from the page, and the fix axe-core gives for the first of them.
- Needs review
- A rule that needs a person's judgement, such as contrast over an image, is listed as needing review, not as passed or failed.
- The score
- Lighthouse's accessibility score, minus half a severity weight for each axe finding.
What a result means
A failing rule is a barrier someone will meet: text too faint to read, a button a screen reader announces without a name, a form field without a label. The severity follows axe-core's impact, from critical to minor. Each failing rule lowers the score once, however many pages it failed on, and not again when Lighthouse already counted it on the homepage.
What it cannot tell you
Automated rules cover only part of WCAG. Keyboard use, reading order, whether alternative text describes the image and whether the page makes sense with a screen reader need a person, so a clean result is not a statement of conformance with WCAG or with the European Accessibility Act.
Questions
- Is this a WCAG audit?
- It is the automated part of one. A conformance audit adds a person testing with a keyboard and a screen reader, page by page.
- Why ten pages at most?
- Each axe pass takes several seconds of browser time. Ten pages in crawl order, which puts the most linked pages first, cover the templates most sites are made of.
- What does target size check?
- That buttons and links on a touch screen are at least 24 by 24 pixels, or spaced so a finger does not hit the next one: the WCAG 2.2 rule axe-core leaves off by default.
The other checks in the same report
Every rule, threshold and source is on the methodology page.