Combobox: role="combobox"
attribute is on the wrong element causing Accessibility Checker error
#7331
Labels
role="combobox"
attribute is on the wrong element causing Accessibility Checker error
#7331
background IBMa/equal-access#282 (comment)
Our Combobox has a wrapper div with the attribute
role="combobox"
. This attribute should be on the input itself. This is causing the below AC violation.Sort of a weird error but essentially since AC expects -- as per WCAG recommendation -- for the combobox role to be on the input and it expects that input to receive focus first in the DOM AND instead something else gets focus -- we get this error.
Moving that attribute to the input itself should fix this issue.
The text was updated successfully, but these errors were encountered: