Testing your app
Automated tools find only some accessibility problems. The rest show up when you use your pages the way your users do: with a keyboard alone, with a screen reader, zoomed in, and in high-contrast mode. A few minutes of each on every new page catches problems no tool reports.
With a keyboard
- Put the mouse away and Tab through the page. Tab should reach every link, button and field in reading order, and you should always see where focus is.
- Open and close every dialog, menu and popover with the keyboard. Escape closes it, and focus returns to what opened it.
- Submit each form with a mistake in it. Focus goes to the list of errors (a
FormErrors) or to the field with the mistake, and each error names its field. - Do each task of the page from start to end. Nothing traps focus, and nothing needs the mouse.
- Watch the focus ring in light and in dark. It is easy to see on every control.
With a screen reader
Use the one your users are likely to have: NVDA (free) with Firefox or Chrome on Windows, VoiceOver with Safari on a Mac or an iPhone, TalkBack with Chrome on Android. Listen for these:
- The page title, then one level 1 heading, then headings in order. Most screen reader users move by headings.
- Read the page from top to bottom. The order makes sense, and lists and tables are announced as lists and tables.
- Each control's name says what it does, even out of context: "Delete invoice INV-1042", not "Delete".
- Changes you make without a full reload, such as a saved form or a filtered list, are announced. Use a LiveRegion or
Announcerwhere they aren't. - Pictures that carry meaning are described, and decorative ones are silent.
With a pointer
- Hover and focus each tooltip and popover. It stays while you point at it, and Escape closes it.
- Do each drag, swipe and pinch with single clicks. Pointer and touch lists the click-only way for each component's drag.
Zoom, contrast and motion
- Zoom the browser to 200%, and narrow the window to 320 pixels. Nothing is cut off, and only wide content, such as a table, scrolls sideways.
- Turn on a contrast theme in Windows (Settings, Accessibility, Contrast themes), or, as a first look, emulate forced colors in the browser's developer tools. Every control, its focus and its state still show.
- Turn on reduced motion in the operating system, and check that your own animations stop.
- Check the contrast of any color you set yourself: 4.5:1 for text, 3:1 for icons, control edges and chart marks.
- Look at each status, error and chart in grayscale. Nothing is told by color alone.
- Check what flashes or times out, that the user can extend a time limit, and that a video's captions are there and accurate.
Automated tools
Run axe DevTools (opens in a new tab) or Lighthouse's accessibility audit on each page, in each state that matters, such as with a dialog open or a form showing errors. They find missing names, contrast problems, broken ARIA and duplicate ids. izzy audit runs axe and checks of its own on a page from the terminal, at two widths, in light and dark and in forced colors, and writes a report. To run axe in your own tests, add @axe-core/playwright (opens in a new tab) to a Playwright test of the page.
Automated and manual checks lists what a tool settles and what is left to the checks above.