Skip to content

Added Optional Roving Tabindex to Toolbar#4557

Closed
colfin-96 wants to merge 6 commits intoslab:mainfrom
colfin-96:main
Closed

Added Optional Roving Tabindex to Toolbar#4557
colfin-96 wants to merge 6 commits intoslab:mainfrom
colfin-96:main

Conversation

@colfin-96
Copy link
Copy Markdown

This PR is not fully done yet, but will include an optional roving tabindex in the toolbar. This is a feature I need in order to have a better User Experience, so that users don't have to tab through each individual item. Rather, they tab into the toolbar, then the editor. Within the toolbar, they can navigate left and right with the ArrowKeys.

});

if (this.hasRovingTabindex && input.tagName === 'BUTTON') {
input.addEventListener('keydown', (e) => {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cleanup required for eventListener?

@colfin-96
Copy link
Copy Markdown
Author

Closed because I'm reopening it from another branch (#4563)

@colfin-96 colfin-96 closed this Jan 13, 2025
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 this pull request may close these issues.

2 participants