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

List view: Focusing a block causes keyboard misbehaviours #50019

Closed
hanneslsm opened this issue Apr 23, 2023 · 3 comments
Closed

List view: Focusing a block causes keyboard misbehaviours #50019

hanneslsm opened this issue Apr 23, 2023 · 3 comments
Labels
[Focus] Accessibility (a11y) Changes that impact accessibility and need corresponding review (e.g. markup changes). [Package] Editor /packages/editor [Type] Bug An existing feature does not function as intended

Comments

@hanneslsm
Copy link

Description

After focusing a block in the list view (by clicking two times), it's not possible to remove the block then via the keyboard.
Defocusing by clicking below the blocks in the list view won't work. You must deselect the block completely by clicking somewhere out of the list view or selecting a different block.

Step-by-step reproduction instructions

  1. Focus a block (with to clicks)
  2. Try to remove the block with the keyboard
  3. Try to defocus by clicking within the list view
  4. Try to remove the block with the keyboard
  5. Defocus and deselect by clicking out of the list view area. Select the block again - now you're able to remove the block with the keyboard.

Screenshots, screen recording, code snippet

Screen.Recording.2023-04-23.at.21.31.47.mp4

Environment info

  • Wordpress 6.2
  • Gutenberg 15.6.2
  • Brave Browser (Chromium)

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

@hanneslsm
Copy link
Author

Probably related: #49563

@Thelmachido
Copy link

Hi @hanneslsm yes I can replicate this and it does seem to fall under the tweaks for KeyBoard shortcuts.

@Thelmachido Thelmachido added [Type] Bug An existing feature does not function as intended [Package] Editor /packages/editor [a11y] Keyboard & Focus labels Apr 25, 2023
@andrewserong
Copy link
Contributor

As of #50422 it's now possible to delete blocks in the list view via keyboard, so I'll close this out now.

@priethor priethor added [Focus] Accessibility (a11y) Changes that impact accessibility and need corresponding review (e.g. markup changes). and removed [a11y] Keyboard & Focus labels Jul 24, 2023
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 [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

4 participants