forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1873048 - Update AccessibilityUtils to include toolbar's scrollbu…
…ttons in the isKeyboardFocusableBrowserToolbarButton check. r=Jamie,reusable-components-reviewers,tgiles Include `scrollbutton-down` and `scrollbutton-up` toolbarbuttons in the `isKeyboardFocusableBrowserToolbarButton` check to avoid failing [isKeyboardFocusable a11y_check](https://searchfox.org/mozilla-central/source/testing/mochitest/tests/SimpleTest/AccessibilityUtils.js#450) for them. These toolbar buttons are not expected to be focusable with keyboard because the keyboard-only user would actually scroll tabs left/right in the toolbar while trying to navigate to them which would make them redundant in the focus order. Depends on D197335 Differential Revision: https://phabricator.services.mozilla.com/D197713
- Loading branch information
1 parent
6894f9a
commit 2da17be
Showing
3 changed files
with
16 additions
and
7 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