Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/gygantskiyMatilyock/ios-developer-agentsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/rules/gygantskiymatilyock/ios-developer-agents/ios-accessibility-validator)<a href="https://agentmods.dev/rules/gygantskiymatilyock/ios-developer-agents/ios-accessibility-validator"><img src="https://agentmods.dev/badge/rules/gygantskiymatilyock/ios-developer-agents/ios-accessibility-validator.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00443 |
| Opus 5 | $0.00000 | $0.00221 |
| Sonnet 5 | $0.00000 | $0.00089 |
| Haiku 4.5 | $0.00000 | $0.00044 |
Grade A, and why
ios-accessibility-validator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
iOS Accessibility Validator
When working with iOS UI code, check for accessibility compliance with Apple HIG and WCAG 2.2.
VoiceOver Compatibility
Check accessibility labels:
- All interactive elements have meaningful accessibilityLabel
- Labels are concise and descriptive (not "Button" or "Image")
- Labels don't include element type (VoiceOver announces automatically)
- Images have accessibilityLabel or marked as decorative (.accessibilityHidden(true))
- Icon-only buttons have descriptive labels
- Labels update when state changes ("Play" -> "Pause")
Check traits:
- .button for tappable non-Button elements
- .header for section headers
- .link for navigation links
- .adjustable for sliders, steppers, pickers
- .selected for current selection
Dynamic Type
Check text scaling:
- Text uses UIFont.preferredFont(forTextStyle:) or SwiftUI .font(.body/.title/etc.)
- Custom fonts use UIFontMetrics for scaling
- No hardcoded font sizes that won't scale
- Layouts don't clip at large accessibility sizes
- @ScaledMetric for custom spacing in SwiftUI
Color Accessibility
Check contrast and color usage:
- Text meets 4.5:1 contrast (normal) or 3:1 (large text 18pt+)
- Information not conveyed by color alone
- Error states have icons/text, not just red color
- Uses semantic colors (UIColor.label, .systemBackground)
- Supports both light and dark mode
Touch Targets
Check target sizes:
- All interactive elements are minimum 44x44 points
- Adequate spacing between targets
- contentEdgeInsets extends small visuals
Motion
Check animation handling:
- Respects UIAccessibility.isReduceMotionEnabled
- Provides reduced-motion alternatives
Output
Flag issues as:
- CRITICAL: Blocks users (cite WCAG criterion)
- HIGH/MEDIUM/LOW: With code fix examples
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 7d ago First seen · 63 lines · 0 tokens per session scan A a30ae8965c32
ios-accessibility-validator is a cursor rule published in the GitHub repository gygantskiyMatilyock/ios-developer-agents (30 stars, last pushed 8mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 443 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other cursor rules, from other repositories
mobile
Rules for mobile development (Swift/iOS, Kotlin Android, React Native, Flutter).
html-css
Rules for HTML, CSS, and styling files.
nextjs
Rules for Next.js projects (App Router and Pages Router).
react
Rules for React component files (any framework).
svelte
Rules for Svelte / SvelteKit components.
vue
Rules for Vue (2 and 3) single-file components.