ios-accessibility-audit
Skill1 starsChanged 15 days agoMITView on GitHub
Audit or fix accessibility in this iOS app — VoiceOver labels and grouping, Dynamic Type, contrast, hit targets, motion and focus order. Use when asked to check or improve accessibility, support VoiceOver or larger text, meet WCAG or public-sector requirements, or review a screen before release. Also use when adding any screen that will be used in the field.
In this repository37 other files it gives its agents.
- AGENTS.mdAGENTS.md
- ios-api-contract-migrationSkill
- ios-api-endpointSkill
- ios-app-intents-siriSkill
- ios-bug-triageSkill
- ios-build-configurationSkill
- ios-cloudkit-syncSkill
- ios-combine-patternsSkill
- ios-commit-and-prSkill
- ios-commitSkill
- ios-concurrency-auditSkill
- ios-coreml-apple-intelligenceSkill
- ios-deep-linkingSkill
- ios-dependency-assessmentSkill
- ios-design-fixSkill
- ios-feature-moduleSkill
- ios-knowledge-baseSkill
- ios-latest-os-adoptionSkill
- ios-localizationSkill
- ios-offline-writeSkill
- ios-performance-tuningSkill
- ios-port-from-androidSkill
- ios-port-to-androidSkill
- ios-precommitSkill
- ios-privacy-complianceSkill
- ios-push-and-background-tasksSkill
- ios-refactorSkill
- ios-release-prepSkill
- ios-sdk-upgradeSkill
- ios-secure-reviewSkill
- ios-storekit-subscriptionsSkill
- ios-swift6-concurrency-migrationSkill
- ios-swiftdataSkill
- ios-swift-testing-migrationSkill
- ios-swiftui-screenSkill
- ios-unit-testsSkill
- ios-widgetkit-live-activitiesSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 3 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Treat this as a functional requirement, not a polish pass.
- Very specific: line 14
Every icon-only control has .accessibilityLabel — a verb phrase, not the icon name: "Add job", not "plus".
- Very specific: line 32
No fixed frame(height:) on anything containing text.
- Very specific: line 36
Test at the largest accessibility size.
- Very specific: line 40
Never disable Dynamic Type with .font(.system(size:)) and a hard number.
- Distinctive: line 46
Never encode meaning in colour alone — pair it with text or a shape.
- Very specific: line 47
Use semantic colours (.primary, .secondary, Color(.systemBackground)) so Increase Contrast and dark mode are handled for free.
- Distinctive: line 49
Check with Differentiate Without Colour and Increase Contrast enabled.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Audit accessibility
Treat this as a functional requirement, not a polish pass. For public-sector and regulated clients it is contractual, and it is far cheaper to get right while the screen is being written.
VoiceOver
- Every icon-only control has
.accessibilityLabel— a verb phrase, not the icon name: "Add job", not "plus". - Composite rows use
.accessibilityElement(children: .combine)so a row is one swipe, not five. Check the combined announcement reads as a sentence and puts the important part first. - Decorative images are hidden:
.accessibilityHidden(true). - Status conveyed by a chip or colour also has text in the announcement — a
StatusChipwith "In progress" is fine, a coloured dot is not. - Custom controls declare
.accessibilityAddTraits(.isButton)and respond to activation. - Swipe actions are unreachable by VoiceOver alone: anything destructive or important available only as a swipe needs an equivalent in a menu or the detail screen.
- Loading and error states announce themselves.
ProgressViewhas a label; a newly shownErrorBannershould be announced rather than appearing silently.
Dynamic Type
- No fixed
frame(height:)on anything containing text; constrain width, let height grow. lineLimitused deliberately, with.minimumScaleFactoronly where truncation would lose meaning.- Test at the largest accessibility size. Rows that hold a title, a chip and a
date on one line will need to reflow — use
ViewThatFitsor check@Environment(\.dynamicTypeSize)and stack vertically above.accessibility1. - Never disable Dynamic Type with
.font(.system(size:))and a hard number.
Colour and contrast
- 4.5:1 for body text, 3:1 for large text and meaningful icons. Check both light and dark appearance.
- Never encode meaning in colour alone — pair it with text or a shape.
- Use semantic colours (
.primary,.secondary,Color(.systemBackground)) so Increase Contrast and dark mode are handled for free. - Check with Differentiate Without Colour and Increase Contrast enabled.
Interaction
- Hit targets at least 44×44 points. A
Buttonwrapping a smallImageneeds padding, not a smaller icon. - Nothing depends on a gesture with no alternative (long press, drag, shake).
.accessibilityReduceMotionrespected for anything that moves more than a fade.- Focus order follows reading order;
@FocusStatemoves sensibly through forms, andsubmitLabelmatches what the field actually does.
Content
- Sentence case, British English, no jargon in error messages.
- Field labels are visible, not placeholder-only — a placeholder disappears the moment someone types.
- Error text says what to do next, not just what went wrong.
How to check
- Enable VoiceOver on a device and traverse the screen with swipes only. If you cannot complete the primary task, it fails.
- Set the largest accessibility text size in Settings → Accessibility → Display & Text Size and look for clipping and overlap.
- Turn on Increase Contrast, Reduce Motion, Differentiate Without Colour.
- Xcode's Accessibility Inspector audit on each screen — it catches unlabelled elements and contrast failures quickly, but it does not catch a nonsensical announcement, so do step 1 as well.
Verification
- Every icon-only control labelled.
- Rows combine and read sensibly.
- Primary task completable with VoiceOver alone.
- Layout intact at the largest accessibility text size.
- No meaning carried by colour alone; contrast checked in both appearances.
- Hit targets 44×44 or larger.
- Loading, empty, error and offline states all accessible — they are easy to forget because they are rarely on screen while you work.
- Findings listed with file, the specific control, and the fix.
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.

