-
Notifications
You must be signed in to change notification settings - Fork 6.8k
fix(material/autocomplete): options inside groups not read out with VoiceOver #20819
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
ef32f5d
to
0c2350b
Compare
I got confirmation from the original reporter of the issue that, as your observed, a recent update to either Chrome or macOS fixed the underlying issue for Chrome + VoiceOver. So, now the question becomes: do we break normal option group reading for Chrome to get options to do a workaround for Safari? I'm leaning slightly towards just leaving it as is and considering it a Safari issue. |
Without any data whatsoever, I was under the impression that most VoiceOver users are using it together with Safari which is still going to be broken. What if we limited the behavior from this PR to Safari with a TODO to eventually remove it, if it gets fixed in VoiceOver? |
Yeah, that seems reasonable, however unpalatable browser detection may be. |
0c2350b
to
db17a75
Compare
Changed to only use the workaround on Safari. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…oiceOver We're currently hitting a bug with `mat-autocomplete` that prevents options inside of `mat-optgroup` from being read out by VoiceOver on Safari. These changes implement an alternate accessibility pattern that only applies to options inside an autocomplete since the work correctly in `mat-select`.
db17a75
to
bb4f39a
Compare
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
We're currently hitting a bug with
mat-autocomplete
that prevents options inside ofmat-optgroup
from being read out by VoiceOver on Safari. These changes implement an alternate accessibility pattern that only applies to options inside an autocomplete since the work correctly inmat-select
.