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] Activating a button using a keyboard should not set focus to the map element #100

Open
Malvoz opened this issue Jan 16, 2021 · 1 comment

Comments

@Malvoz
Copy link

Malvoz commented Jan 16, 2021

When a button is activated using keyboard, the focus is set to the map element:

this._map && this._map.getContainer().focus();

This is not the standard behavior of activating buttons, and is problematic because a keyboard-only user will have to tab through all the content to get back to the previously focused element if they wish to continue to explore the user interface.

@Malvoz
Copy link
Author

Malvoz commented Apr 4, 2022

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