A widget with stimulus-autocomplete triggers a warning in Google Chrome devtools "Lighthouse" accessibility section:
[aria-*] attributes do not match their roles
Each ARIA `role` supports a specific subset of `aria-*` attributes. Mismatching these invalidates the `aria-*` attributes.
Solution: add `role="combobox" to the parent element. Example:
A widget with stimulus-autocomplete triggers a warning in Google Chrome devtools "Lighthouse" accessibility section:
Solution: add `role="combobox" to the parent element. Example:
Please check if this should be added to the code or to the documentation. Thank you!