jQuery ListBox Keyboard navigation

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
keyboard-navigation.jsp
KeyboardNavigationController.java

Also available for:

API REFERENCE

Description

Keyboard navigation provides all web and app users with a fast keyboard-only navigation capability and is also part of the web accessibility features—it enables users with disabilities to fully control their website or app access through the keyboard.

By default, users can only navigate to links, buttons, and form controls with a keyboard. The navigation order in which interactive items receive keyboard focus has to be logical and intuitive. Generally, keyboard navigation logic needs to follow the visual horizontal and vertical flow of the page, for example, left to right and top to bottom, header first followed by the main and then the page navigation.

The keyboard navigation of the Kendo UI for jQuery ListBox is always available as demonstrated in this demo.

This ListBox example is part of a unique collection of hundreds of jQuery demos, with which you can see all Kendo UI for jQuery components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in Kendo UI for jQuery Dojo or ThemeBuilder.

The ListBox supports the following keyboard shortcuts:

Focus

  • Alt + W Focuses the component.

Supported Keys and User Actions

  • Up Arrow Selects the previous item.
  • Down Arrow Selects the next item.
  • Del Deletes the selected items.
  • Ctrl + Space Selects or deselects an item.
  • Shift + Up Arrow Adds the previous item to the selected items.
  • Shift + Down Arrow Adds the next item to the selected items.
  • Ctrl + Right Arrow Adds the selected items to the connected ListBox.
  • Ctrl + Left Arrow Adds the selected items from the connected ListBox to the current ones.
  • Ctrl + Up Arrow Moves the focus to the previous item.
  • Ctrl + Down Arrow Moves the focus to the next item.
  • Ctrl + Shift + Up Arrow Shifts the selected items upwards.
  • Ctrl + Shift + Down Arrow Shifts the selected items downwards.
  • Ctrl + Shift + Left Arrow Transfers all items to the connected ListBox.
  • Ctrl + Shift + Right Arrow Transfers all items from the connected ListBox.

Support & Learning Resources

Additional Resources