-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Labels
[Feature] Block bindings[Focus] Accessibility (a11y)Changes that impact accessibility and need corresponding review (e.g. markup changes).Changes that impact accessibility and need corresponding review (e.g. markup changes).[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
One of the most established interaction conventions in the Editor is that pressing Enter at the end of a block creates a new default block i.e. a Paragraph and moves focus to the newsly created Paragraph.
Bound (connected) blocks seem to break this long established interaction. When pressing Enter:
- The new Paragraph is created.
- Focus is not moved.
Animated GIF to better illustrate:
Step-by-step reproduction instructions
- Add a normal Paragraph block.
- Follow instructions from Add the Block Bindings API wordpress-develop#5888 to create a Paragraph with content connected to a post meta.
- Click the first Paragraph and move the cusror at the end of its content.
- Press Enter.
- Observe a new Paragraph is created and receives focus.
- Click the connected Paragraph.
- Observe the Paragraph is selected.
- Press Enter.
- Observe a new Paragraph is created but focus is not moved to it.
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
Metadata
Metadata
Assignees
Labels
[Feature] Block bindings[Focus] Accessibility (a11y)Changes that impact accessibility and need corresponding review (e.g. markup changes).Changes that impact accessibility and need corresponding review (e.g. markup changes).[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended