arosequist / om-autocomplete

An autocomplete component for Om
Apache License 2.0
61 stars 9 forks source link

Implement with WAI-ARIA Accessiblity #1

Open ryanflorence opened 10 years ago

ryanflorence commented 10 years ago

I'd love to see this component implement the combobox/autocomplete roles (and associated listbox/option roles for the container view). Here are some resources:

http://www.w3.org/TR/wai-aria-practices/#combobox http://www.w3.org/TR/wai-aria/roles#combobox http://www.w3.org/TR/wai-aria-practices/#autocomplete http://www.w3.org/TR/wai-aria/states_and_properties#aria-autocomplete

Currently the keyboard experience is less than ideal and screenreader users have no idea what is going on.

Let me know if I can help :)

arosequist commented 10 years ago

Thanks for bringing this up and for posting the links; I'll read over them to make sure I fully understand what needs to be done to make it accessible.

I think the main autocomplete component is fine here, since it doesn't render any DOM components. I plan on working on some additional helper components (and improving the existing Bootstrap ones), and I'll definitely keep WAI-ARIA in mind while doing that.