What the audit checks
izzy audit runs axe-core's rules and four checks of its own on each page as it loads. Each
check measures one thing. Some measurements settle the question, some don't, and some things no run
checks.
axe-core
axe-core (opens in a new tab) is the open source rule engine most accessibility tools run. izzy carries a copy and runs its rules at each width and color scheme. The load in forced colors runs izzy's own checks only. axe's rules cover missing names on controls and pictures, text contrast, ARIA that is wrong or misused, the page's language and title, landmarks and heading order. Each rule names the WCAG criterion it tests, and the report prints it. Some rules are best practices with no criterion.
axe is careful to report only what it is sure of. When it can't measure an element, such as text over a picture, it says so, and the report counts those apart for you to look at.
Checks beyond axe
izzy runs four checks of its own for what axe doesn't measure. Their findings are in the same
reports, with a verdict, a picture and a place in your code like any other. For the
two in forced colors izzy opens each page once more, at the widest width, with the browser's
forced colors on. The reports list that load as forced colors. WCAG doesn't name
forced colors: these two checks find what people who use a contrast theme lose.
| Rule | What izzy does |
|---|---|
target-size | Turns on axe's rule for WCAG 2.5.8: a control is 24 by 24 pixels or has that much room. axe measures the control's box, so izzy then tests where each one takes a click. A control with a larger hit area than its box is a false positive. |
focus-not-obscured | Scrolls a link or button under a header or footer that stays in place and gives it focus, as Shift+Tab does. If the page leaves it hidden, the bar is the finding, with the scroll-padding to set. WCAG 2.4.11. |
focus-visible-forced-colors | Takes a picture of each kind of control before and after it takes focus, in forced colors, and counts the pixels that change. An outline passes when most of it is in sight. A focus look made of a fill or a shadow is erased there. When one control fails, izzy measures the others of its kind. Related to WCAG 2.4.7. |
forced-colors-indicator | Finds the parts of controls and meters that only a fill draws, such as a progress bar's value, and reports those that nothing draws in forced colors. Related to WCAG 1.4.11. |
What a measurement settles
A measurement settles some of these and not others, and the verdict says which: real when izzy measured the failure, needs a person when a person has to judge what it measured. Signed out, a finding of these checks has izzy's own note in place of a verdict.
What it doesn't check
An audit with no findings is not a statement of conformance. report.md and
report.html end with a list like this one:
- izzy audits the page as it loads. It doesn't open dialogs, menus or popovers.
- It doesn't check keyboard order, focus traps or what a screen reader says.
- It measures focus in forced colors only, on one of each kind of control, up to 40 kinds a page, and not inside iframes or shadow roots. Anything that changes around a control counts, a tooltip that opens too. Whether focus is easy to see in light and dark is yours to judge.
- Forced colors are the browser's emulation, not a Windows contrast theme. It shows what disappears, not the colors a person's theme has.
- It looks for parts drawn only by a fill inside controls and meters. It doesn't look at an indicator elsewhere, such as a status dot or a chart's bars, or at a state a control shows by its own fill, such as a selected tab.
- It tries focus under a header or footer that stays in place with links and buttons, not fields, and only for a bar across at least half the page or scrolling area.
To audit a page in another state, such as with a dialog open, give izzy an address that opens the page in that state when your app has one. Automated and manual checks lists what is left to a person, and Testing your app says how to check it.