Skip to content

A plugin for jQuery to iterate through all elements reachable via tab/shift-tab

License

Notifications You must be signed in to change notification settings

HoffmannP/jquery.tabstop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tabStop

In the need to mess with the focus of elements this plugin gives you the next or previous 'focusable' element according to the [HTML5 Standard Draft] 1.

Call $.tabStop( direction ) where direction may be a negative value to receive the previous element, else the next element is given. If the jQuery object on which this method is called is empty the next (or previous) element after the active element is returned. If the first element of the jQuery object is not focusable itself the first focusable element in the document is returned. The order of elements is handled as circle, as next element after the last focusable element you will receive the first and the other way around.

About

A plugin for jQuery to iterate through all elements reachable via tab/shift-tab

Resources

License

Stars

Watchers

Forks

Packages

No packages published