Add global shortcuts to improve keyboard navigation #10551
Closed
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.
See microsoft/pxt-microbit#6151. We've moved to an approach where Ctrl-U shows an overlay with navigable regions labelled by number in an effort to move forward with this after some recent discussion.
See accompanying change in
pxt-microbit
which ensures that global shortcuts are also enabled when focus is inside the simulator iframe (e.g., simulator buttons, etc).Link to demo. Please note that 'accessible blocks' need to be set to 'on' in the settings menu. Use Ctrl-U to show the navigation overlay, and then a number to move to that region. Ctrl-U is a shortcut to view the page source code which feels like a seldom used shortcut and one we can safely override.
Issues to fix:
@microbit-matt-hillsdon