#

API Docs for: 3.10.3
Show: Inherited Protected Private Deprecated

# node-focusmanager Module

User Guide & Examples
Defined in: `node-focusmanager/js/node-focusmanager.js:71`

Deprecated: 3.9.0

The Focus Manager Node Plugin makes it easy to manage focus among a Node's descendants. Primarily intended to help with widget development, the Focus Manager Node Plugin can be used to improve the keyboard accessibility of widgets.

When designing widgets that manage a set of descendant controls (i.e. buttons in a toolbar, tabs in a tablist, menuitems in a menu, etc.) it is important to limit the number of descendants in the browser's default tab flow. The fewer number of descendants in the default tab flow, the easier it is for keyboard users to navigate between widgets by pressing the tab key. When a widget has focus it should provide a set of shortcut keys (typically the arrow keys) to move focus among its descendants.

To this end, the Focus Manager Node Plugin makes it easy to define a Node's focusable descendants, define which descendant should be in the default tab flow, and define the keys that move focus among each descendant. Additionally, as the CSS `:focus` pseudo class is not supported on all elements in all A-Grade browsers, the Focus Manager Node Plugin provides an easy, cross-browser means of styling focus.

DEPRECATED: The FocusManager Node Plugin has been deprecated as of YUI 3.9.0. This module will be removed from the library in a future version. If you require functionality similar to the one provided by this module, consider taking a look at the various modules in the YUI Gallery http://yuilibrary.com/gallery/.

This module provides the following classes:

- plugin.NodeFocusManager