Add keyboard controls to table row handles#8689
Open
DNin01 wants to merge 1 commit intoScratchAddons:masterfrom
Open
Add keyboard controls to table row handles#8689DNin01 wants to merge 1 commit intoScratchAddons:masterfrom
DNin01 wants to merge 1 commit intoScratchAddons:masterfrom
Conversation
- Table rows can now be reordered using the arrow keys, not just a mouse - Table row handles are announced as spin buttons to screen readers - Table row handles are now hidden on single-row tables
Member
|
I was thinking of replacing the handle with up and down arrows and moving the X to the top right but this also works. |
Samq64
approved these changes
Nov 27, 2025
Member
Author
The reason I tried out a spin button is so that the UI wouldn't have to change depending on whether you were using a keyboard or a mouse—it was a creative solution. |
Member
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

Resolves (from #8577):
Changes
Before, the handles used to reorder table rows in addon settings only responded to mouse input. Now, you can focus the handle and press the up and down arrow keys to move the table row. When using a screen reader, the handle is supposed to work like a spin button, which also allows items to be moved incrementally.
Reason for changes
For better accessibility.
I don't know if this is usually how moving items works, but it'll do.
Tests
Changes tested using Windows Narrator and Edge.