Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moving blocks via keyboard: screen readers don't notify operation done #61168

Open
talksina opened this issue Apr 26, 2024 · 1 comment
Open
Labels
[Focus] Accessibility (a11y) Changes that impact accessibility and need corresponding review (e.g. markup changes). [Package] Editor /packages/editor

Comments

@talksina
Copy link

Short description:

When using a screen reader, it's not possible to know if blocks have moved up and down, using Gutenberg's keyboard shortcuts ctrl+alt+shift+t -move up-, and ctrl+alt+shift+y -move down-

When it works

If a block is moved up and down using arrows, the "move up" and "move down" buttons on blocks toolbar, screen reader correctly announces "block moved from position x to position y".
But to reach the toolbar I'm forced to move the focus away from editing mode, with alt+f10 then navigate to arrows, then move back to editor.

Steps to reproduce

  1. open a blank post or page, then add some blocks
  2. focus on the second block. Both navigation and editing mode are affected by the issue.
  3. try to press ctrl+alt+shift+t to move the block upwards one position. Then ctrl+alt+shift+y to move it back in its original place.
  4. Screen reader - tried Jaws, VoiceOver and NVDA- give no feedback about the block's movement.

Expected results:

When pressing ctrl+alt+shift+t or ctrl+alt+shift+y on a block to move it, both in navigation and editing mode, screen reader should announce if the block has moved and where, like it does when I use the arrows.

Current results

When pressing ctrl+alt+shift+t or ctrl+alt+shift+y on a block to move it, both in navigation and editing mode, screen reader does not announce if the block has moved and where. It stays silent, and I'm forced to double-check whether or not the blocks have been moved.

WordPress and Gutenberg versions

It was present in 17.x branch and persists in latest 18.2.0 build. WordPress 6.5.2 is used.

@t-hamano t-hamano added the [Focus] Accessibility (a11y) Changes that impact accessibility and need corresponding review (e.g. markup changes). label Apr 27, 2024
@jordesign jordesign added the [Package] Editor /packages/editor label Apr 29, 2024
@talksina
Copy link
Author

talksina commented May 2, 2024

Update:
when you are in navigation mode, the screen reader announces the block line. That is: if you move a block from row 6 to 5 with ctrl+alt+shift+t or from 5 to 6 with ctrl+alt+shift+y, it says "block: group, row 6" for example. But does not say that the block has moved from a row to another, as it does when you use the arrows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Focus] Accessibility (a11y) Changes that impact accessibility and need corresponding review (e.g. markup changes). [Package] Editor /packages/editor
Projects
None yet
Development

No branches or pull requests

3 participants