ios-accessibility
Skill167 starsChanged 8 months agoMITView on GitHub
Expert guidance on iOS accessibility best practices, patterns, and implementation. Use when developers mention: (1) iOS accessibility, VoiceOver, Dynamic Type, or assistive technologies, (2) accessibility labels, traits, hints, or values, (3) automated accessibility testing, auditing, or manual testing, (4) Switch Control, Voice Control, or Full Keyboard Access, (5) inclusive design or accessibility culture, (6) making apps work for users with disabilities.
6 other projects use a version of this, 2 of them edited.
Adopted by
Most recently taken up by
- VelimirMueller/claude-skillsedited, first seen Nov 1, 2026
- VelimirMueller/ai-development-skillsedited, first seen Nov 1, 2026
- The-Artificer-of-Ciphers-LLC/skills-from-the-artificertheir own version, first seen Nov 1, 2026
- thienqo/ios-skillstheir own version, first seen Oct 11, 2026
- apexbymanish/claude-ai-agents-iostheir own version, first seen Oct 9, 2026
- rusel95/ios-agent-skillstheir own version, first seen Apr 16, 2026
Used with
Projects with it also use swift-concurrency.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
jamesrochabrunSkillswift-concurrency
Guide for building, auditing, and refactoring Swift code using modern concurrency patterns (Swift 6+). This skill should be used when working with async/await, Tasks, actors, MainActor, Sendable types, isolation domains, or when migrating legacy callback/Combine code to structured concurrency. Covers Approachable Concurrency settings, isolated parameters, and common pitfalls.
Also in 3 projects that use this
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 2
- VelimirMueller/ai-development-skills★ 799% same
- VelimirMueller/claude-skills★ 799% same
Wrote their own version · 4
- rusel95/ios-agent-skills★ 13same name
- The-Artificer-of-Ciphers-LLC/skills-from-the-artificer★ 6same name
- thienqo/ios-skills★ 4same name
- apexbymanish/claude-ai-agents-ios★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
10 rules. 0 are common, 10 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
10
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 22
Before proposing fixes, identify the platform (UIKit vs SwiftUI) and the assistive technology, accessibility feature, or design …
- Distinctive: line 23
Do not recommend accessibility fixes without considering the user experience impact.
- Distinctive: line 24
Prefer manual testing guidance alongside code changes, together with any automated or semi-automated solutions.
- Distinctive: line 49
Before providing accessibility guidance, determine:
- Distinctive: line 71
If you can't determine the above, ask the developer to confirm before giving version-specific or framework-specific guidance.
- Distinctive: line 75
When a developer needs accessibility guidance, follow this decision tree:
- Distinctive: line 111
Use the Decision Tree and jump into the relevant reference file.
- Distinctive: line 113
Always include testing guidance alongside any code changes.
- Distinctive: line 124
Add testing steps (VoiceOver, Voice Control...).
- Distinctive: line 137
No code context: ask for relevant view code or a screenshot of the Accessibility Inspector.
“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
iOS Accessibility
Overview
This skill provides expert guidance on iOS accessibility, covering VoiceOver, Dynamic Type, assistive technologies, inclusive design practices, and both UIKit and SwiftUI implementations. Use this skill to help developers build apps that work for everyone.
The Approach
- Shift-left — Accessibility is part of the process. It needs to be considered even in prototypes or MVPs.
- User-centric — Accessibility is about people. Checklists help, but the goal is not checklist compliance. The goal is to offer a great experience for users with disabilities.
- Progress over perfection — Anytime is a good time to start. Focus on iterative and incremental improvements as you go. It goes a long way.
- Test as you go — Manual testing is part of development.
Agent Behavior Contract
- Accessibility is non-deterministic. Propose potential solutions in order of confidence and present with clear pros, cons, and trade-offs.
- Before proposing fixes, identify the platform (UIKit vs SwiftUI) and the assistive technology, accessibility feature, or design consideration in context.
- Do not recommend accessibility fixes without considering the user experience impact.
- Prefer manual testing guidance alongside code changes, together with any automated or semi-automated solutions.
- Cross-reference multiple assistive technologies when relevant (VoiceOver, Voice Control, Switch Control, Full Keyboard Access).
Anti-Patterns to Avoid
- Do not add trait names to labels — Say "Close", not "Close button" (VoiceOver adds "button" automatically, when using the button trait)
- Do not use
.accessibilityHidden(true)on interactive elements — Users won't be able to access them - Do not use fixed font sizes — Always use text styles for Dynamic Type support
- Do not use hardcoded colors for text — Use semantic colors (
.label,.secondaryLabel) for contrast and Dark Mode - Do not group UIKit elements without a clear combined label — If
isAccessibilityElement = true, setaccessibilityLabel(and value/traits as needed). - Do not group SwiftUI elements without a clear combined label — If
.accessibilityElement(children: .ignore)is used, provide label/value/traits manually. - Do not add hints unless needed — It should be clear what a component expresses, and does, by its label/value/traits. Only configure for adding extra clarity or context.
- Do not rely on
onTapGesturealone — Prefer semantic controls likeButton. If gesture handling is unavoidable, add button traits and clear labels. - Do not scale chrome controls with Dynamic Type — For navigation bars, toolbars, and tab bars, prefer Large Content Viewer (iOS 13+) using
.accessibilityShowsLargeContentViewer/UILargeContentViewerItem.
General Guidance
Prefer native components: Whenever possible, use Apple's native components and customize them to your needs instead of building custom components from scratch.
Design system first: Whenever the project uses a design system of its own (colors, text styles, component catalog), propose changes in the design system itself so the improvement snowballs everywhere in the app using an improved component.
Platform parity: The same accessibility principles apply to both UIKit and SwiftUI, but APIs and implementation details differ.
Project Settings Intake (Evaluate Before Advising)
Before providing accessibility guidance, determine:
Project Capabilities
- Is the project using SwiftUI, UIKit, or a mix of both?
- iOS deployment target — Some APIs require specific versions:
- iOS 13+: Large Content Viewer (
UILargeContentViewerInteraction), SF Symbols - iOS 14+: Switch Control action images (
UIAccessibilityCustomAction.init(name:image:actionHandler:)) - iOS 15+:
AccessibilityFocusState,.accessibilityRotor - iOS 16+:
.accessibilityRepresentation,.accessibilityActions { }syntax - iOS 17+:
.sensoryFeedback
- iOS 13+: Large Content Viewer (
- Check minimum OS — Look for
#availablechecks and deployment target in project settings
Project Conventions
- Design system — Does the project define its own design system (colors, text styles, UI component catalogue)? Propose changes in the design system when appropriate, not only per-feature.
- Semantic colors and text styles — Does the project use semantic colors (
.label,.systemBackground) and text styles (.preferredFont(forTextStyle:)in UIKit,.font(.body)in SwiftUI) vs hardcoded values? - Existing accessibility patterns — Search for
.accessibilityLabel,.accessibilityTraits, etc. to match project style. - Localization — Accessibility labels, values, and hints should be localized. Match the project's localization conventions.
- UI construction — Interface Builder (XIB/Storyboard) or code-only?
- Custom gestures — Identify if custom gestures need accessible alternatives.
- Accessibility test coverage — Existing UI tests auditing for accessibility?
When Settings Are Unknown
If you can't determine the above, ask the developer to confirm before giving version-specific or framework-specific guidance.
Quick Decision Tree
When a developer needs accessibility guidance, follow this decision tree:
- VoiceOver issues?
- Core concepts: Read
references/voiceover.md - UIKit implementation: Read
references/voiceover-uikit.md - SwiftUI implementation: Read
references/voiceover-swiftui.md
- Core concepts: Read
- Dynamic Type, text scaling, or adaptive layout?
- Core concepts: Read
references/dynamic-type.md - UIKit implementation: Read
references/dynamic-type-uikit.md - SwiftUI implementation: Read
references/dynamic-type-swiftui.md
- Core concepts: Read
- Other assistive technologies?
- Voice Control: Read
references/voice-control.md - Switch Control: Read
references/switch-control.md - Full Keyboard Access: Read
references/full-keyboard-access.md
- Voice Control: Read
- Testing accessibility?
- Manual testing: Read
references/testing-manual.md - Automated testing: Read
references/testing-automated.md
- Manual testing: Read
- Cross-cutting concerns?
- Contrast, targets, motion, haptics: Read
references/good-practices.md - Culture and mindset: Read
references/concepts-and-culture.md
- Contrast, targets, motion, haptics: Read
- Quick reference needed?
- Common mistakes, patterns, checklists: Read
references/playbook.md
- Common mistakes, patterns, checklists: Read
- Need definitions or sources?
- Glossary: Read
references/glossary.md - Sources and further reading: Read
references/resources.md
- Glossary: Read
Quick Playbook (Start Here)
- Confirm framework (UIKit vs SwiftUI) and iOS target.
- Identify assistive technology and user-experience issue.
- Use the Decision Tree and jump into the relevant reference file.
- Whenever it makes sense, provide 2-3 options with trade-offs and expected UX impact.
- Always include testing guidance alongside any code changes.
For common mistakes, inspector warnings, code patterns, version-specific APIs, and checklists, use references/playbook.md.
Example Prompts and Expected Shape
Example prompt: “VoiceOver reads ‘button’ for my close button.” Expected response:
- Confirm framework and iOS target if unknown.
- Provide options when there are multiple viable approaches (for example, add an accessibility label vs a labeled button using icon-only style), with trade-offs.
- Include a framework-appropriate snippet.
- Add testing steps (VoiceOver, Voice Control...).
Example prompt: “Dynamic Type breaks my header layout in UIKit.” Expected response:
- Confirm
preferredContentSizeCategoryhandling and iOS target. - Suggest layout adaptation strategies (stack axis change vs constraints).
- Include a UIKit snippet and testing steps at Large Accessibility Sizes.
Edge Cases and Gotchas
- Mixed UIKit/SwiftUI screens: use correct API set per view layer.
- Custom controls or gestures: always provide a VoiceOver/Voice Control alternative.
- Unknown iOS target: ask before suggesting version-specific APIs.
- No code context: ask for relevant view code or a screenshot of the Accessibility Inspector.
- Localization: all labels, values, and hints (and any other string parameter like custom content, or accessibility announcements, etc.) must be localized.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

