You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(material/select): fix VoiceOver confused by ARIA semantics
For Select component, fix issues where VoiceOver was confused by the
ARIA semantics of the combobox. Fix multiple behaviors:
- Fix VoiceOver focus ring stuck on the combobox while navigating
options.
- Fix VoiceOver would sometimes reading option as a TextNode and not
communicating the selected state and position in set.
- Fix VoiceOver "flickering" behavior where VoiceOver would display one
announcement then quickly change to another annoucement.
Also fix the same issues for Autocomplete component.
Implement fix by doing two things.
First, move the aria-owns reference to the overlay from the child of the
combobox to the parent modal of the comobobx. Having an aria-owns
reference inside the combobox element seemed to confuse VoiceOver.
Second, apply `aria-hidden="true"` to the ripple element and pseudo
checkboxes on mat-option. These DOM nodes are only used for visual
purposes, so it is most appropriate to remove them from the
accessibility tree. This seemed to make VoiceOver's behavior more
consistent.
Fix#23202, #19798
0 commit comments