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
In a single-select listbox, the selected option has aria-selected set to true.
if the listbox supports multiple selection:
The element with role listbox has aria-multiselectable set to true.
All selected options have aria-selected set to true.
All options that are not selected have aria-selected set to false.
I have interpreted this to imply that unselected options in a single-select listbox should have no value for aria-selected, vs multi-select listboxes where all options are expected to have a value, be it true or false.
Is this correct? Either way, it would be good to make this explicit in this document, as the current phrasing leaves this up to interpretation.
The text was updated successfully, but these errors were encountered:
craigkovatch
changed the title
Listbox: should unselected single-select items include aria-selected=false?
Listbox: should unselected single-select options include aria-selected=false?
Jul 29, 2020
The current practices doc says:
I have interpreted this to imply that unselected options in a single-select listbox should have no value for
aria-selected
, vs multi-select listboxes where all options are expected to have a value, be ittrue
orfalse
.Is this correct? Either way, it would be good to make this explicit in this document, as the current phrasing leaves this up to interpretation.
The text was updated successfully, but these errors were encountered: