Block Mover: Add the keyboard shortcut to the buttons' spoken description - #81380
Conversation
|
Size Change: +52 B (0%) Total Size: 7.65 MB 📦 View Changed
|
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the Unlinked AccountsThe following contributors have not linked their GitHub and WordPress.org accounts: @porg. Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases. If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
Code looks good. Does the project include shortcuts in spoken messages anywhere else? Mostly want to know if we're establishing a new pattern? |
Shortcuts are announced in a few places already like menu items in block options (from block toolbar) and it seems |
…tion (#81380) Unlinked contributors: porg. Co-authored-by: ntsekouras <ntsekouras@git.wordpress.org> Co-authored-by: t-hamano <wildworks@git.wordpress.org> Co-authored-by: Mamaduka <mamaduka@git.wordpress.org> Co-authored-by: joedolson <joedolson@git.wordpress.org>

What?
Resolves: #51647
For a11y reasons it was suggested to also add the shortcut to the block mover's spoken description.
This PR does that.
I didn't wrap the tooltip shortcut in parentheses as also suggested in the comment, because I didn't find any other tooltip shortcut in the editor that uses them. I think this should be discussed separately if needed and is not limited to the block mover tooltip.
Testing Instructions
Move uporMove downbutton in the block toolbar with a screen reader (e.g. VoiceOver).Screenshots or screencast
Screen.Recording.2026-08-10.at.1.25.36.PM.mov
Use of AI Tools
Generated with Fable 5 and adjusted/reviewed manually.