-
Notifications
You must be signed in to change notification settings - Fork 224
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make all rows on gr-change-list tabbable
Previously the screenreader readout was done by removing all rows except the selected row from the tab flow by setting tabindex = -1, but this broke tabbing through the other non-selected rows. This method was not breaking tab flow in the gr-file-list because the rows are not using shadow DOMs. see WICG/webcomponents#774 This change restores all rows to the tab flow by always setting tabindex to 0, and maintains the screenreader readout by focusing the row when it gets selected. Verified with VoiceOver on Mac OS. Release-Notes: skip Google-Bug-Id: b/235477335 Change-Id: I48ef40f18ce061e50ef71bd4df0cf311a25e683b
- Loading branch information
1 parent
465dbd2
commit 8c8ae3a
Showing
3 changed files
with
20 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters