Skip to content

chore: add accessibility to UI components#4

Merged
minghinmatthewlam merged 1 commit intomainfrom
chore/accessibility-components
Mar 9, 2026
Merged

chore: add accessibility to UI components#4
minghinmatthewlam merged 1 commit intomainfrom
chore/accessibility-components

Conversation

@minghinmatthewlam
Copy link
Copy Markdown
Owner

Summary

  • Add .accessibilityHidden(true) to decorative SF Symbol icons (checkmark in FocusChecklistRow, chevron in FocusTagPickerView)
  • Add .accessibilityElement(children: .combine) and .accessibilityLabel to FocusChecklistRow so VoiceOver reads title and completion state as one element
  • Add .accessibilityLabel and .accessibilityHint to the Menu in FocusTagPickerView
  • Add .accessibilityElement(children: .ignore), .accessibilityLabel, and .accessibilityValue to ProgressRing so VoiceOver announces progress percentage
  • Reviewed PrimaryButtonStyle, FocusCardButtonStyle, and ShareSheet — no changes needed (ButtonStyles have no SF Symbols; ShareSheet is a UIKit wrapper)

Test plan

  • Project builds successfully on iOS Simulator (iPhone 16)
  • Enable VoiceOver on simulator and verify each component is announced correctly

Add VoiceOver support to FocusChecklistRow, FocusTagPickerView, and
ProgressRing. Decorative SF Symbol icons are hidden from assistive
technology, interactive elements have labels/hints, and the progress
ring exposes its value as a percentage.
@minghinmatthewlam minghinmatthewlam merged commit 9c64485 into main Mar 9, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant