Skills · Design & UI

Screen Reader Testing

Unverified34/40

Test web applications with screen readers including VoiceOver, NVDA, and JAWS. Use when validating screen reader compatibility, debugging accessibility issues, or ensuring assistive technology support.

Originally by wshobson · MIT

Claude CodePartialHas SKILL.md but declares no allowed-tools — Claude Code will ask for permission each time
CursorPartialPlain prose you can paste in — but no Cursor rules file
CodexPartialPlain prose you can paste in — but no AGENTS.md
Gemini CLIPartialPlain prose you can paste in
CopilotPartialPlain prose you can paste in — but no Copilot instructions file
npx agentalley add screen-reader-testing

This command does not work yet — the CLI is still being built. Until then, use Raw in the reader below to take the file.

Who is stuck, and on what

Test web applications with screen readers including VoiceOver, NVDA, and JAWS. Use when validating screen reader compatibility, debugging accessibility issues, or ensuring assistive technology support.

The whole source

No sign-in, no blur, nothing truncated
screen-reader-testing/SKILL.md539 lines11.8 KBRawView on GitHub
Frontmatter — 2 properties
namescreen-reader-testing
descriptionTest web applications with screen readers including VoiceOver, NVDA, and JAWS. Use when validating screen reader compatibility, debugging accessibility issues, or ensuring assistive technology support.
1---
2name: screen-reader-testing
3description: Test web applications with screen readers including VoiceOver, NVDA, and JAWS. Use when validating screen reader compatibility, debugging accessibility issues, or ensuring assistive technology support.
4---A5No allowed-tools declared — no way to tell what this skill may touch
5 
6# Screen Reader Testing
7 
8Practical guide to testing web applications with screen readers for comprehensive accessibility validation.
9 
10## When to Use This Skill
11 
12- Validating screen reader compatibility
13- Testing ARIA implementations
14- Debugging assistive technology issues
15- Verifying form accessibility
16- Testing dynamic content announcements
17- Ensuring navigation accessibility
18 
19## Core Concepts
20 
21### 1. Major Screen Readers
22 
23| Screen Reader | Platform | Browser | Usage |
24| ------------- | --------- | -------------- | ----- |
25| **VoiceOver** | macOS/iOS | Safari | ~15% |
26| **NVDA** | Windows | Firefox/Chrome | ~31% |
27| **JAWS** | Windows | Chrome/IE | ~40% |
28| **TalkBack** | Android | Chrome | ~10% |
29| **Narrator** | Windows | Edge | ~4% |
30 
31### 2. Testing Priority
32 
33```
34Minimum Coverage:
351. NVDA + Firefox (Windows)
362. VoiceOver + Safari (macOS)
373. VoiceOver + Safari (iOS)
38 
39Comprehensive Coverage:
40+ JAWS + Chrome (Windows)
41+ TalkBack + Chrome (Android)
42+ Narrator + Edge (Windows)
43```
44 
45### 3. Screen Reader Modes
46 
47| Mode | Purpose | When Used |
48| ------------------ | ---------------------- | ----------------- |
49| **Browse/Virtual** | Read content | Default reading |
50| **Focus/Forms** | Interact with controls | Filling forms |
51| **Application** | Custom widgets | ARIA applications |
52 
53## VoiceOver (macOS)
54 
55### Setup
56 
57```
58Enable: System Preferences → Accessibility → VoiceOver
59Toggle: Cmd + F5
60Quick Toggle: Triple-press Touch ID
61```
62 
63### Essential Commands
64 
65```
66Navigation:
67VO = Ctrl + Option (VoiceOver modifier)
68 
69VO + Right Arrow Next element
70VO + Left Arrow Previous element
71VO + Shift + Down Enter group
72VO + Shift + Up Exit group
73 
74Reading:
75VO + A Read all from cursor
76Ctrl Stop speaking
77VO + B Read current paragraph
78 
79Interaction:
80VO + Space Activate element
81VO + Shift + M Open menu
82Tab Next focusable element
83Shift + Tab Previous focusable element
84 
85Rotor (VO + U):
86Navigate by: Headings, Links, Forms, Landmarks
87Left/Right Arrow Change rotor category
88Up/Down Arrow Navigate within category
89Enter Go to item
90 
91Web Specific:
92VO + Cmd + H Next heading
93VO + Cmd + J Next form control
94VO + Cmd + L Next link
95VO + Cmd + T Next table
96```
97 
98### Testing Checklist
99 
100```markdown
101## VoiceOver Testing Checklist
102 
103### Page Load
104 
105- [ ] Page title announced
106- [ ] Main landmark found
107- [ ] Skip link works
108 
109### Navigation
110 
111- [ ] All headings discoverable via rotor
112- [ ] Heading levels logical (H1 → H2 → H3)
113- [ ] Landmarks properly labeled
114- [ ] Skip links functional
115 
116### Links & Buttons
117 
118- [ ] Link purpose clear
119- [ ] Button actions described
120- [ ] New window/tab announced
121 
122### Forms
123 
124- [ ] All labels read with inputs
125- [ ] Required fields announced
126- [ ] Error messages read
127- [ ] Instructions available
128- [ ] Focus moves to errors
129 
130### Dynamic Content
131 
132- [ ] Alerts announced immediately
133- [ ] Loading states communicated
134- [ ] Content updates announced
135- [ ] Modals trap focus correctly
136 
137### Tables
138 
139- [ ] Headers associated with cells
140- [ ] Table navigation works
141- [ ] Complex tables have captions
142```
143 
144### Common Issues & Fixes
145 
146```html
147<!-- Issue: Button not announcing purpose -->
148<button><svg>...</svg></button>
149 
150<!-- Fix -->
151<button aria-label="Close dialog"><svg aria-hidden="true">...</svg></button>
152 
153<!-- Issue: Dynamic content not announced -->
154<div id="results">New results loaded</div>
155 
156<!-- Fix -->
157<div id="results" role="status" aria-live="polite">New results loaded</div>
158 
159<!-- Issue: Form error not read -->
160<input type="email" />
161<span class="error">Invalid email</span>
162 
163<!-- Fix -->
164<input type="email" aria-invalid="true" aria-describedby="email-error" />
165<span id="email-error" role="alert">Invalid email</span>
166```
167 
168## NVDA (Windows)
169 
170### Setup
171 
172```
173Download: nvaccess.orgA4This skill pulls in web or user content but never says to treat that content as data. A signal, not proof.
174Start: Ctrl + Alt + N
175Stop: Insert + Q
176```
177 
178### Essential Commands
179 
180```
181Navigation:
182Insert = NVDA modifier
183 
184Down Arrow Next line
185Up Arrow Previous line
186Tab Next focusable
187Shift + Tab Previous focusable
188 
189Reading:
190NVDA + Down Arrow Say all
191Ctrl Stop speech
192NVDA + Up Arrow Current line
193 
194Headings:
195H Next heading
196Shift + H Previous heading
1971-6 Heading level 1-6
198 
199Forms:
200F Next form field
201B Next button
202E Next edit field
203X Next checkbox
204C Next combo box
205 
206Links:
207K Next link
208U Next unvisited link
209V Next visited link
210 
211Landmarks:
212D Next landmark
213Shift + D Previous landmark
214 
215Tables:
216T Next table
217Ctrl + Alt + Arrows Navigate cells
218 
219Elements List (NVDA + F7):
220Shows all links, headings, form fields, landmarks
221```
222 
223### Browse vs Focus Mode
224 
225```
226NVDA automatically switches modes:
227- Browse Mode: Arrow keys navigate content
228- Focus Mode: Arrow keys control interactive elements
229 
230Manual switch: NVDA + Space
231 
232Watch for:
233- "Browse mode" announcement when navigating
234- "Focus mode" when entering form fields
235- Application role forces forms mode
236```
237 
238### Testing Script
239 
240```markdown
241## NVDA Test Script
242 
243### Initial Load
244 
2451. Navigate to page
2462. Let page finish loading
2473. Press Insert + Down to read all
2484. Note: Page title, main content identified?
249 
250### Landmark Navigation
251 
2521. Press D repeatedly
2532. Check: All main areas reachable?
2543. Check: Landmarks properly labeled?
255 
256### Heading Navigation
257 
2581. Press Insert + F7 → Headings
2592. Check: Logical heading structure?
2603. Press H to navigate headings
2614. Check: All sections discoverable?
262 
263### Form Testing
264 
2651. Press F to find first form field
2662. Check: Label read?
2673. Fill in invalid data
2684. Submit form
2695. Check: Errors announced?
2706. Check: Focus moved to error?
271 
272### Interactive Elements
273 
2741. Tab through all interactive elements
2752. Check: Each announces role and state
2763. Activate buttons with Enter/Space
2774. Check: Result announced?
278 
279### Dynamic Content
280 
2811. Trigger content update
2822. Check: Change announced?
2833. Open modal
2844. Check: Focus trapped?
2855. Close modal
2866. Check: Focus returns?
287```
288 
289## JAWS (Windows)
290 
291### Essential Commands
292 
293```
294Start: Desktop shortcut or Ctrl + Alt + J
295Virtual Cursor: Auto-enabled in browsers
296 
297Navigation:
298Arrow keys Navigate content
299Tab Next focusable
300Insert + Down Read all
301Ctrl Stop speech
302 
303Quick Keys:
304H Next heading
305T Next table
306F Next form field
307B Next button
308G Next graphic
309L Next list
310; Next landmark
311 
312Forms Mode:
313Enter Enter forms mode
314Numpad + Exit forms mode
315F5 List form fields
316 
317Lists:
318Insert + F7 Link list
319Insert + F6 Heading list
320Insert + F5 Form field list
321 
322Tables:
323Ctrl + Alt + Arrows Table navigation
324```
325 
326## TalkBack (Android)
327 
328### Setup
329 
330```
331Enable: Settings → Accessibility → TalkBack
332Toggle: Hold both volume buttons 3 seconds
333```
334 
335### Gestures
336 
337```
338Explore: Drag finger across screen
339Next: Swipe right
340Previous: Swipe left
341Activate: Double tap
342Scroll: Two finger swipe
343 
344Reading Controls (swipe up then right):
345- Headings
346- Links
347- Controls
348- Characters
349- Words
350- Lines
351- Paragraphs
352```
353 
354## Common Test Scenarios
355 
356### 1. Modal Dialog
357 
358```html
359<!-- Accessible modal structure -->
360<div
361 role="dialog"
362 aria-modal="true"
363 aria-labelledby="dialog-title"
364 aria-describedby="dialog-desc"
365>
366 <h2 id="dialog-title">Confirm Delete</h2>
367 <p id="dialog-desc">This action cannot be undone.</p>
368 <button>Cancel</button>
369 <button>Delete</button>
370</div>
371```
372 
373```javascript
374// Focus management
375function openModal(modal) {
376 // Store last focused element
377 lastFocus = document.activeElement;
378 
379 // Move focus to modal
380 modal.querySelector("h2").focus();
381 
382 // Trap focus
383 modal.addEventListener("keydown", trapFocus);
384}
385 
386function closeModal(modal) {
387 // Return focus
388 lastFocus.focus();
389}
390 
391function trapFocus(e) {
392 if (e.key === "Tab") {
393 const focusable = modal.querySelectorAll(
394 'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])',
395 );
396 const first = focusable[0];
397 const last = focusable[focusable.length - 1];
398 
399 if (e.shiftKey && document.activeElement === first) {
400 last.focus();
401 e.preventDefault();
402 } else if (!e.shiftKey && document.activeElement === last) {
403 first.focus();
404 e.preventDefault();
405 }
406 }
407 
408 if (e.key === "Escape") {
409 closeModal(modal);
410 }
411}
412```
413 
414### 2. Live Regions
415 
416```html
417<!-- Status messages (polite) -->
418<div role="status" aria-live="polite" aria-atomic="true">
419 <!-- Content updates will be announced after current speech -->
420</div>
421 
422<!-- Alerts (assertive) -->
423<div role="alert" aria-live="assertive">
424 <!-- Content updates interrupt current speech -->
425</div>
426 
427<!-- Progress updates -->
428<div
429 role="progressbar"
430 aria-valuenow="75"
431 aria-valuemin="0"
432 aria-valuemax="100"
433 aria-label="Upload progress"
434></div>
435 
436<!-- Log (additions only) -->
437<div role="log" aria-live="polite" aria-relevant="additions">
438 <!-- New messages announced, removals not -->
439</div>
440```
441 
442### 3. Tab Interface
443 
444```html
445<div role="tablist" aria-label="Product information">
446 <button role="tab" id="tab-1" aria-selected="true" aria-controls="panel-1">
447 Description
448 </button>
449 <button
450 role="tab"
451 id="tab-2"
452 aria-selected="false"
453 aria-controls="panel-2"
454 tabindex="-1"
455 >
456 Reviews
457 </button>
458</div>
459 
460<div role="tabpanel" id="panel-1" aria-labelledby="tab-1">
461 Product description content...
462</div>
463 
464<div role="tabpanel" id="panel-2" aria-labelledby="tab-2" hidden>
465 Reviews content...
466</div>
467```
468 
469```javascript
470// Tab keyboard navigation
471tablist.addEventListener("keydown", (e) => {
472 const tabs = [...tablist.querySelectorAll('[role="tab"]')];
473 const index = tabs.indexOf(document.activeElement);
474 
475 let newIndex;
476 switch (e.key) {
477 case "ArrowRight":
478 newIndex = (index + 1) % tabs.length;
479 break;
480 case "ArrowLeft":
481 newIndex = (index - 1 + tabs.length) % tabs.length;
482 break;
483 case "Home":
484 newIndex = 0;
485 break;
486 case "End":
487 newIndex = tabs.length - 1;
488 break;
489 default:
490 return;
491 }
492 
493 tabs[newIndex].focus();
494 activateTab(tabs[newIndex]);
495 e.preventDefault();
496});
497```
498 
499## Debugging Tips
500 
501```javascript
502// Log what screen reader sees
503function logAccessibleName(element) {
504 const computed = window.getComputedStyle(element);
505 console.log({
506 role: element.getAttribute("role") || element.tagName,
507 name:
508 element.getAttribute("aria-label") ||
509 element.getAttribute("aria-labelledby") ||
510 element.textContent,
511 state: {
512 expanded: element.getAttribute("aria-expanded"),
513 selected: element.getAttribute("aria-selected"),
514 checked: element.getAttribute("aria-checked"),
515 disabled: element.disabled,
516 },
517 visible: computed.display !== "none" && computed.visibility !== "hidden",
518 });
519}
520```
521 
522## Best Practices
523 
524### Do's
525 
526- **Test with actual screen readers** - Not just simulators
527- **Use semantic HTML first** - ARIA is supplemental
528- **Test in browse and focus modes** - Different experiences
529- **Verify focus management** - Especially for SPAs
530- **Test keyboard only first** - Foundation for SR testing
531 
532### Don'ts
533 
534- **Don't assume one SR is enough** - Test multiple
535- **Don't ignore mobile** - Growing user base
536- **Don't test only happy path** - Test error states
537- **Don't skip dynamic content** - Most common issues
538- **Don't rely on visual testing** - Different experience
539 

Reviews

Installed this one?Write the first review and take the Trailblazer badge.

Reviews only open after a real install, so this is empty — and we leave it empty rather than invent one.

Alternatives

Also in Design & UI