Following accessibility guidelines we want to change the current behaviour of elements (geoshapes, lines, markers, etc.) in maps to only be reachable via tab or signal an interaction to the mouse cursor if there is an interaction (most likely a popup with further information).
- markers are only interactive if there is a popup
- nearby points still are interactive
- make nearby cluster points that are the center of an expanded spider non-interactive
- lines
- polygons
- geomasks
For review:
Turns out, that the leaflet library that does the geoshapes creation allows overwriting the options for markers but not for the other geoshapes.
We have these 3 4 options:
Live with the different behaviour for markers and geoshapes a.k.a. do nothing.Update leaflet library to find out if it is fixed. Might be very complex and might not help if the library did no changes in that direction.- Overwrite local mapbox with a hack that changes the interaction behaviour of geoshapes because it is outdated and there will be no updates. (abandoned patch)
- Iterated over the existing layers after they were rendered and change the behavior. (implemented)