What problem does it solve?
This Skill ensures your SwiftUI applications are usable by everyone, regardless of ability, by providing concrete implementations for accessibility features like VoiceOver, Dynamic Type, and Reduce Motion.
Core Features & Use Cases
- VoiceOver Support: Implement accessible labels, custom actions, rotor entries, and state change announcements for macOS and iOS.
- Dynamic Type: Ensure text scales correctly using
@ScaledMetric and adaptive layouts.
- Motion & Transparency: Handle
Reduce Motion and Reduce Transparency settings gracefully, especially with visual effects.
- Keyboard Navigation: Enable full control via keyboard using
FocusState and onKeyPress.
- Color Contrast: Detect and adapt to high contrast modes and provide color-blind safe indicators.
- Testing Checklist: A comprehensive guide to ensure all accessibility aspects are covered.
Quick Start
Apply the adaptiveGlass modifier to a view to ensure it falls back to a solid background when Reduce Transparency is enabled.