w3c / aria-practices

WAI-ARIA Authoring Practices Guide (APG)
https://www.w3.org/wai/aria/apg/
Other
1.21k stars 344 forks source link

ARIA APG - Combobox - Using aria-activedescendant vs Roving Tabindex #2684

Open LaurenceRLewis opened 1 year ago

LaurenceRLewis commented 1 year ago

I notice that in the Combobox example there is a note for using aria-activedescendant.

"DOM Focus is maintained on the combobox and the assistive technology focus is moved within the listbox using aria-activedescendant as described in Managing Focus in Composites Using aria-activedescendant. Selection follows focus in the listbox; the listbox allows only one suggested value to be selected at a time for the combobox value."

However, there is no referrence to using Roving tabindex. Is this an oversight, or is there no use case for role combobox / with a Listbox popup and Roving Tabindex?

JAWS-test commented 1 year ago

I think that's a mistake. In all cases (and not only for combobox with dialog) the other focus method should also be allowed, especially since it has advantages (e.g. focused element automatically in visible area)