chosen icon indicating copy to clipboard operation
chosen copied to clipboard

Adding accessibility to chosen:

Open itayadler opened this issue 10 years ago • 16 comments

  • Added unique_id which is used for ARIA attribtues that require an ID. So now search_field and search_results have an ID
  • Added the required ARIA tags for chosen to behave like a combobox
  • Tested with Mac OSX Chrome 36 using VoiceOver, now the screen reader is able to read the values in the chosen select box, like it's a SELECT element

NOTE: This is bascially what jQueryUI Selectmenu does related to #2013

itayadler avatar Aug 18 '14 22:08 itayadler

the Prototype version needs to be updated too

stof avatar Aug 19 '14 01:08 stof

Updated PR, also ran the build script and checked that the examples work for both jQuery and Prototype

itayadler avatar Aug 19 '14 19:08 itayadler

What's next?

itayadler avatar Aug 21 '14 13:08 itayadler

Bump

itayadler avatar Aug 24 '14 13:08 itayadler

+1

danieleorler avatar Aug 28 '14 12:08 danieleorler

Anything else I can do to make this ready for master?

itayadler avatar Sep 10 '14 07:09 itayadler

+1

ndubbaka avatar Sep 23 '14 21:09 ndubbaka

any news on this?

danieleorler avatar Oct 17 '14 11:10 danieleorler

I'm closing this PR as it didn't get any attention.

itayadler avatar Jul 03 '15 14:07 itayadler

Lack of review doesn't mean there's no value in the PR, just that we haven't gotten to it yet. Reopening so that it can be reviewed when someone has the time and ability.

tjschuck avatar Jul 06 '15 20:07 tjschuck

Any news on getting chosen to be accessible? An official audit has indicated to us multiple problems, such as flickering when tabbing quickly, no ability to tab out (sometimes) and the field opening the dropdown on focus.

wcndave avatar Oct 07 '15 15:10 wcndave

hey, the chosen dropdown is not getting read by the screen reader when it has focus. It says blank on dropdown navigation. I have even tried the approach of this commit. It is still not working.

itshim avatar Jun 08 '17 05:06 itshim

Hi, I am new to github community and have followed this thread trying to solve the screen reader reading "blank" in the drop down problem in a Drupal 8 project which utilizes Chosen. I modified version 1.8.7 's jquery accordingly and tested well with screen NVDA. Just wondering if there is any plan to integrate similar changes in a new release to make Chosen more 508 compatible. Attached is my modified jquery file. See comments on my modifications.

Thanks,

Yuan chosen.jquery.txt

yuanyedev avatar Nov 07 '19 16:11 yuanyedev

Would love to see some attention on this issue. Is accessibility something not value by the maintainers?

brooke-heaton avatar Jan 12 '22 19:01 brooke-heaton

Hi, I am new to github community and have followed this thread trying to solve the screen reader reading "blank" in the drop down problem in a Drupal 8 project which utilizes Chosen. I modified version 1.8.7 's jquery accordingly and tested well with screen NVDA. Just wondering if there is any plan to integrate similar changes in a new release to make Chosen more 508 compatible. Attached is my modified jquery file. See comments on my modifications.

Thanks,

Yuan chosen.jquery.txt

This worked for me

bilalbhojani24 avatar Dec 01 '22 07:12 bilalbhojani24

Hello @bilalbhojani24 and all,

The modified JS proposed in the previous post resolves the accessibility issues I encounter with the current official release of Chosen.

I am blind, and I am using Chrome with either NVDA or JAWS screen readers.

Thank you very much for this work. It's a pity that @harvesthq does not take such an issue into account for the master branch. These accessibility issues have a solution since nearly 9 years now !

obert01 avatar Feb 23 '23 13:02 obert01