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

Keyboard navigation: Focus directly on and highlight selections in right click menu when open #3635

Closed
danieldegroot2 opened this issue Jul 28, 2022 · 2 comments

Comments

@danieldegroot2
Copy link
Contributor

Description

On right click,

  • set tabbing to focus on the right click menu. Tabbing will then select the second/next item in the right click menu. This is the case at least for Google Maps, Bing Maps, ... .
  • add a highlight for selections within the right click menu (at least, those other map providers do)

Currently, when the right click menu is open,

  • Tab goes through the normal cycle (the page as a whole is being selected); also when routing
  • Eventually selects within the tab menu but has no highlights so the user is not, at least not visually, aware of this.

Google:

image

Bing:

image

(the url preview in the bottom left corner of the browser doesn't update properly, but let's not try to troubleshoot this unless you really want to)

Screenshots

No response

@tomhughes
Copy link
Member

The context menu is a third party component (https://github.com/aratcliffe/Leaflet.contextmenu) and as far as I can see it does not offer any option to control this behaviour.

@danieldegroot2
Copy link
Contributor Author

Partial duplicate of aratcliffe/Leaflet.contextmenu#135.

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

No branches or pull requests

2 participants