dimitriremoiville/cc-mobile/ios-accessibility
Claude Code and agent skill by dimitriremoiville/cc-mobile
- community
Checking that the SKILL.md file is still in the repository.
Accessibility conventions for this iOS project — the per-screen baseline, the grouping rule for custom rows, Dynamic Type at accessibility sizes, Reduce Motion, and the VoiceOver review pass. Load when auditing a screen for accessibility, adding semantic annotations, or reviewing a SwiftUI view for VoiceOver and tap-target correctness.
Install
npx vskill@latest install dimitriremoiville/cc-mobile/ios-accessibilitySKILL.md
The same SKILL.md was published earlier as dimitriremoiville/cc-mobile/ios-accessibility.
iOS accessibility (project delta)
For the API surface — every accessibility* modifier, trait, rotor, and custom action — read Apple's SwiftUI accessibility documentation and the Accessibility section of the HIG. This file documents what this project requires and what its reviews actually flag.
When this applies
SwiftUI accessibility (accessibilityLabel, traits, accessibilityElement). On an existing app:
- UIKit → the principles transfer exactly (labels, traits, 44pt targets, Dynamic Type) but the API is
isAccessibilityElement,accessibilityLabel,accessibilityTraits,UIFontMetrics. Don't push SwiftUI modifiers. - Mixed UIKit + SwiftUI → apply this skill to the SwiftUI surfaces only.
The baseline
Before a screen is considered done:
- Every interactive element has a label that says what it does, not what it looks like.
- Traits match the actual role —
.isButton,.isHeader,.isToggle. SwiftUI infers these for its own controls; aVStackwith.onTapGesturegets nothing and must be told. - Tap targets are ≥ 44×44pt.
.frame(minWidth: 44, minHeight: 44)plus.contentShape(Rectangle())on tight layouts — withoutcontentShape, the padding isn't tappable. - Text uses semantic styles (
.body,.headline,.footnote), never a fixed.system(size:).
Labels
- No "image of" or "button that" in a label — VoiceOver announces the trait already.
- Hints describe the consequence, not the gesture. "Removes the selected order", not "Double-tap to delete".
- `.accessibilityLabel("")` is never the answer for a decorative element;
.accessibilityHidden(true)is.
Grouping custom rows
The single most common finding in this codebase. VoiceOver reads each subview separately, so a card built from an image, two labels, and an icon becomes four stops with no indication it's one tappable thing:
.combine merges children and keeps their labels joined; .ignore takes full control and requires you to supply the whole label. Custom-drawn controls need .ignore plus an explicit trait.
Dynamic Type
Layouts must survive `.accessibility3` and above — that's where fixed-height rows clip and side-by-side layouts collide. Preview it rather than guessing:
- No fixed-width or fixed-height container around scalable text.
.frame(maxWidth: .infinity, alignment: .leading)and let it wrap. - Custom fonts opt into scaling via
UIFontMetricsorFont.custom(_:size:relativeTo:)— plainFont.custom(_:size:)does not scale. - Consider
@Environment(\.dynamicTypeSize)to switch anHStackto aVStackpast.accessibility1, rather than letting it squeeze.
Reduce Motion
Parallax, auto-play, and looping animations are disabled, not shortened, when Reduce Motion is on.
Colour
Never encode status in colour alone — pair it with an icon, a label, or a shape. Body text meets 4.5:1 contrast, large text 3:1. @Environment(\.colorSchemeContrast) for the increased-contrast palette.
The VoiceOver pass
Run this on every new screen; it takes about a minute:
- Swipe right through the screen — every interactive element gets focus, in reading order, with no orphaned fragments.
- Double-tap each one — the intended action fires.
- Rotor by heading — the screen's structure is navigable.
- After a navigation, the announcement is the new screen's title, not a stale fragment.
- Errors and async results are announced — a visible
Textthe user never hears about is not an error message.
Hard nos
- No `.accessibilityHidden(true)` on anything interactive.
- No fixed `.font(.system(size:))` outside design-token generation.
- No colour-only status.
- No untested largest Dynamic Type size on a new screen.
- No custom control without an explicit trait — a tappable
VStackthat VoiceOver calls out as plain text is unusable.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingios/.claude/skills/ios-accessibility/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/dimitriremoiville/cc-mobile/ios-accessibility)