mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-30 01:53:10 +00:00
Extract dashboard cards into focused components (queues, upcoming plans, leadership status, recently visited, choropleth legend), compile the roadmap for outcome-oriented tracking, document the customer job and improve-app journey, and tighten roadmap skills with decision-quality gates.
1.3 KiB
1.3 KiB
iOS Accessibility
VoiceOver Support
Every interactive element needs accessibility labels:
// Accessible label (what it is)
Image(systemName: "heart.fill")
.accessibilityLabel("Favorite")
// Accessible value (current state)
Slider(value: $volume)
.accessibilityLabel("Volume")
.accessibilityValue("\(Int(volume * 100))%")
// Accessible hint (what it does)
Button("Share") { share() }
.accessibilityHint("Shares this item with others")
// Group related elements
HStack {
Image(systemName: "person")
Text("John Doe")
}
.accessibilityElement(children: .combine)
Dynamic Type
Support user font size preferences:
// Use semantic text styles (automatically scales)
Text("Content")
.font(.body)
// For custom fonts, scale with Dynamic Type
@ScaledMetric var customSize: CGFloat = 16
Text("Custom")
.font(.system(size: customSize))
High Contrast Mode
@Environment(\.colorSchemeContrast) var contrast
var textColor: Color {
contrast == .increased ? .primary : .secondary
}
Accessibility Checklist
- All images have accessibility labels
- Touch targets are minimum 44×44pt
- Text scales with Dynamic Type
- Color contrast meets WCAG standards
- Motion can be reduced
- VoiceOver navigation is logical
- Don't rely solely on color to convey meaning