naomap / leaflet-fusesearch

A plugin for Leaflet to search features in a GeoJSON layer using Fuse.js
MIT License
94 stars 33 forks source link

[accessibility] The search component isn't keyboard operable #24

Open Malvoz opened 3 years ago

Malvoz commented 3 years ago

It's not possible to use the component using only a keyboard. The design pattern that the search component is using is an established pattern of the WAI-ARIA Authoring Practices, called listbox (effectively custom <datalist>).

They also provide an example component that is fully accessible, here: https://www.w3.org/TR/wai-aria-practices/examples/listbox/listbox-collapsible.html


Potentially helpful resources: