Quote Block: Keyboard focus behavior differs from theme to theme #46546
Labels
[Block] Quote
Affects the Quote Block
[Feature] Writing Flow
Block selection, navigation, splitting, merging, deletion...
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
Description
When certain keystrokes are performed in a quote block, the behavior differs depending on the theme.
The quate block displays the block inserter button because the content consists of inner blocks. When the arrow-up key is pressed after the cite element has been given focus, its behavior varies depending on the theme.
Essentially, the first keystroke focuses on the block inserter and the second keystroke focuses on the innner block.
Screencast on Twenty Twenty Two
tt2_focus.mp4
Curiously, however, in Twenty Twenty Three, the focus is skipped on the block inserter and given to the inner block.
Screencast on Twenty Twenty Three
tt3_focus.mp4
I further investigated and found that this problem occurs when the cite element doesn't overlap the inserter.
Screencast on Twenty Twenty Three
tt3_focus.mp4
I don't know if this is a problem with the block editor or the writing flow, or just expected behavior of the browser, but I am reporting it as an issue.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
No response
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
The text was updated successfully, but these errors were encountered: