Skip to content

Block: Math - Keyboard trap in editor #73447

@joedolson

Description

@joedolson

Description

Not possible to leave the textarea from the keyboard in the math editor.

Step-by-step reproduction instructions

  1. Add a math block
  2. Place your cursor inside the editor textarea.
  3. Use tab, shift+tab and esc to attempt to leave the editor field.

There needs to be a mechanism to exit the editor. If tabbing is constrained while editing, then there should be an explicit close button that can be tabbed to; and esc should close the editor.

Screenshots, screen recording, code snippet

No response

Environment info

  • WP 6.9-RC2-61266, Gutenberg 22.1.0
  • Chrome & Firefox, Windows 11

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

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Metadata

Metadata

Assignees

Labels

[Block] Math[Focus] Accessibility (a11y)Changes that impact accessibility and need corresponding review (e.g. markup changes).[Status] In ProgressTracking issues with work in progress[Type] BugAn existing feature does not function as intended

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions