Be more specific when handling escape deselect from block editor #56045
Labels
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
[Type] Enhancement
A suggestion for improvement.
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.
The text was updated successfully, but these errors were encountered: