Open zwiastunsw opened 5 years ago
The multiple selection is base on chosen. This is an abandoned script and we should find a replacement.
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/
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
why would you want/need to add react
It's included by the script...
i must be missing something then
Please test https://github.com/joomla/joomla-cms/pull/22008
This addresses
And partially fixes
- No labels in multiple-select lists
There are labels now just not the option names
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
The problem is partially solved by @brianteeman. The PR was successfully tested, but we did not carry out any verification tests.
Review process
Result and recommended action
Summary of results
The sorting and filtering functions provided by the tool are accessible. However, a few of problems have been identified that may result in inaccessibility.
Strengths
All sorting and filtering options are accessible from the keyboard..
Failures and recommendations
1. The ‘select’ elements do not have corresponding labels
The select lists do not have correspondingly associated labels. The function or purpose of the lists can not be presented to screen reader users. Some users may also have problems understanding the purposes of the lists. The functions of some lists can be deduced by users from the name of the first option ('Select Category', 'Select Status', 'Select Access', etc.). But in a few cases there is no such value describing the purpose of the list: (1) a list limiting the number of items per page, (2) a list ‘Select location’ on pages: “Modules manage” “Language installed”, “Templates: Styles”.
2. Select must not change context
When a keyboard-only user uses the Escape key on an option that has a focus, the page is automatically reloaded. Similarly, when the screen reader user changes a selected option in the list is collapsed using the arrow keys, the page is automatically reloaded.
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]()
Recommendation: Do not use onchange event handlers on select elements. Use selections should be made using the enter key.
Success Criteria:
3. No labels in multiple-select lists
Multiple-select lists are used on the Article manager page. The user does not see the description of these lists as they are expanded. Screen reader users hear neither list description nor list option names.
Recommendation:
Success Criteria:
Suggested techniques:
Appendix: Keyboard interaction