Skip to content

Be more specific when handling escape deselect from block editor #56045

Closed

Description

@jeryj

Follow-up to #55787

The unselect escape shortcut is too unrestricted about what it catches. It will run and deselect a block, causing a focus loss anytime the escape key is pressed and a block is selected, even if that's an unexpected action.

For example, if focus is within the block sidebar, an escape keypress will deselect the block and lose focus. An unexpected side effect.

Activity

  1. added
    [Focus] Accessibility (a11y)
    on Nov 10, 2023
  2. self-assigned this
    on Nov 10, 2023
  3. added
    [Type] Enhancement
    on Nov 12, 2023
  4. jeryj commented on Feb 5, 2024

    @jeryj
    ContributorAuthor

    Fixed by #58637

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

[Focus] Accessibility (a11y)[Type] Enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions