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

[accessibility] Delegate focus when context menu has been closed #137

Open
Malvoz opened this issue Jan 12, 2021 · 0 comments
Open

[accessibility] Delegate focus when context menu has been closed #137

Malvoz opened this issue Jan 12, 2021 · 0 comments

Comments

@Malvoz
Copy link

Malvoz commented Jan 12, 2021

When the context menu closes the focused element is body, this can be a confusing experience for people with screen readers and also requires keyboard-only users to sequentially navigate back through all items on the page before getting back to their original destination (before opening the context menu).

Focus should be delegated to the previously focused item (and if not available, the map container itself should receive focus).

Related issue: #135.


Other potentially helpful resources:

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

1 participant