Accessibility utility functions (keyboard, tab stops, etc.)
See the dijit/a11y reference documentation for more information.
Finds descendants of the specified root node.
Finds the following descendants of the specified root node:
Parameter | Type | Description |
---|---|---|
root | DOMNode |
Returns effective tabIndex of an element, either a number, or undefined if element isn't focusable.
Parameter | Type | Description |
---|---|---|
elem | Element |
Finds the descendant of the specified root node that is first in the tabbing order
Parameter | Type | Description |
---|---|---|
root | String | DOMNode | |
doc | Document |
Optional
|
Finds the descendant of the specified root node that is last in the tabbing order
Parameter | Type | Description |
---|---|---|
root | String | DOMNode | |
doc | Document |
Optional
|
Tests if element is tab-navigable even without an explicit tabIndex setting
Parameter | Type | Description |
---|---|---|
elem | Element |
Tests if an element is focusable by tabbing to it, or clicking it with the mouse.
Parameter | Type | Description |
---|---|---|
elem | Element |
Tests if an element is tab-navigable
Parameter | Type | Description |
---|---|---|
elem | Element |