swiss / styleguide

admin.ch styleguide
https://swiss.github.io/styleguide
MIT License
123 stars 36 forks source link

Chosen and screen readers #644

Open fkm opened 6 years ago

fkm commented 6 years ago

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...

cstuder commented 5 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.)

gillerr commented 4 years ago

Will be solved with the Material Design migration Issue will be closed

fkm commented 4 years ago

I just hope you'll do a better job with the Material Design implementation than you did with Bootstrap.