-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
fix(material/progress-bar): Support ChromeVox #22166
fix(material/progress-bar): Support ChromeVox #22166
Conversation
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.
@jamOne- thanks for the PR, I tested this locally and confirmed that this is an issue on ChromeVox and that this change fixes it.
Could you also make a similar update to the mdc-based progress-bar in the material-experimental directory?
ae8e5b3
to
0844d64
Compare
Applied the fix to |
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.
Should we have a unit test for this or at least a comment with some context?
Fair point, I'll add comments. |
It would basically be |
Added the tests, LMK if I could write them better |
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
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
Along the same lines as angular#22166. Marks all the root nodes in the progress spinner as `aria-hidden` in order to work around an issue in ChromeVox.
* fix(material/progress-bar): Support ChromeVox * refactor(material/progress-bar): wrap elements with aria-hidden div * fix(material-experimental/mdc-progress-bar): Support ChromeVox #22165 * test(material/progress-bar): add ChromeVox support tests * test(material-experimental/mdc-progress-bar): add ChromeVox support test (cherry picked from commit 5b7b03e)
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. |
ChromeVox couldn't read a progress bar element without
aria-hidden
attributes set on child elements ofmat-progress-bar
.Fixes #22165.