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
Product: axe-core Expectation: Pass 'aria-required-attr' rule on combobox with no 'aria-controls'/'aria-owns' when 'aria-expanded'=false Actual: Critical error "Required ARIA attribute not present: aria-controls" is triggered. Motivation: The part of WAI-ARIA that the rule refers to in part applicable to combobox mentions that
When a combobox is expanded, authors MUST ensure it contains or owns an element that has a role of listbox, tree, grid, or dialog. This element is the combobox popup. When the combobox is expanded, authors MUST set aria-controls on the textbox element to a value that refers to the combobox popup element.
i.e. 'aria-controls' is only required when the combobox is in expanded state (which mentioned dropdown implementation complies with, as the listbox part is dynamically inserted and not present in the DOM before expansion). There are no other mentions of these attributes with regards to behavior in a collapsed state. But axe-core requires those attributes unconditionally.
Product: axe-core
Expectation: Pass 'aria-required-attr' rule on combobox with no 'aria-controls'/'aria-owns' when 'aria-expanded'=false
Actual: Critical error "Required ARIA attribute not present: aria-controls" is triggered.
Motivation: The part of WAI-ARIA that the rule refers to in part applicable to combobox mentions that
i.e. 'aria-controls' is only required when the combobox is in expanded state (which mentioned dropdown implementation complies with, as the listbox part is dynamically inserted and not present in the DOM before expansion). There are no other mentions of these attributes with regards to behavior in a collapsed state. But axe-core requires those attributes unconditionally.
The text was updated successfully, but these errors were encountered: