jQuery UI API - :tabbable Selector
Category
Usage
**Description:** Selects elements that the user can focus with the tab key.
jQuery( ":tabbable" )
Some elements are tabbable by nature, while others require an explicit positive tab index. In both cases, an element must be visible to be tabbable.
The following types of elements are tabbable if they do not have a negative tab index and are not disabled:input、select、textarea、button and object. Anchors are focusable if they have a href or a positive tabindex attribute, it is tabbable.area Elements are focusable if they are within a named map, have a href attribute and has a visible image using the map, it is tabbable. All other elements based solely on tabindex attributes and visibility are tabbable.
Note: Elements with a negative tab index are :focusable, not :tabbable。
Example
Selects the tabbable elements and highlights them with a red border.
:tabbable Selector 实例