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 Issue: Cluster Markers do not allow title / alt to be set #1107

Open
deirdrehall opened this issue Jul 1, 2024 · 0 comments
Open

Comments

@deirdrehall
Copy link

In 2021, leaflet added role="button" to interactive markers (Leaflet/Leaflet#7428). Per accessibility standards, a div which has a role as a button (or link or menuitem) must have an associated title and/or alt text string.

Because the marker object is created internally to the marker cluster code and there is currently no way to pass marker options into the creation, interactive cluster markers created by this library do not pass accessibility checks:

image

The library needs a way to pass in a title string for a cluster marker which can then be passed to L.marker.

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