Additional keyboard shortcuts for the navigateRegions component #8005
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR adds additional keyboard shortcuts to navigate through the
navigateRegions
sections. See the related issue #3218 where testing with different keyboard layouts proved the current shortcutCtrl+backtick
is not usable with all keyboard layouts. At the very least, the backtick key is not available on the Italian, Dutch, Finnish, French, and likely more keyboard layouts.The additional shortcuts are:
shift+alt+n
to go to the next regionshift+alt+p
to go to the previous regionI've tested this on the following browsers:
and the new shortcuts seem to work without any conflict. Pending some more testing from the a11y team and anyone willing to test 🙂Some testing on a GNU-Linux distro would be nice.
If / when merged, I'd suggest to move #3218 to the accessibility Project instead of closing it, as the original idea of providing a mechanism to re-map and customize the keyboard shortcuts could be a nice improvement for the future.