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
Still results in axe errors, because this only gets executed and added on focus.
Workaround/hack 2:
// after new autoCompleteconstunlabelledListbox=document.querySelector('ul[role="listbox"]:not([aria-label])');if(unlabelledListbox){unlabelledListbox.setAttribute('aria-label','My Label');}
axe
throws the following error:The node:
To Reproduce
Run
axe
on an autocomplete element.Expected behavior
axe
shouldn't throw an error/thelistbox
should have a label.The text was updated successfully, but these errors were encountered: