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.
Improves the mapper tool UX to fix #61 and make it easier to use:
input
element so we automatically get focus handling and indicationapplication
role with "Input Capture"aria-roledescription
. This indicates that this is not a normal text input and that keyboard events will be captured and discardedaria-live
andaria-atomic
to read out the hotkey string when it changesaria-labelledby
andaria-describedby
for semantic label & description associations to help screen reader users get orientedautofocus
so the input is focused on load. This is usually to be avoided, but in this case there is only one reasonable place for focus to land on the page and it is expected that the page will 'work' when loaded. In addition, the label & description associations provide context to prevent this from being disorienting.clipboard-copy
element (which has thebutton
role already)/demo
and adds an index page to improve the discoverability of the toolScreen.Recording.2023-09-08.at.1.33.23.PM.mov
A few remaining known issues for future work: