ARIA Listbox must contain Options
heatherpekrul opened this issue · comments
I'm using the Axe Coconut Chrome extension (https://chrome.google.com/webstore/detail/axe-coconut/iobddmbdndbbbfjopjdgadphaoihpojp?hl=en) to test for accessibility and ADA compliance, and I'm seeing an issue being raised on the options generated by Awesomplete inside the UL with the role "listbox". Here is the error:
Issue description
Ensures elements with an ARIA role that require child roles contain themImpact: critical
Element location
#awesomplete_list_1
Element sourceTo solve this violation, you need to: Fix the following: Required ARIA child role not present: option
Solutions:
Simply adding role="option" onto the generated LIs inside the UL with the role "listbox" fixes the issue.