Closed jarekdanielak closed 2 months ago
While the key navigation works fine, Voice Over does not announce the active element. We need some ARIA attributes to make it work.
This could be helpful: https://www.w3.org/WAI/ARIA/apg/patterns/menubar/ I'd consider to implement focus wrapping, i.e. arrow down on the last item should focus the first item.
@barmac ready for review.
@philippfromme perhaps you could have a look independently? So that the solutions meets the expectations of two different platforms users.
Technically, we target features at develop
, and fix
es at main
.
I don't quite get it why capslock+left/right from voiceover does not move the focus, but I guess we have to live with it. I think this PR is an improvement good enough to merge.
There's a merge conflict again 😓
Commit history is now clean and there are no merge conflicts.
If @philippfromme verifies it on Windows, we can marge.
Proposed Changes
Closes https://github.com/bpmn-io/dmn-js/issues/848
Context menu support for keyboard navigation.
https://github.com/user-attachments/assets/f98c6c00-b610-4fc1-9432-8b85260e0998
### Checklist To ensure you provided everything we need to look at your PR: * [X] **Brief textual description** of the changes present * [X] **Visual demo** attached * [ ] **Steps to try out** present, i.e. [using the `@bpmn-io/sr` tool](https://github.com/bpmn-io/sr) * [X] Related issue linked via `Closes {LINK_TO_ISSUE}` or `Related to {LINK_TO_ISSUE}`