Skill v1.0.0
currentAutomated scan100/100name: verify-a11y description: Deep accessibility audit using the iOS Simulator. Analyzes the accessibility tree for VoiceOver navigation order, Dynamic Type at all sizes, contrast ratios, motion reduction compliance, and Bold Text compatibility. allowed-tools: mcp__ios-simulator__get_booted_sim_id mcp__ios-simulator__open_simulator mcp__ios-simulator__launch_app mcp__ios-simulator__screenshot mcp__ios-simulator__ui_describe_all mcp__ios-simulator__ui_tap mcp__ios-simulator__ui_type mcp__ios-simulator__ui_swipe Bash Read Glob Grep Agent argument-hint: [ScreenName] metadata: version: "1.0.0"
Verify Accessibility
Deep accessibility audit of a React Native screen using the iOS Simulator.
Target screen: $ARGUMENTS
MANDATORY PREPARATION
- Read Shipwright Context from CLAUDE.md
- Read the screen source code to understand:
- Which accessibility labels and roles are defined
- Whether Dynamic Type is supported (no fixed text container heights)
- Whether
accessibilityElementsHiddenis used for decorative elements
AUDIT PROTOCOL
1. Accessibility Tree Analysis
Capture the full accessibility tree with mcp__ios-simulator__ui_describe_all.
Check every element:
| Check | Requirement | |
|---|---|---|
| Interactive elements have labels | Every button, link, input must have accessibilityLabel | |
| Labels are descriptive | "Submit order" not "button1" or "tap here" | |
| Roles are correct | button, link, header, image, text, adjustable | |
| Decorative images hidden | Images that don't convey information use accessibilityElementsHidden | |
| Groups are logical | Related elements grouped with accessible={true} on container | |
| Values are announced | Switches, sliders, progress bars have value descriptions | |
| Hints provide context | Complex interactions have accessibilityHint |
2. VoiceOver Navigation Order
The accessibility tree order determines VoiceOver reading order. Verify:
- Top-to-bottom, left-to-right — Does the order match visual layout?
- Headers first — Are section headers marked with
accessibilityRole="header"? - No hidden interactive elements — Can every tappable element be reached?
- Logical grouping — Are related items read together?
- Skip decorative elements — Are spacers, dividers, and decorative images skipped?
Flag any element that appears out of order or is unreachable.
3. Dynamic Type Testing
Test text scaling at multiple sizes by changing the simulator's text size:
# You can change Dynamic Type size through Settings app in simulator:# Settings → Accessibility → Display & Text Size → Larger Text
Navigate to the target screen and verify at each size:
Default size:
- Screenshot + accessibility tree (baseline)
Large (accessibility size):
- Increase text size in simulator Settings
- Return to the target screen
- Screenshot — verify:
- No text truncation
- No overlapping text
- Containers expand to fit larger text
- Layout remains usable
- Scroll view still works
Extra Extra Extra Large:
- Set to maximum accessibility size
- Same checks as above
- At extreme sizes, some layout adaptation is expected (e.g., horizontal → vertical stacking)
4. Contrast Verification
From the screenshot, evaluate text contrast:
| Text Type | Minimum Ratio (WCAG AA) | |
|---|---|---|
| Normal text (< 18pt) | 4.5:1 | |
| Large text (≥ 18pt or ≥ 14pt bold) | 3:1 | |
| UI components | 3:1 | |
| Decorative / disabled | No requirement |
Check:
- Primary text against primary background
- Secondary text against primary background
- Text on colored buttons
- Placeholder text in inputs
- Badge text on badge backgrounds
- Text on images (if any)
5. Motion Reduction
Check if the app respects prefers-reduced-motion:
# Enable Reduce Motion in simulator:# Settings → Accessibility → Motion → Reduce Motion
Verify:
- Parallax effects are disabled
- Auto-playing animations are stopped or simplified
- Transitions use cross-dissolve instead of slide
- No essential information is conveyed only through animation
In code, check for:
import { AccessibilityInfo } from 'react-native';// orimport { useReducedMotion } from 'react-native-reanimated';
6. Bold Text
# Enable Bold Text in simulator:# Settings → Accessibility → Display & Text Size → Bold Text
Verify:
- All text becomes bold
- No text truncation due to increased weight
- Icons with text labels still align properly
- Layout accommodates slightly wider bold text
7. Generate Report
## Accessibility Audit Report: [Screen Name]**Device:** [simulator device]**Date:** [date]### Accessibility Tree: [X/10]| Element | Type | Label | Role | Status ||---|---|---|---|---|| [element] | button | "Submit" | button | PASS || [element] | image | (none) | image | FAIL — needs label or hidden |### VoiceOver Order: [PASS/FAIL]- Navigation order logical: [YES/NO]- Out-of-order elements: [list]- Unreachable elements: [list]### Dynamic Type: [PASS/FAIL]- Default size: PASS- Large size: [PASS/FAIL] — [issues]- Maximum size: [PASS/FAIL] — [issues]### Contrast: [PASS/FAIL]- [details of any failing contrast ratios]### Motion Reduction: [PASS/FAIL]- `useReducedMotion` used: [YES/NO]- Animations respect setting: [YES/NO]### Bold Text: [PASS/FAIL]- Text truncation: [NONE/list]- Layout issues: [NONE/list]### Issues Found1. [Severity: HIGH/MEDIUM/LOW] — [description + fix]### Overall: [PASS/NEEDS WORK/FAIL]
CHECKLIST
- [ ] Accessibility tree captured and analyzed
- [ ] All interactive elements have labels and roles
- [ ] VoiceOver navigation order verified
- [ ] Dynamic Type tested at default, large, and maximum sizes
- [ ] Contrast ratios checked for all text
- [ ] Reduce Motion setting respected
- [ ] Bold Text compatibility verified
- [ ] Report generated with scored categories