False error aria-required-children with combobox
See original GitHub issueI’m implementing an autocomplete widget with code similar to the example for a combobox here: https://www.w3.org/TR/wai-aria/roles#combobox
<input type="text" aria-label="Tag" role="combobox" aria-expanded="true"
aria-autocomplete="list" aria-owns="owned_listbox" aria-activedescendant="selected_option">
<ul role="listbox" id="owned_listbox">
<li role="option">Zebra</li>
<li role="option" id="selected_option">Zoom</li>
</ul>
The input has role combobox and the ul has role listbox.
Error: Certain ARIA roles must contain particular children. Required ARIA children role not present: listbox textbox
And this is pointing to the input which can’t have any children.
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (7 by maintainers)
Top Results From Across the Web
Does a combobox require a child element with the role of ...
Short Answer to "Does a combobox require a child element with the role of textbox?" Under current (aria-1.1) standards: yes.
Read more >aria-required-children - Accessibility Insights
An ARIA role attribute can be added to an element to instruct assistive technologies to treat the element as something other than its...
Read more >useComboBox – React Aria
useComboBox helps achieve accessible combo box and autocomplete components that can be styled as needed. Support for filtering a list of options by...
Read more >Using ARIA: Roles, states, and properties - MDN Web Docs
Composite roles. The techniques below describe each composite role as well as their required and optional child roles. combobox · grid ( ...
Read more >Accessible Rich Internet Applications (WAI-ARIA) 1.1 - W3C
Accessible Name Required: True. Children Presentational: True. Implicit Value for Role: Default for aria-checked is false .
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
@irbian We’re currently planning the release of axe 2.4. That should hit within the next few weeks.
When will be this deployed into the chrome extension?