Установка
SKILL.md
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.
Вставить в README
Ссылка на карточку для вашего README — без картинок и счётчиков.
[DarkPlay: ios-accessibility](https://darkplay.ru/ai/skills/ios-accessibility-agent-skill-ios-accessibility)
Похожие скиллы и другие разделы каталога
Та же категория — сравните, что ещё подойдёт под вашу задачу.
edge-to-edgeandroid · Навык для миграции приложения Jetpack Compose на адаптивный режим edge-to-edge.
xcodebuildmcpgetsentry · Официальный навык для XcodeBuildMCP. Используется при работе с…
agent-devicecallstack · Автоматизирует работу с приложениями на платформах Apple (iOS, tvOS, macOS) и…
expo-dev-clientexpo · Сборка и раздача dev-клиентов Expo локально или через TestFlight
swiftui-performance-auditDimillian · Аудит и оптимизация производительности SwiftUI: рендеринг, скроллинг, CPU/память.
swiftui-expert-skillAvdLee · Практики SwiftUI для iOS/macOS: состояние, @Observable, композиция, производительность.
react-native-testingcallstack · Тесты компонентов React Native на RNTL v13–v14: рендер, запросы, матчеры, userEvent…
argent-android-emulator-setupsoftware-mansion · Настройка и подключение к эмулятору Android через MCP-инструменты argent.
flutter-apply-architecture-best-practicesflutter · Архитектура Flutter-приложения по слоям (UI, логика, данные) для новых проектов и…
serve-simevanbacon · Управление и стриминг симулятора iOS, iPad или Apple Watch через npx serve-sim: превью…Самые востребованные скиллов раздела по установкам и звёздам.
find-skillsvercel-labs · Помогает находить и устанавливать навыки агентов по запросам вроде «как сделать X»…
grill-memattpocock · Настойчивое интервью для доработки плана или дизайна.
hyperframesheygen-com · Обязательная точка входа для любых задач по видео, анимации и motion-графике в…
hyperframes-cliheygen-com · Цикл разработки HyperFrames CLI: init, add, render, preview, publish и другие команды.
agent-browservercel-labs · CLI для автоматизации браузера для ИИ-агентов: навигация по страницам, заполнение форм…
media-useheygen-com · Agent Media OS: единый навык для медиа в HyperFrames — BGM, SFX, изображения, голос, LUT.
hyperframes-registryheygen-com · Установка и подключение блоков реестра в композиции HyperFrames через add и catalog.
grill-with-docsmattpocock · Настойчивое интервью для доработки плана или дизайна, попутно создающее документацию (ADR…
improve-codebase-architecturemattpocock · Поиск в кодовой базе возможностей для углубления, визуальный HTML-отчёт о них и детальный…
tddmattpocock · Разработка через тестирование (TDD): red-green-refactor и интеграционные тесты.Соседние разделы каталога: возможно, нужный инструмент живёт там.
A11y Architectaffaan-m · Архитектор доступности, специализирующийся на соответствии WCAG 2.2 для веба и нативных…
Flutter Revieweraffaan-m · Ревьюер кода Flutter и Dart: виджеты, управление состоянием, идиомы и архитектура.
React Revieweraffaan-m · Ревьюер React/JSX: хуки, производительность, границы компонентов и безопасность.
agentic-bundle-aas-accessibility-inclusive-uxsickn33 · Установите набор редакционных навыков "AAS Accessibility & Inclusive UX" для Claude Code.
liquid-skillsanthropics · Основы языка Liquid, стандарты кодирования CSS/JS/HTML и паттерны доступности WCAG для…
accessibility-compliancewshobson · Аудит доступности по WCAG, проверка соответствия, тестирование UI для скринридеров…
ui-designwshobson · Комплексный плагин UI/UX-дизайна для мобильных (iOS, Android, React Native) и…
designanthropics · Ускорение дизайн-процессов: критика, управление дизайн-системой, UX-тексты, аудит…
Accessibility Expertgithub · Экспертный помощник по веб-доступности (WCAG 2.1/2.2), инклюзивному UX и тестированию…
Markdown Accessibility Assistantgithub · Улучшает доступность markdown-файлов с использованием пяти лучших практик GitHub.Лучшие ИИ-инструменты для программирования
Подборка нейросетей и ИИ-ассистентов для разработки и автоматизации кода. Сервисы, которые ускоряют написание, ревью и отладку, экономят часы рутины и снижают порог входа в сложные
GenAPIGenapi
Notepad++ AINotepad-plus-plus
Creatium MaxCremax
Emacs AIGnu
KiteKite
Amazon Q DeveloperAmazonЛучшие ИИ-инструменты для музыки, голоса и озвучки
Подборка нейросетей для генерации музыки, голоса и озвучки. Сервисы, которые помогают создавать треки, синтезировать речь и чистить аудио без студии и дикторов. Подходит для видеом
BigspeakBigspeak
WavToolWavtool
LoquoraLoquora
WunjoWunjo
NexaraNexara
pitch coachApple
audio-transcription.ruAudio-transcription
SoundfulSoundfulЛучшие ИИ-инструменты для генерации видео
Подборка нейросетей для генерации и монтажа видео. Инструменты, которые превращают текст в готовые ролики, экономят часы на съемках и постпродакшне. Подходит для SMM-специалистов,
VEED.IOVeed
MootionMootion
Sora (OpenAI)OpenAI
viralpulse.appViralpulse
Viral Maker AIViral-maker