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

Cannot use context menu with keyboard #848

Open
3 tasks
barmac opened this issue Apr 5, 2024 · 0 comments
Open
3 tasks

Cannot use context menu with keyboard #848

barmac opened this issue Apr 5, 2024 · 0 comments
Assignees
Labels
a11y bug Something isn't working good first issue Good for newcomers ready Ready to be worked on

Comments

@barmac
Copy link
Member

barmac commented Apr 5, 2024

Describe the Bug

The context menu does not take the focus and I cannot take any action in it with keyboard.

image

How to open context menu with keyboard on Mac (thanks @lmbateman): https://support.apple.com/en-gb/guide/mac-help/mh27469/mac

Steps to Reproduce

  1. Open context menu.
  2. Try to move around with arrow keys.

Expected Behavior

Context menu should work exactly like a system context menu:

  • Be a focus trap
  • Change selection with arrow keys
  • Select and perform action with enter

It closes with escape or outside click already, which otherwise would have been another requirement.

Environment

Please complete the following information:

  • Browser: [e.g. IE 11, Chrome 69]
  • OS: [e.g. Windows 7]
  • Library version: [e.g. 2.0.0]

Child of https://github.com/bpmn-io/internal-docs/issues/909

@barmac barmac added bug Something isn't working ready Ready to be worked on a11y labels Apr 5, 2024
@nikku nikku added the good first issue Good for newcomers label Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a11y bug Something isn't working good first issue Good for newcomers ready Ready to be worked on
Development

No branches or pull requests

2 participants