LeaVerou / awesomplete

Ultra lightweight, usable, beautiful autocomplete with zero dependencies.
http://leaverou.github.io/awesomplete/
MIT License
6.97k stars 611 forks source link

Add aria-controls attribute to input element #17257

Closed weeblr closed 3 months ago

weeblr commented 3 months ago

Currently using aria-owns attribute to relate input and listbox, per ARIA 1.0. Added use of aria-controls, per ARIA 1.1. Left aria-owns in place for B/C and also makes sense as list is a sibling of input anyway.

weeblr commented 3 months ago

@LeaVerou Thanks for merging!

Will this be in an update to the npm package or is it only distributed through https://projects.verou.me/awesomplete/?

LeaVerou commented 3 months ago

I guess I should publish it, it's been a long time!

weeblr commented 3 months ago

That'd be great, thank you!

LeaVerou commented 3 months ago

Done!

Wow this package has some old stuff. bower.json lol, blast from the past 🤣

weeblr commented 3 months ago

Thanks for taking the time to update the package, it'll be useful!