Keyboard and Screen Reader Testing, Step by Step
To test a site by keyboard, put the mouse away and use Tab, Shift+Tab, Enter, Space and the arrow keys to reach and operate everything, watching for a visible focus ring and a sensible order. Then turn on a screen reader, NVDA on Windows or VoiceOver on Mac, and check that headings, links, buttons and form fields are announced clearly.
| Criterion | Level | What you check |
|---|---|---|
| 2.1.1 Keyboard | A | Everything works without a mouse |
| 2.1.2 No Keyboard Trap | A | Focus can always move away again |
| 2.4.1 Bypass Blocks | A | A way to skip repeated navigation |
| 2.4.3 Focus Order | A | Tab order follows the meaning of the page |
| 2.4.7 Focus Visible | AA | You can always see where focus is |
| 2.4.11 Focus Not Obscured (Minimum) | AA | Sticky bars do not hide the focused item |
| 4.1.2 Name, Role, Value | A | Controls announce what they are and their state |
Updated
Automated checkers catch missing alt text and low contrast, but they cannot tell whether a menu can be opened with Enter or whether a screen reader user understands a form. This page walks through the manual pass in order, with a practice area that shows exactly which element has focus and a checklist that keeps your place.
Testing checklist
Tick each step as you test. Your ticks stay on this page only.
Keyboard only
- Press Tab once after the page loads: A skip to content link appears and works with Enter
- Tab through the whole page: Every link, button and field is reached, in reading order
- Watch the focus ring at every stop: It is always visible and never hidden behind a sticky header
- Open the menu and any dropdowns: Enter or Space opens them; Escape closes and returns focus
- Operate custom widgets: Tabs, sliders and carousels respond to the expected keys
- Open and close a dialog: Focus moves into it, stays inside, and returns to the trigger afterwards
- Fill and submit the main form: Errors are reachable and focus lands somewhere useful
- Try to get stuck: No embed or widget traps focus
Screen reader
- Listen to the page title and first heading: They say which page you are on
- Open the headings list: Headings form a sensible outline with one h1
- Open the landmarks list: Banner, navigation, main and footer regions are present
- Move through links: Each link text makes sense out of context
- Visit each form field: Every field announces a label, its type and whether it is required
- Trigger an error and a success message: Both are announced without moving the mouse
- Check images: Informative images have alt text; decorative ones are silent
- Toggle a button or checkbox: The new state, such as expanded or checked, is announced
Focus practice area
Tab through these controls. The tracker names the element that has focus right now.
Keys for keyboard-only testing
| Key | What it should do |
|---|---|
| Tab / Shift+Tab | Move to the next or previous focusable element |
| Enter | Follow a link or press a button |
| Space | Press a button, tick a checkbox, scroll the page when nothing is focused |
| Arrow keys | Move within radio groups, selects, menus and tab lists |
| Escape | Close a dialog, menu or popup |
NVDA commands (Windows, desktop layout)
The NVDA key is Insert by default; the user guide also allows Caps Lock. Single letter keys work in browse mode.
| Action | Keys |
|---|---|
| Start NVDA | Control+Alt+N |
| Stop speech | Control |
| Read from here (say all) | NVDA+Down Arrow |
| Switch browse and focus mode | NVDA+Space |
| Elements list (links, headings, landmarks) | NVDA+F7 |
| Next heading / landmark / link | H / D / K |
| Next form field / button | F / B |
| Next table / list | T / L |
| Quit NVDA | NVDA+Q |
VoiceOver commands (Mac)
VO means the VoiceOver modifier: Control and Option held together, or Caps Lock on its own.
| Action | Keys |
|---|---|
| Turn VoiceOver on or off | Command+F5 |
| Open the rotor | VO+U |
| Switch rotor list (headings, links and more) | Left or Right Arrow inside the rotor |
| Move through the chosen list | Up or Down Arrow inside the rotor |
Fixes for the most common failures
Skip to content link
Click inside the result, then press Tab. The link slides into view only when focused, and its target is the main element.
<style>
.skip { position: absolute; left: 8px; top: -60px; padding: 8px 14px; background: #111; color: #fff; border-radius: 8px; }
.skip:focus { top: 8px; }
nav a { margin-right: 10px }
</style>
<a class="skip" href="#main">Skip to content</a>
<nav aria-label="Main"><a href="#">Home</a><a href="#">Services</a><a href="#">Contact</a></nav>
<main id="main" tabindex="-1"><h1>Page title</h1><p>Main content starts here.</p></main>A focus ring that only keyboard users see
Tab to the buttons inside the result. The offset ring stays clear of the button edge, and mouse clicks usually leave it hidden.
<style>
button { padding: 8px 14px; margin: 6px; border-radius: 8px; border: 1px solid #94a3b8; background: #fff; }
button:focus-visible { outline: 3px solid #1d4ed8; outline-offset: 3px; }
</style>
<button>First</button><button>Second</button><button>Third</button>Keep focused items out from under a sticky header
scroll-padding-top reserves space at the top when the browser scrolls a focused element or an anchor into view.
html { scroll-padding-top: 5rem; } /* height of the sticky header plus a little room */
header { position: sticky; top: 0; }
Browse mode versus focus mode
Screen readers read web pages in a virtual buffer where single letters jump around: H for the next heading, K for the next link in NVDA. When you land in a text field the reader switches to focus mode so letters type instead. NVDA+Space toggles between the two by hand.
This is why a custom widget that only reacts to arrow keys can seem broken. In browse mode the reader may consume those keys before your script hears them, so use native elements or follow the ARIA Authoring Practices patterns.
What good sounds like
Each control should be announced as a name, a role and, where relevant, a state: Search, edit text; Menu, button, collapsed; Subscribe, checkbox, not checked. If any of the three is missing, fix the markup before adding ARIA.
Headings should form an outline you could read as a table of contents. Pull up the headings list in NVDA's elements list or the VoiceOver rotor and see whether it makes sense alone.
Recording what you find
Write each issue as the page, the steps, what you expected and what happened, plus the criterion it fails. That format lets a developer reproduce it without guessing.
Retest after fixes with the same steps. Focus problems in particular tend to reappear when a header or modal is restyled.
How it works
- Open the page you want to test in another tab. Keep this checklist beside it.
- Work through the keyboard steps first, ticking each item. The progress count updates as you go.
- Use the practice area here to rehearse: Tab through it and the focus tracker names the element that has focus.
- Then start a screen reader with the commands in the tables and repeat the journey by listening.
- Copy the skip link and focus style code to fix the most common failures.
Tips
- Test the key journeys, not every page: the menu, a search, the main form, checkout or booking, and any dialog.
- Zoom the browser to 200 percent while tabbing. Focus rings and sticky headers often collide at larger sizes.
- If you remove the default outline, replace it in the same rule. Never leave outline: none on its own.
- Use real button and a elements. A clickable div is skipped by Tab and announced as plain text.
- Listen to a whole form with the screen reader before you change anything. Missing labels are obvious by ear.
Frequently asked questions
Which screen reader should I test with?
Use what your visitors use where possible. NVDA is free for Windows from NV Access, and VoiceOver is built into every Mac and iPhone. If most of your traffic comes from phones, add a pass with VoiceOver on iPhone or TalkBack on Android.
How do I start and stop NVDA and VoiceOver?
NVDA starts with Control+Alt+N once installed, and Insert+Q quits it. On a Mac, Command+F5 turns VoiceOver on and off. Pressing Control on its own silences NVDA mid-sentence.
What is a skip to content link?
It is the first link on the page, usually hidden until it receives focus, that jumps straight to the main content. Keyboard users then avoid tabbing through the whole navigation on every page. WCAG lists it as one sufficient technique for 2.4.1 Bypass Blocks, alongside landmarks and headings.
Should I use :focus or :focus-visible?
:focus-visible lets the browser decide when a focus ring is useful, so keyboard users see it while mouse clicks on buttons usually do not draw one. It has been widely supported since March 2022 according to MDN. Style :focus-visible and keep a visible ring for every interactive element.
What is a keyboard trap?
A spot where focus goes in and cannot get out with the keyboard, such as an embedded player or a custom dialog that swallows Tab. Modal dialogs should keep focus inside while open, but Escape or a close button must always let the visitor leave.
Related: Website accessibility checklist, aria-label examples, HTML accessibility checker, Colour contrast checker, JavaScript event listeners.
Start a 7-day free trial or see all free tools. On We.Inc you get a 7-day free trial, not a free plan: card needed, $0 today, cancel before it ends and you pay nothing. AI building is on paid plans from $20 a month.
More in Guides
- Keyword Cannibalization: Find Pages Fighting Over One Search
- How to Link CSS to HTML
- Link to a Sentence: Text Fragment URLs
- Local Citations: Get Your Name, Address and Phone Right Everywhere
- Local Citations for Australian Businesses: Where to Be Listed | How-to Guide
- Local Citations for Canadian Businesses: A Practical List | How-to Guide
- Local Citations for UK Businesses: The Listings That Matter | How-to Guide
- Local Citations for US Businesses: Where to List and Why | How-to Guide
Product
Who It's For
- For Agencies
- For Freelancers
- For Hosting Providers
- For SaaS Platforms
- For Startups
- For Financial Services
- For Healthcare
Features
Resources
- Blog
- Help Center
- Free Business Tools
- Free UI Components
- Website Templates
- Template Collections
- Website Examples
- Guides
- Comparisons
- Alternatives
- Best Lists
- Reviews
- Pricing Guides
- Use Cases
- Glossary & Guides
- Integrations
- Developers
- Benchmark
- Windows App