omeka / plugin-Geolocation

Allows administrative users to save geolocation data for an individual item. The plugin generates a Google map containing items with geolocation data and a web page for displaying the map.
http://omeka.org/codex/Plugins/Geolocation
12 stars 20 forks source link

Update leaflet library to provide a11y improvements #56

Open kimisgold opened 2 months ago

kimisgold commented 2 months ago

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.

jimsafley commented 2 months ago

The update-leaflet-library branch updates the Leaflet library to v1.9. Hopefully that'll address the issues.

zerocrates commented 2 months ago

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.

kimisgold commented 2 months ago

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.

zerocrates commented 2 months ago

The update here is merged, along with updates to the other two leaflet-related dependencies we use.

Other things I'll note here:

kimisgold commented 2 months ago

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.