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

Bug: unable to navigate past the font size input in lexical playground toolbar using a keyboard #6694

Closed
rilrom opened this issue Oct 3, 2024 · 0 comments · Fixed by #6695

Comments

@rilrom
Copy link
Contributor

rilrom commented Oct 3, 2024

Currently it is not possible to move past the font size input in the lexical playground toolbar when using a keyboard. Pressing tab when focused on the font size input will automatically move the focus to the editor.

toolbar-accessibility.mp4

Lexical version: v0.18.0

Steps To Reproduce

  1. Move keyboard focus to the beginning of the toolbar.
  2. Attempt to tab past the font size input.
  3. Focus is moved to the editor, making it impossible to access the other buttons in the toolbar.

The current behavior

Tabbing past the font size input moves the focus to the editor, preventing the rest of the toolbar from being accessed.

The expected behavior

Tabbing past the font size input without interacting with it directly should move the focus to the next button in the toolbar.

If the font size input has been interacted with directly (e.g. changing value), existing functionality should continue (pressing tab moves the focus to the editor).

Impact of fix

  • Would allow keyboard users to use the full functionality available in the lexical playground toolbar.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant