WebAIM - Web Accessibility In Mind

E-mail List Archives

Feedback wanted on accessibility of a "pillbox" widget rewrite (Select2)


From: Igor Vaynberg
Date: Aug 28, 2018 3:43PM

Hi, I have recently started working on rewrite of Select2 [1][2] which has been mentioned on this list a couple of times. I am trying to make it ADA compliant. I have a prototype of the multi-select mode of the widget and would like to gather some feedback from the community before I head too far down a wrong direction. You can see it in action here: [3].

My plan so far has been to:
* Treat the widget as three individual widgets: a listbox for added values, a button to clear selected added values from aforementioned listbox, and a combobox to add new values.
* Announce combo box states that are not represented by items of the combo box such as "no results" and "enter 2 more characters to begin search" via live regions
* Keyboard navigation from listbox and combobox aria patterns

I am a newbie to ADA and ARIA world and as such looking for feedback from people with more experience.


[1] https://select2.org
[2] https://github.com/select2/select2
[3] https://jsfiddle.net/qn4x1L93/12/