<< All versions

Skill v1.0.0

currentAutomated scan100/100
muratcakmak/shipwright/verify-a11y
──Details
PublishedNovember 17, 2026 at 02:18 PM
Content Hashsha256:cf974a9820535502...
Git SHAb1ab83155278
──Files
Files (1 file, 5.8 KB)
SKILL.md5.8 KBactive
SKILL.md · 188 lines · 5.8 KB

name: 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

  1. Read Shipwright Context from CLAUDE.md
  2. 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 accessibilityElementsHidden is 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:

CheckRequirement
Interactive elements have labelsEvery button, link, input must have accessibilityLabel
Labels are descriptive"Submit order" not "button1" or "tap here"
Roles are correctbutton, link, header, image, text, adjustable
Decorative images hiddenImages that don't convey information use accessibilityElementsHidden
Groups are logicalRelated elements grouped with accessible={true} on container
Values are announcedSwitches, sliders, progress bars have value descriptions
Hints provide contextComplex interactions have accessibilityHint

2. VoiceOver Navigation Order

The accessibility tree order determines VoiceOver reading order. Verify:

  1. Top-to-bottom, left-to-right — Does the order match visual layout?
  2. Headers first — Are section headers marked with accessibilityRole="header"?
  3. No hidden interactive elements — Can every tappable element be reached?
  4. Logical grouping — Are related items read together?
  5. 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:

bash
# 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):

  1. Increase text size in simulator Settings
  2. Return to the target screen
  3. 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:

  1. Set to maximum accessibility size
  2. Same checks as above
  3. At extreme sizes, some layout adaptation is expected (e.g., horizontal → vertical stacking)

4. Contrast Verification

From the screenshot, evaluate text contrast:

Text TypeMinimum Ratio (WCAG AA)
Normal text (< 18pt)4.5:1
Large text (≥ 18pt or ≥ 14pt bold)3:1
UI components3:1
Decorative / disabledNo 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:

bash
# 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:

tsx
import { AccessibilityInfo } from 'react-native';
// or
import { useReducedMotion } from 'react-native-reanimated';

6. Bold Text

bash
# 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 Found
1. [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
All versions