- ππΊHungary nagy.balint
Is this an issue on the 4.0.x branch as well with jjj/chosen?
- π²πΎMalaysia ckng
I'm maintaining a copy with a11y fixes at https://github.com/ckng/chosen. You can download the released zip.
Instruction for Drupal: https://github.com/ckng/chosen?tab=readme-ov-file#to-replace-drupal-chos...
Reproduced here:Extract the released zip into THEMES/js/chosen, for example, where THEME is your theme name.
In your THEME.libraries.yml:
chosen: remote: https://github.com/ckng/chosen version: 2.2.1 license: name: MIT url: https://github.com/ckng/chosen/blob/master/LICENSE.md gpl-compatible: true js: js/chosen/chosen.jquery.min.js: { minified: true } dependencies: - core/jquery chosen.css: version: 2.2.1 css: component: js/chosen/chosen.css: {}
In your THEME.info.yml, override fully the default from chosen_lib.
libraries-override:
chosen_lib/chosen: THEME/chosen
chosen_lib/chosen.css: THEME/chosen.css - ππΊHungary nagy.balint
Let me know if 5.0.0 still has accessibility issues.
It has a new fork with some improvements.