Labels |
Added:
?
|
Status | New | ⇒ | Information Required |
Category | ⇒ | Accessibility com_search |
Labels |
Added:
J4 Issue
|
Labels |
Added:
?
|
@zwiastunsw it is not just this field. It is every select field throughout joomla that uses the onchange event
As soon as you remove that then the list will be announced correctly.
BUT then there isn't a submit button so nothing will ever change
It's a big a11y problem and its everywhere in joomla
I don't know of a technique to resolve this but one must exist
More info and a better explanation of the problem
https://adamsilver.io/articles/select-boxes-shouldnt-submit-on-change/
As far as I can see there are only two possible solutions
Category | Accessibility com_search | ⇒ | com_search |
Sorry I was wrong suggesting that it was everywhere that we use onchange that is a problem.
If you go to the filter list in article manager. and use the keyboard to highlight a select list and try to cycle through the options using the arrow key it will fail. But if you press enter to select the list and open it then you can use the keyboard to navigate the list and select the option you want. I believe the same is true on the example @zwiastunsw gave
So it is technically a11y compliant but not as easy as it could/should be if I read that correctly?
That is my amended conclusion. not sure what @zwiastunsw thinks though
We have several places where the "Display select" object is displayed.
We have two different behaviors.
First behavior: The screen reader announces a label ("Display # combo box 30 collapsed"). It announces that the list is collapsed. I get the information that I can expand it, select one of the options, and then confirm with the Enter key. This is the correct, accessible, expected behavior. (just like in the backend, as @brianteeman says).
See, for example, view of Article Category List.
Second behavior: The screen reader does not advertise the label. The message is 'Edit read only'. I don't know that I have a combo box. I don't know that I can choose an option. As a sighted person I cannot expand the list with the Enter key. When I move the arrows around the list, the page is automatically reloaded. This is incorrect, inaccessible, unexpected behavior.
See for example, view of Search results
found it and fixed it - pr coming
for some STUPID reason this list box was using chzn. That is not accessible as we know and we dont need it here
It was any select list in the search component that was infected with chosen
@brianteeman: The same problem we have in Tagged items view (joomla 3.9)
wait - you are confusing me - you raised this issue as Joomla 4
I fixed it for j3. And I cant get search to work for me at all right now
I'm sory
so are there any problems in joomla 4? We dont use chosen in j4
Looks like it's in the Joomla4 no problem. I checked it again.
Status | Information Required | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-04-17 14:31:11 |
Closed_By | ⇒ | zwiastunsw |
Thank you, @brianteeman . I must have been very tired. This problem occurs only in joomla 3.x.
i fixed com_tags as well
i tried reproducing this issue, in my case the "Display # list " announces blank . Is this what you mean?