Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Listbox Examples - Dependencies - Utils.js? #842
Collapsable List Box
I'm still getting erratic behavior such as, although it now sort of works, it allows "enter" or "down arrow" to activate/expand the list box and allows use of arrows to move to an item in the list, however, on the second press of the down arrow it collapses the list box and focus goes to top of the page ( latest Chrome browser ).
Wanted to throw this out there to see if I'm missing something else? Otherwise I will proceed to "debug" and "fix" it as is.
using these resources:
utils.js is used by other examples too:
@mcking65 Should this dependency be added to each of the examples or should we add a more general notice that other dependecies may exist?
Follow up to original post:
Although I wasn't able to get the example working quite right locally on its own ( obviously works on the aria practices site so I must still be missing something ) I was able to implement it and easily make it work in an actual implementation on our own sites. Tweaked it a bit for our needs as well and working great!