Open fkm opened 6 years ago
Further investigation:
The Swiss Style Guide automatically applies the Chosen library to all <select>
elements due to the code in file
https://github.com/swiss/styleguide/blob/master/src/assets/js/select.js
Chosen isn't accessible, rendering any page using a <select>
element automatically inaccessible when using the shipped main.js
.
(Found out the hard way by working on Priminfo.ch for the BAG, trying to get it certificed by Access-4-All.)
Will be solved with the Material Design migration Issue will be closed
I just hope you'll do a better job with the Material Design implementation than you did with Bootstrap.
Has someone managed to get the Chosen selects working with JAWS and/or NVDA?
The screen readers tell about a blank read-only field.
NVDA at least allows to control the input with the keyboard (if you see what you're doing) while JAWS seems to change mode and the down-arrow moves the reader-cursor to the next element.
The worst part is that I cannot just decide to not use Chosen as the widget is automatically initialized...