Skip to content

List view: Focusing a block causes keyboard misbehaviours #50019

Closed

Description

@hanneslsm

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

Activity

  1. hanneslsm commented on Apr 24, 2023

    @hanneslsm
    Author

    Probably related: #49563

  2. Thelmachido commented on Apr 25, 2023

    @Thelmachido

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

  3. added
    [Type] Bug
    [Package] Editor
    on Apr 25, 2023
  4. andrewserong commented on Jun 21, 2023

    @andrewserong
    Contributor

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

  5. added
    [Focus] Accessibility (a11y)
    and removed on Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Focus] Accessibility (a11y)[Package] Editor[Type] Bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions