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

Make context menu accessible #32

Open
smalos opened this issue Nov 11, 2021 · 2 comments
Open

Make context menu accessible #32

smalos opened this issue Nov 11, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@smalos
Copy link

smalos commented Nov 11, 2021

Keyboard shortcuts should be added to provide easier navigation for people with disabilities.

  • Esc: Closes the opened ContextMenu.
  • Enter: Selects the focused item.
  • Up: Navigates up or to the previous menu item.
  • Down: Navigates down or to the next menu item.
  • Left: Close the current sub menu and navigates to the parent menu.
  • Right: Navigates and open the next sub menu.
@nkappler nkappler added this to the 1.5.0 Accessibility Update milestone Nov 11, 2021
@nkappler nkappler added the enhancement New feature or request label Nov 11, 2021
@nkappler
Copy link
Owner

nkappler commented Feb 9, 2022

Hi @smalos,
sorry for the long delay without updates.
I am currently very busy due to some new projects at my workplace...
At the moment I don't know when I'll be able to start working on this, so if you need this feature or if you want to help, I am happy to review any Pull Requests and appreciate any help :)

@nkappler nkappler removed this from the 1.6.0 Accessibility Update milestone Feb 22, 2024
@smalos
Copy link
Author

smalos commented May 30, 2024

@nkappler

If you look at jQuery contextMenu, you will see that keyboard navigation works there, even though the menu items do not appear to have a tabindex.

You might get some inspiration from how they did it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants