swiftui-accessibility-expert

Implement SwiftUI accessibility modifiers and manage the accessibility tree.

1|Updated Dec 8, 2025
One-click install
npx skills add https://github.com/adamayoung/popcorn --skill swiftui-accessibility-expert
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: swiftui-accessibility-expert
Source: https://github.com/adamayoung/popcorn/tree/main/.claude/skills/swiftui-accessibility-expert
Command: npx skills add https://github.com/adamayoung/popcorn --skill swiftui-accessibility-expert

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the complexity of implementing robust accessibility in SwiftUI, ensuring your application is fully usable by individuals relying on assistive technologies like VoiceOver, Switch Control, and Voice Control.

Core Features & Use Cases

  • Accessibility Tree Management: Expert guidance on grouping, labeling, and ordering elements to create a logical navigation flow.
  • Assistive Technology Support: Detailed patterns for traits, actions, and focus management to ensure custom controls are fully interactive.
  • Adaptive UI: Best practices for Dynamic Type, motion preferences, and contrast requirements to support diverse user needs across iOS, macOS, and visionOS.

Quick Start

Use the swiftui-accessibility-expert skill to audit my current view hierarchy and suggest improvements for VoiceOver navigation and grouping.

Frequently Asked Questions about swiftui-accessibility-expert

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

FAQPage Schema
How do I manage the accessibility tree for VoiceOver navigation in SwiftUI?

Group, label, and order SwiftUI elements to create a logical navigation flow for assistive technologies. Proper accessibility tree management ensures VoiceOver users traverse your view hierarchy with predictable, structured navigation.

What's the best way to implement Dynamic Type and adaptive UI requirements in SwiftUI?

Implement adaptive UI in SwiftUI by applying Dynamic Type scaling, respecting motion preferences, and meeting contrast requirements. These adjustments ensure your interface adapts to diverse user needs across iOS, macOS, and visionOS platforms.

How do I add accessibility traits and actions to custom SwiftUI controls?

Add accessibility traits and actions to custom SwiftUI controls to make them fully interactive with assistive technologies. This involves assigning specific traits and defining custom actions that users can invoke via Switch Control or Voice Control.

Does this SwiftUI accessibility guidance satisfy WCAG compliance standards?

Yes, this guidance satisfies WCAG compliance standards by aligning with Apple's Human Interface Guidelines for inclusive software development. It covers technical implementations for labels, traits, and adaptive UI required for robust accessibility.

How do I handle focus management for assistive technologies in SwiftUI?

Handle focus management in SwiftUI by controlling which element receives focus when assistive technologies like VoiceOver are active. This ensures users navigate through your app's interface logically and reach the most relevant content automatically.