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] removeOutsideVisibleBounds is problematic for keyboard-only and screen reader users #1058

Open
Malvoz opened this issue Apr 23, 2022 · 1 comment

Comments

@Malvoz
Copy link
Member

Malvoz commented Apr 23, 2022

Problem

removeOutsideVisibleBounds is problematic for screen reader users, Leaflet/Leaflet#3472 (comment):

simply hiding out-of-view markers is problematic to non-visual users, because (unlike e.g. https://github.com/Esri/a11y-map and mapbox/mapbox-gl-js#10114) there's no feedback to users during/after pan & zoom which means that it would be nearly impossible for these users to reach/discover the initially hidden markers.

For keyboard-only users it's also very hard to reach or even discover any markers that are out of view.

Solution

From an accessibility perspective, it'd be best for removeOutsideVisibleBounds to be disabled by default.

And since marker clustering already is a performance enhancement itself I'd really like to see a consideration for changing the default.

In either case, the accessibility problem with removeOutsideVisibleBounds should be documented.

Additional context

@Malvoz
Copy link
Member Author

Malvoz commented Apr 23, 2022

Please label this: accessibility

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