/swift-accessibility-pro:swift-accessibility-profrom swift-accessibility-pro
Audits and fixes SwiftUI/UIKit app accessibility: VoiceOver labels, Dynamic Type, color contrast, Reduce Motion, and common WCAG violations.
Ships in swift-accessibility-pro. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Make apps usable by everyone. Treat accessibility as a requirement, not an add-on.
Trigger: /swift-accessibility-pro.
Icon-only controls are unlabeled to VoiceOver by default.
❌
Button { like() } label: { Image(systemName: "heart") }
✅
Button { like() } label: { Image(systemName: "heart") }
.accessibilityLabel("Like")
Combine decorative + meaningful elements:
HStack { Image(systemName: "star.fill"); Text("4.8") }
.accessibilityElement(children: .combine)
.accessibilityLabel("Rating 4.8 out of 5")
Hide purely decorative images: .accessibilityHidden(true).
Tell VoiceOver what an element is.
✅
Text("Settings").accessibilityAddTraits(.isHeader)
Image("chart").accessibilityLabel("Sales up 12%").accessibilityRemoveTraits(.isImage)
❌ Fixed size — won't scale
Text("Hello").font(.system(size: 17))
✅ Semantic style — scales
Text("Hello").font(.body)
For custom fonts use .font(.custom("Inter", size: 17, relativeTo: .body)). Test at the
largest accessibility sizes; use ViewThatFits/wrapping instead of truncation.
@Environment(\.colorSchemeContrast).❌
Circle().fill(isOnline ? .green : .red) // invisible to color-blind users
✅
Label(isOnline ? "Online" : "Offline",
systemImage: isOnline ? "checkmark.circle" : "xmark.circle")
@Environment(\.accessibilityReduceMotion) private var reduceMotion
// ...
.animation(reduceMotion ? nil : .spring, value: state)
.accessibilityLabel..isHeader trait.Per issue: file:line, the barrier, before/after fix. Lead with blockers (unlabeled controls, non-scaling text) before enhancements.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub laxrajpurohit/swift-skills-pro --plugin swift-accessibility-pro