Open jvine opened 4 years ago
Some general things that can be done with regards to Leaflet default behavior.
WRT 3, By default the map is focusable and has existing keyboard controls.
+ Zoom in - Zoom out ← Pan Left → Pan Right ↑ Pan Up ↓ Pan Down
This functionality can be disabled using https://leafletjs.com/reference-1.6.0.html#map-keyboard
WRT 5, we can add custom alt attribute info using https://leafletjs.com/reference-1.6.0.html#marker-alt
We want to supersede the search results and show page parts with https://github.com/sul-dlss/exhibits/issues/490 and #504 which have design needed.
We should check in with the Earthworks team about this.
In all locations
tabindex=”0”
aria-label=”heatmap”
to the same div<dt>
, see #1787In search results
Keyboard gets to the list of titles, but the sidebar doesn’t open on keyboard focus - only when you click into the map. If you have SR on, you can hear the list of titles, but if you are just a keyboard user - you get a bunch of tabstops with no apparent content. (Gif at the bottom shows me tabbing through the titles. You can see the URL at the bottom left change, but no other indication that anything is changing.)
The keyboard can get to the zoom in/out buttons, but cannot pan the map. If Zoom takes the highlighted area outside the frame, too bad. I don’t know how to solve this one. Does leaflet has some kind of key combination pan feature?
For all users, there’s no pagination past the first 50 results. No way to close the side panel once it’s open. Frequently, the panel pushes the selected square out of view when it opens, changing or zeroing out the list of results. This feature in general has usability issues.
Individual result page
alt=“location marker”
Tabbing without visual indicator (watch bottom left corner).