-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update 'combobox' spec as per html spec/html-aam mapping for <select> element #817
Comments
A readonly combobox is indeed valid, as can be seen here: |
Absolutely. We have this frequently in our UI's. |
The read-only combobox discussion starting with this comment in the aria-practices issue tracker may be relevant here. |
We will fix this issue by fixing w3c/html-aam#46. On the ARIA side, that means resolving #721 and #722 and then making a new version of the APG collapsable listbox example. This plan is documented in this comment I made on August 3, 2018 to html-aam issue 46. The net of what things will look like after this plan is complete is:
After we land #721 and #722, we can make a new version of the APG collapsable listbox example that recasts the button element as the collapsed listbox. That will both resolve several of the issues raised in w3c/aria-practices#557 and serve as an example of a custom ARIA version of HTML:select@size=1. I should get moving on these issues. They are lingering far too long. Given that resolving this specific issue does not require changes to the combobox role in ARIA, i think we should close this as overcome by #721 and #722. |
Please see @accdc's ARIA 1.0 simulated readonly combobox. This combobox does not have a textbox. It doesn't need one, because it's read-only, so the user does not type the combobox value - they use the list to change the value. It is implemented using a span (styled to look like a button), and all of the combobox markup, focus and behavior is on that span. This combobox works well in the screen reader/browser pairings that I tried. So I don't think we should say it has to be a popup list, because it is a working combobox pattern that has existed since 1.0 and has been implemented in AT, and it would be a shame to drop it. I have a similar use case, which is a read-only combobox that pops up a dialog. The markup is similar, except that it has So in conclusion, I think we have to allow for read-only combobox to not have a textbox. We should also describe clearly what a "read-only combobox" is and what it is not, because there seems to be some confusion. It is not disabled. If it was disabled, it would have |
#1051 is merged. |
The current combobox spec says
It states a
combobox
always requires atextbox
as a child, except when rolecombobox
is used on input elementsBut
<select>
element says<select>
acts as bothcombobox
andlistbox
based onmultiple
&size
attributes<select>
also maps it to bothcombobox
andlistbox
I think we should update the
combobox
spec to not require atextbox
always or we need to explicitly mention what is expected when<select>
element acts acombobox
The text was updated successfully, but these errors were encountered: