You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A popup element usually appears as a block of content that is on top of other content. Authors MUST ensure that the role of the element that serves as the container for the popup content is menu, listbox, tree, grid, or dialog, and that the value of aria-haspopup matches the role of the popup container.
The text was updated successfully, but these errors were encountered:
Could someone please explain why aria-haspop is set to true when it is followed by a role listbox in the example on the page 'Editable Combobox With List Autocomplete Example'
https://www.w3.org/TR/wai-aria-practices-1.2/examples/combobox/combobox-autocomplete-list.html
<input id="cb1-input" class="cb_edit" type="text" role="combobox" aria-autocomplete="list" aria-expanded="true" aria-controls="cb1-listbox" aria-haspopup="true" aria-activedescendant="">
<ul id="cb1-listbox" role="listbox" aria-label="States" tabindex="-1" class="" style="display: block;">
The text was updated successfully, but these errors were encountered: