how to handle WAI ARIA role=“listbox”
I have a list of options from which one can be selected. For all intents and purposes HTML's <select> element covers this. Since we need a different visual presentation, I'm looking at using WAI ARIA role="listbox" . I'm unclear on how to use aria-activedescendant , aria-selected and aria-checked . Questions regarding focus/active state: If I use aria-activedescendant on the listbox to point to the [role="option"] that is currently active (has "virtual focus"), I would use [aria-selected] . How would best I tell the option element itself that it is active (has "virtual focus") to represent