Writing flow: Arrow key navigation gets stuck on non-text inputs #32712
Labels
[Feature] Writing Flow
Block selection, navigation, splitting, merging, deletion...
[Status] In Progress
Tracking issues with work in progress
Description
Block navigation with arrow keys can get stuck on
input
element types that don't support selection ranges, such ascheckbox
. This effectively makes it a "focus trap", and the rest of the writing flow content cannot be accessed by keyboard.Step-by-step reproduction instructions
<input type="checkbox" />
to the edit component of a Core block, such asCode
.Expected behaviour
I can navigate through the checkbox element to the next tabbable element, similar to any other tabbable element like
<button>
.Actual behaviour
The arrow key gets stuck on the checkbox, and the page scrolls instead of navigating to the next tabbable.
Screenshots or screen recording (optional)
WordPress information
Latest
trunk
in wp-env container.Device information
The text was updated successfully, but these errors were encountered: