Review allowed roles for button
· Issue #375 · w3c/html-aria (original) (raw)
With the introduction of a select only combobox (no text input), would it make sense to allow role=combobox
on <button>
?
<button
aria-label="Tag"
role="combobox"
aria-activedescendant="selected_option"
aria-autocomplete="list"
aria-controls="owned_listbox"
aria-expanded="true"
aria-haspopup="listbox"
type="button"
>
Zoom
</button>
<ul role="listbox" id="owned_listbox">
<li role="option">Zebra</li>
<li role="option" id="selected_option">Zoom</li>
</ul>