joomla / accessibility

Collaboration to implement accessbility into Joomla
8 stars 12 forks source link

Report: Table option #45

Open zwiastunsw opened 5 years ago

zwiastunsw commented 5 years ago

Review process

Select elements with onchange event handler must not automatically change the user's context when keyboard focus moves between options.

User's can become disoriented if the focus changes cause unpredictable actions.

When the user is using the keyboard to explore select box options, the focus must stay on the options, until the user selects one of the options.

See: [FAE - select must not change context]()

Appendix: Keyboard interaction

dgrammatiko commented 5 years ago

The multiple selection is base on chosen. This is an abandoned script and we should find a replacement.

brianteeman commented 5 years ago

my personal favourite for the replacement is https://github.com/alphagov/accessible-autocomplete

it is well tested and maintained and very flexible

See examples here https://alphagov.github.io/accessible-autocomplete/

dgrammatiko commented 5 years ago

I thought I already implemented this for review here: https://github.com/joomla/joomla-cms/pull/19671

FWIW I not fan of adding also react to joomla

brianteeman commented 5 years ago

why would you want/need to add react

dgrammatiko commented 5 years ago

It's included by the script...

brianteeman commented 5 years ago

i must be missing something then

brianteeman commented 5 years ago

Please test https://github.com/joomla/joomla-cms/pull/22008

This addresses

  1. The ‘select’ elements do not have corresponding labels
brianteeman commented 5 years ago

And partially fixes

  1. No labels in multiple-select lists

There are labels now just not the option names

brianteeman commented 5 years ago

Please test this promptly as it is a lot of work to make the changes everywhere and I would like to do it sooner rather than later

zwiastunsw commented 5 years ago

The problem is partially solved by @brianteeman. The PR was successfully tested, but we did not carry out any verification tests.