Skip to content

Conversation

jsuarezruiz
Copy link
Contributor

Description of Change

This PR include some extension methods to use UIAccessibility.PostNotification calls to notify VoiceOver when picker popups appear and close for Picker, DatePicker, and TimePicker.

  • Open Picker: Posts a VoiceOver notification when an input view becomes visible.
  • Close Picker: Posts a VoiceOver notification to return focus to the original control.

Based on the issue description, the picker should:

  • When the Picker is opened, UIAccessibility.PostNotification(ScreenChanged, inputView) is called with the UIPickerView, VoiceOver focuses on the picker control.
  • Once focused on the UIPickerView, VoiceOver users can naturally navigate through the individual items. This try to follow iOS accessibility patterns where you first focus on the container control, then navigate within it.
  • When closing the picker, restores the VoiceOver focus.

Draft PR until include some related tests.

Issues Fixed

Fixes #30746

@jsuarezruiz jsuarezruiz added platform/ios area-controls-picker Picker t/a11y Relates to accessibility labels Oct 8, 2025
@jsuarezruiz jsuarezruiz changed the title Apply fixes [iOS] Fix VoiceOver focus not shifting to Picker/DatePicker/TimePicker popups Oct 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-controls-picker Picker platform/ios t/a11y Relates to accessibility

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Voiceover does not automatically shift focus to the "Category" popup when it opens.: A11y_Developer balance version .NET 10_Project_ScreenReader

1 participant