I was going through the Adding keyboard
navigation and noticed that Remi replaced this code
with this code
I had never seen anything like that. In the above mentioned article, Remi used
prev methods. However I wanted to know all the options I could pass since this feature is not very documented.
Snippet from jQuery source code
Here is code from jQuery that makes that above method work.
As you can see, a variety of selectors can be passed to jQueryCollection.
If you want to give a try, any jQuery enabled site should perform all of the below mentioned code without any problem.