swift-accessibility-skill

Analyze iOS and macOS UI code to implement accessible interfaces.

Updated Apr 6, 2026
One-click install
npx skills add https://github.com/jperezdelreal/GymBro --skill swift-accessibility-skill-jperezdelreal
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: swift-accessibility-skill
Source: https://github.com/jperezdelreal/GymBro/tree/main/.squad/skills/ios/swift-accessibility-skill
Command: npx skills add https://github.com/jperezdelreal/GymBro --skill swift-accessibility-skill-jperezdelreal

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Apply platform accessibility best practices to SwiftUI, UIKit, and AppKit across all supported Apple platforms. This skill is an essential companion to any SwiftUI, UIKit, or AppKit skill and should be used whenever building or reviewing UI to ensure accessibility is built in from the start.

Core Features & Use Cases

  • Comprehensive accessibility guidelines that cover icon/button labeling, voiceover narration, dynamic type support, motion reduction, color contrast, and UI element roles for SwiftUI, UIKit, and AppKit.
  • Guidance for creating accessible reusable components, auditing existing views, and performing accessibility reviews during code refactors and feature additions.
  • Use Case: you are reviewing a SwiftUI screen and need to add precise labels, hints, and traits to all interactive controls to satisfy accessibility standards.

Quick Start

Audit a SwiftUI view and add appropriate accessibility modifiers, labels, and traits to ensure assistive technology compatibility.

Frequently Asked Questions about swift-accessibility-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add VoiceOver labels and traits to SwiftUI controls?▼

To add VoiceOver labels and traits to SwiftUI controls, apply native accessibility modifiers like accessibilityLabel and accessibilityAddTraits to interactive elements. This ensures assistive technology correctly announces their purpose and behavior.

What is the best way to audit existing UIKit views for accessibility compliance?▼

Auditing UIKit views for accessibility compliance involves reviewing UI element roles, color contrast, and Dynamic Type support. Enforce semantic traits and native environment values to ensure inclusive experiences across iOS and macOS.

Does this accessibility guidance support both UIKit and AppKit platforms?▼

Yes, this accessibility guidance supports UIKit and AppKit alongside SwiftUI. It enforces the use of native accessibility modifiers, environment values, and semantic traits to ensure consistent inclusive experiences across all supported Apple platforms.

How do I implement Dynamic Type and Reduced Motion in iOS apps?▼

Implement Dynamic Type and Reduced Motion in iOS apps by utilizing native environment values and accessibility modifiers. This ensures your user interface adapts correctly to user-specific text sizes and motion preferences.

When do I need to apply accessibility modifiers during a Swift UI refactor?▼

You need to apply accessibility modifiers during a Swift UI refactor when adding features or reviewing screens. Adding precise labels, hints, and traits to interactive controls ensures assistive technology compatibility and satisfies accessibility standards.