bpmn-io / dmn-js

View and edit DMN diagrams in the browser.
https://bpmn.io/toolkit/dmn-js/
Other
288 stars 137 forks source link

Cannot use context menu with keyboard #848

Open barmac opened 4 months ago

barmac commented 4 months ago

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:

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

Environment

Please complete the following information:


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

barmac commented 2 weeks ago

Note that this issue is not detected by axe.

barmac commented 1 week ago

I am not working on this right now. As this is not essential for axe-compliance, I am moving this to the backlog.