Screen Readers and Accessibility Testing
Test with real assistive technology and automated tools: VoiceOver, NVDA, axe, Lighthouse and accessibility linting.
Intermediate · about 3 hours · difficulty 3/5
Learn first: Keyboard Navigation and Focus Management, End-to-End Testing with Playwright
You cannot know an interface is accessible until you try it the way disabled users do. Automated tools find roughly a third to a half of issues; the rest needs manual testing.
Automated checks
- axe DevTools browser extension and
@axe-core/playwrightorvitest-axein tests to catch missing labels, contrast failures and invalid ARIA. - Lighthouse accessibility audit for a quick overview.
- eslint-plugin-jsx-a11y catches problems in JSX while you type.
- Testing Library role queries already fail when elements are unnamed.
Manual checks
- Keyboard only: complete every flow.
- Zoom to 200% and 400% and check reflow.
- Accessibility tree panel in Chrome or Firefox DevTools to see roles and names.
- Screen readers: VoiceOver (built into macOS and iOS), NVDA (free on Windows), TalkBack (Android). Learn a handful of commands: read next item, jump by headings, list links and form controls, interact with a form.
What to listen for
Does every control announce a sensible name, role and state? Do headings outline the page? Are errors and dynamic updates announced? Do images have useful alternative text (or empty alt="" if decorative)? Is anything announced twice or not at all?
Make it routine
Add axe checks to component and E2E tests, include an accessibility item in your pull request checklist and do a quick screen reader pass on new features. Fixing issues while building is far cheaper than after an audit.
Good enough to move on
You can navigate a page with one screen reader by headings and landmarks, run axe in CI and fix the issues it reports, and explain what automated tools cannot catch.
Key concepts
- axe DevTools and axe-core
- Lighthouse accessibility audit
- eslint-plugin-jsx-a11y
- DevTools accessibility tree
- VoiceOver basics
- NVDA basics
- Automated a11y checks in CI
- Writing good alt text
Mini project
Add axe checks to your Playwright suite for every main page, fix all violations, then record a short screen reader walkthrough of your checkout flow and fix anything confusing you hear.
Check yourself
Name two accessibility problems that an automated tool like axe cannot reliably detect.
Free resources
- axe-core (Deque)
- Accessibility testing (web.dev)
- NVDA (NV Access)