ios-accessibility · dpearson2699 — Claude Code skill: what it does, how to install
Guides accessibility reviews and code adjustments for Apple user interfaces. Helps configure screen reader flows, font scaling, and assistive focus states across devices.
npx skills add dpearson2699/swift-ios-skills --skill ios-accessibility -a claude-codeWhat ios-accessibility does
This skill provides implementation patterns to make SwiftUI, UIKit, and AppKit components usable with assistive utilities. It addresses VoiceOver reading order, custom rotors, and input methods like Switch Control. It also covers adapting views to user preferences, such as reduced motion or high contrast.
Focus handling receives special emphasis. It outlines how to use @AccessibilityFocusState so assistive focus returns to the trigger button when sheets dismiss. It also covers modal containment using .isModal alongside escape actions. For directional hardware navigation or UIFocusGuide, this skill does not apply; those mechanics belong to focus-engine.
Layout adaptation relies on @ScaledMetric. It resizes icons and custom control targets when text sizes change. The material also guides preparing evidence for App Store accessibility labels.
What it helps with
- Restore assistive focus to the trigger element after modal presentation dismisses
- Structure VoiceOver trait and label order for custom controls
- Scale non-text layout dimensions using
@ScaledMetricalongside Dynamic Type - Implement custom rotors for rapid list traversal
- Verify modal dismissal behavior with assistive escape gestures
Example prompts for the agent
- Audit this SwiftUI sheet to ensure focus returns to the opening button on dismissal using
@AccessibilityFocusState. - Apply
@ScaledMetricto these custom button dimensions so they scale with Dynamic Type. - Trap VoiceOver focus inside this custom dialog with
.isModaland add an escape action.
How to install ios-accessibility
1Skills CLI (Vercel)
npx skills add dpearson2699/swift-ios-skills --skill ios-accessibility -a claude-code2Manually: put the files in place
~/.claude/skills/ios-accessibility/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/ios-accessibility/
1Skills CLI (Vercel)
npx skills add dpearson2699/swift-ios-skills --skill ios-accessibility -a codex2Manually: put the files in place
.agents/skills/ios-accessibility/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add dpearson2699/swift-ios-skills --skill ios-accessibility -a cursor2Manually: put the files in place
.cursor/skills/ios-accessibility/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install dpearson2699/swift-ios-skills ios-accessibility2Manually: put the files in place
.github/skills/ios-accessibility/SKILL.md1Skills CLI (Vercel)
npx skills add dpearson2699/swift-ios-skills --skill ios-accessibility -a gemini-cli2Platform CLI
gemini skills install https://github.com/dpearson2699/swift-ios-skills --path skills/ios-accessibilityManually: put the files in place
.devin/skills/ios-accessibility/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add dpearson2699/swift-ios-skills --skill ios-accessibility -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about ios-accessibility
How do I install ios-accessibility in Claude Code?
Run npx skills add dpearson2699/swift-ios-skills --skill ios-accessibility -a claude-code. The skill file will be placed in ~/.claude/skills/ios-accessibility/SKILL.md.
What does the ios-accessibility skill do?
It provides instructions for making SwiftUI, UIKit, and AppKit interfaces accessible. It guides assistive focus handling, VoiceOver property order, Dynamic Type scaling, and system preferences like reduced motion.
Does this skill cover directional hardware keyboard navigation?
No, directional focus and UIFocusGuide are excluded and handled by the focus-engine skill. This guide focuses on assistive tools such as VoiceOver and Switch Control.
Similar skills
Everything for Mobile →ios-accessibility by other authors comes first.