Open kimisgold opened 2 months ago
The update-leaflet-library branch updates the Leaflet library to v1.9. Hopefully that'll address the issues.
Yes, I'd looked into this a week or so ago. The "close" button should definitely be included in this update. Not sure about the others.
I can confirm the close button issue is resolved, as well as the map markers now being navigable via keyboard. I think there are some other elements we have to do ourselves: it seems currently not possible to navigate to popup pane content once a map marker is clicked, and we need a better aria role for the map itself.
The update here is merged, along with updates to the other two leaflet-related dependencies we use.
Other things I'll note here:
I've provided the item title as an alt
for the markers. (28dfc6a36ae859d1d411b2a4329f91327f1cdc70).
I think I'd be okay with the manual updates getting pulled in. We could always upgrade again whenever they do a formal release including any future fixes.
An accessibility audit has flagged a number of challenges for screen readers:
I think Geolocation is currently using Leaflet 1.6.0, and there have been several accessibility updates since that may address these issues.