loading...

re: Creating A Custom, Accessible Drop Down VIEW POST

TOP OF THREAD FULL DISCUSSION
re: A small addition: it could also help to select the correct WAI ARIA roles for the elements, i.e. <ul role="listbox"> <li role="option...
 

One more thing I forgot to mention. You should also ensure that the functionality on different screen sizes works. Imagine a country list with 100+ countries and a web app that cuts of at the bottom of the screen. A maximum height of your options list with overflow: auto; will help, but doesn't solve all edge cases.

code of conduct - report abuse