-
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/chips): remove tab-index attribute from mat-chip host #29436
fix(material/chips): remove tab-index attribute from mat-chip host #29436
Conversation
added role presentation to mat-chip host so that mobile SR users do not have to double swipe to traverse chip fixes b/286286473
Deployed dev-app for 48f808c to: https://ng-dev-previews-comp--pr-angular-components-29436-dev-zgl7safa.web.app Note: As new commits are pushed to this pull request, this link is updated after the preview is rebuilt. |
e61b849
to
4d4b33b
Compare
add aria-hidden to host mat-chip so Talkback ignores element fixes b/286286473
remove tabindex fixes b/286286473
update api signature fixes b/286286473
fix lint issue fixes b/286286473
remove aria hidden fixes b/286286473
…29436) * fix(material/chips): added role presentation to mat-chip host added role presentation to mat-chip host so that mobile SR users do not have to double swipe to traverse chip fixes b/286286473 * fix(material/chips): add aria-hidden add aria-hidden to host mat-chip so Talkback ignores element fixes b/286286473 * fix(material/chips): remove tabindex remove tabindex fixes b/286286473 * fix(material/chips): update api signature update api signature fixes b/286286473 * fix(material/chips): fix lint issue fix lint issue fixes b/286286473 * fix(material/chips): remove aria hidden remove aria hidden fixes b/286286473 (cherry picked from commit 5403b2b)
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. |
remove tabindex attribute from mat-chip as this makes the mat-chip element focusable for mobile screen readers (see YAQS link below). Having tabindex=-1 causes mobile screen readers to focus on the chip twice. removing makes it to where user only needs to swipe once to get the content of the chip.
https://yaqs.corp.google.com/eng/q/4811580888973312?ved=0CAAQ_rQKahcKEwiw_YGl9a6HAxUAAAAAHQAAAAAQHA
Before: https://screencast.googleplex.com/cast/NjAzNzgyNzIyMDQwNjI3MnwyMDVjMjkyZi02Mw
After: https://screencast.googleplex.com/cast/NTQxMzQ2MzM5NTQwMTcyOHw3NThhZjdlNi1mOQ
fixes b/286286473