Quick reference
- Keyboard: every control reachable, in order, with focus always visible.
- Names: every input has a label and every icon button a name.
- Contrast: 4.5:1 for body text, 3:1 for large text and controls.
- Zoom: 200 per cent with no clipped or overlapping text.
- Motion: respect prefers-reduced-motion and pause anything automatic.
Explained
First, put the mouse away. Tab through every flow and check whether you can reach each control, in a sensible order, and whether you can see where focus is. A missing focus ring or a keyboard trap fails users who never touch a mouse.
Second, check names. Every input needs a label, every icon button an accessible name, and every image either alt text or an empty alt if it is decorative. A placeholder is not a label.
Third, check contrast. Body text needs 4.5:1 against its background, and large text and meaningful UI edges need 3:1. Run axe or Lighthouse first, then confirm the cases the tool cannot judge.
Fourth, zoom to 200 per cent and read the page. Nothing should clip or overlap. Then set the window to 320 CSS pixels wide: there should be no horizontal scroll.
Fifth, watch the motion. Respect prefers-reduced-motion and give anything that moves on its own a pause control.
The honest caveat: these five are a floor, not conformance. A full WCAG 2.2 AA audit still needs screen reader testing and a check of the content, not just the markup.
Your turn: Which check would your last release have failed?
Related on this site
More notes: Testing & quality
- P1031Security tests every pipeline should run
- P1029Load testing a design, not a number
- P1028Quarantine a flaky test, keep coverage
- P1027Four numbers worth tracking
- P1026Test data you can trust
- P1025Tests in CI: lint, unit, contract, e2e, gate
- P1024Five test smells that hide bugs
- P1023Contract testing between services
Open in the notes app: search, filters, copy This note on GitHub