New to KendoReactLearn about KendoReact Free.

Keyboard Navigation

Managing the Focus

The PanelBar is a single-tab-stop component. It implements the roving tab index strategy. On initial load - only first item will contain tabindex="0" and navigation keys move the focus to other nodes and change the respective tabindex. When the focus is moved away from the treeview, the tabindex="0" remains on the last focused node.

Note that the ARIA specification and its implementation in the PanelBar component concerns only the item > items scenario. It does not treat the item > content scenario, which is not supported in terms of accessibility in the component. For such implementations, please use the ExpansionPanel instead, or a set of seleral ExpansionPanels.

Keyboard Shortcuts

ShortcutBehavior
Arrow UpFocuses the previous PanelBar item. If no previous item is available, focuses the last item.
Arrow DownFocuses the next PanelBar item. If no next item is available, focuses the first item.
Arrow LeftCollapses an expanded item. If the item is collapsed, focuses its parent.
Arrow RightExpands a collapsed item. If the item is expanded, focuses its first child node.
HomeMoves focus to the first item in the PanelBar without expanding or collapsing an item.
EndMoves focus to the last item in the PanelBar that is focusable without expanding an item.
EnterSelects the focused item and toggles the item if it is expandable. It also triggers its action (click or opening url).
SpaceSelects the focused item and toggles the item if it is expandable. It also triggers its action (click or opening url).

Resources

ARIA Authoring Practices: Treeview Pattern

ARIA Authoring Practices: Navigation Treeview

ARIA Authoring Practices: Developing a Keyboard Interface

Change Theme
Theme
Loading ...

See Also