Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code block: focus is lost when pressing Tab key #37336

Open
zaguiini opened this issue Dec 13, 2021 · 0 comments
Open

Code block: focus is lost when pressing Tab key #37336

zaguiini opened this issue Dec 13, 2021 · 0 comments
Labels
[Block] Code Affects the Code Block [Focus] Accessibility (a11y) Changes that impact accessibility and need corresponding review (e.g. markup changes).

Comments

@zaguiini
Copy link
Member

Description

When pressing Tab inside a Code block, the focus is lost and I can't ident the code.

Step-by-step reproduction instructions

  1. Open FSE or block editor;
  2. Type a line of code;
  3. Press Enter;
  4. Press Tab.

Verify that focus is lost.

Screenshots, screen recording, code snippet

Screen.Recording.2021-12-13.at.15.37.22.mov

Environment info

  • WordPress 5.8.2;
  • Gutenberg 12.1.0.

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

@priethor priethor added [Focus] Accessibility (a11y) Changes that impact accessibility and need corresponding review (e.g. markup changes). and removed [a11y] Keyboard & Focus labels Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Code Affects the Code Block [Focus] Accessibility (a11y) Changes that impact accessibility and need corresponding review (e.g. markup changes).
Projects
None yet
Development

No branches or pull requests

3 participants