Allow role=combobox for button and input type=button
See original GitHub issueARIA in HTML is planning to allow role=combobox
on a button
and input type=button
element.
button role=combobox
test case
Additionally, the ARIA in HTML PR adds role=checkbox
as an allowed role for input type=button
to match the button
element allowances. This was an oversight in the spec which this PR will help correct.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:4
- Comments:7 (3 by maintainers)
Top Results From Across the Web
ARIA: combobox role - Accessibility - MDN Web Docs - Mozilla
The combobox role identifies an element as an input that controls another element, such as a listbox or grid, that can dynamically pop...
Read more >Do I need role="button" on a <button>?
So, setting role="button" is "not recommended", but allowed. ... A submit button that submits the form when clicked ( type = submit )....
Read more >Select-Only Combobox Example | APG | WAI
Date Picker Combobox: An editable date input combobox that opens a dialog containing a calendar grid and buttons for navigating by month and ......
Read more >Creating Accessible Combo Boxes – Blog
This will allow screen readers to refer to the list element as the ... <input id="combo-input" role="combobox" type="text" /> <button ...
Read more >Button group
For button groups, this would be role="group" , while toolbars should have a ... </div> <input type="text" class="form-control" placeholder="Input group ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
For a workaround you can configure the
standards
object to allow it, similar to what the pr is doing@scottaohara I think this might have fallen through the cracks (as well as a few other of your prs). I’ll go back and look into them.
@adcortes We are planning a release later this month which should include this change. After axe-core releases, it’ll probably be another couple of weeks or so before it is released into the extension.