autocomplete
autocomplete copied to clipboard
Autocomplete elements with combobox role are missing required children
Description
Running a Lighthouse scan on a page with the autocomplete element will produce the following warning under the Accessibility section:
Elements with an ARIA [role] that require children to contain a specific [role] are missing some or all of those required children.
Reproduction
Steps
- Go to https://www.algolia.com/doc/ui-libraries/autocomplete/introduction/what-is-autocomplete/
- Run a Lighthouse scan
- Scroll down to the Accessibility section
- See the warning
Expected behavior
No accessibility warnings.
Environment
- OS: Ubuntu 21.04
- Browser: Chrome 90.0.4430.212
- Autocomplete version: 1.0.1
Can confirm that I'm experiencing this too and there seems to be no way to configure this in the code.

Perhaps worth noting that I'm exclusively using detached mode (setting the detached breakpoint to 0px)?
Any update would be useful as it's bringing our lighthouse score down 👍