WebAIM - Web Accessibility In Mind

E-mail List Archives

accessible combo boxes and correct behaviour

for

From: mhysnm1964
Date: Oct 26, 2018 12:54AM


All,



I have seen many attempts of accessible combo boxes. What I have not seen
and require verification. When a combo box is open and the keyboard user is
navigating the list of options. If they press escape. The prior value should
be maintained in the edit field and not overwritten with the currently
selected value. All the combo boxes I have tested even the one from W3C ARIA
1.1. best practise does what I have described when using Firefox 62. I must
admit I have not tested this with IE11 or Chrome.





For example: A combo box with 3 options. The edit field is blank. The combo
box is open by using the alt down arrow. The down arrow is moved to the 2nd
value called "2". The user presses escape and the value 2 is inserted into
the edit field rather than kept blank.



I understand Chrome has decided to change how combo boxes are open now.
Instead of using alt down arrow or the down arrow. The enter key is used. I
believe this is in Chrome 70. Thoughts on this?