Accessibility
Dotwear does not replace platform controls. It styles them. A Dotwear button in SwiftUI is still a
Button, a switch is still a Toggle, and a text field is still a TextField.
What the platform gives those controls for free keeps working:
- VoiceOver names, roles and states (for example “Switch, on”)
- Dynamic Type for labels
- Full Keyboard Access and focus rings
- Voice Control, text input and IME composition
What we check
- Automated audits of the iOS demo app (
performAccessibilityAudit) on every change. - Pixel-exact rendering tests for every icon on every platform.
Your part
- Give icons a label when they carry meaning on their own (how).
- Give icon-only buttons an accessibility label.
- Keep a visible label for text fields; a placeholder is not a label.
- When you customize colors, check contrast again.