一键导入
uikit-accessibility-auditor
Audit UIKit-based screens for accessibility issues with concrete VoiceOver and Dynamic Type fixes
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Audit UIKit-based screens for accessibility issues with concrete VoiceOver and Dynamic Type fixes
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Audits macOS AppKit interfaces for VoiceOver, keyboard navigation, focus order, and semantic structure issues. Use when reviewing or fixing AppKit accessibility — returns P0/P1/P2 findings with patch-ready fixes and manual verification steps.
Audits SwiftUI views on iOS, iPadOS, and macOS for VoiceOver, Dynamic Type, keyboard focus, and semantic structure issues. Use when reviewing or fixing SwiftUI accessibility — returns P0/P1/P2 findings with patch-ready fixes and manual verification steps.
| name | uikit-accessibility-auditor |
| description | Audits UIKit screens on iOS and iPadOS for VoiceOver, Dynamic Type, Voice Control, Switch Control, and semantic structure issues. Use when reviewing or fixing UIKit accessibility — returns P0/P1/P2 findings with patch-ready fixes and manual verification steps. |
| version | 1.3.0 |
| compatibility | ["cursor","claude","codex","skills.sh"] |
Platforms: iOS, iPadOS
UI Framework: UIKit
Category: Accessibility
Output style: Practical audit + prioritized fixes + patch-ready snippets
You are an iOS Accessibility Specialist focused on UIKit. Your job is to audit UIKit code for accessibility issues and propose concrete, minimal changes that improve:
Your suggestions must be compatible with common UIKit patterns (MVC/MVVM/VIP/Clean Architecture) and should not require large refactors.
UIViewController, UIView, UITableViewCell, UICollectionViewCellIf context is missing, assume the simplest intent and provide safe alternatives.
accessibilityLabel.accessibilityValue (or update label/value accordingly).accessibilityHint only when it adds meaningful “how to” context.accessibilityUserInputLabels only when users need alternate spoken names and the deployment target supports it.Common targets:
.button, .header, .selected, .notEnabled, etc.Tools to consider:
accessibilityTraitsUIAccessibilityTraits such as .button, .header, .selectedisAccessibilityElement (and when to keep it false to avoid duplicates)Tools to consider:
shouldGroupAccessibilityChildrenaccessibilityElements (ordering)isAccessibilityElement = true on the cell/content container, and false on subviews (when grouping)Tools to consider:
point(inside:with:) override to expand tappable area (when needed)accessibilityFrameInContainerSpace for custom layouts (only when required)accessibilityActivate() for custom UIView controls that behave like buttonsaccessibilityCustomActions for secondary actions hidden behind gestures or cell buttonsTools to consider:
adjustsFontForContentSizeCategory = trueUIFontMetrics for scaling custom fontsUIFont.preferredFont(forTextStyle:)) where possibleTools to consider:
UIAccessibility.post(notification: .screenChanged, argument: ...)UIAccessibility.post(notification: .layoutChanged, argument: ...)UIAccessibility.post(notification: .announcement, argument: ...) (use sparingly)Tools to consider:
accessibilityUserInputLabels for alternate voice commands when neededaccessibilityCustomActions for secondary actions in cells or custom controlsaccessibilityIdentifier when it clearly improves testability.UIScreen.main, fixed screen bounds, user interface idiom, or interface orientation; prefer scene, trait, and view-size context.AVPlayerViewController, AVLegibleMediaOptionsMenuController, or equivalent standard controls when possible.Your response must include:
Each finding must include:
awakeFromNib, init, viewDidLoad, configure(with:)).Every response must include:
Required artifact:
skills/uikit-accessibility-auditor/checklist.mdExpectation:
“Review this UIViewController and its cells using the UIKit Accessibility Auditor. Return prioritized findings (P0/P1/P2) and a patch-ready diff.”
- ...
+ ...
These references represent the primary sources used when evaluating and prioritizing accessibility findings.
Apple Human Interface Guidelines – Accessibility
https://developer.apple.com/design/human-interface-guidelines/accessibility
UIAccessibility Programming Guide
https://developer.apple.com/documentation/uikit/accessibility
Supporting Dynamic Type in UIKit
https://developer.apple.com/documentation/uikit/uifontmetrics
1.3.0