New to Kendo UI for jQuery? Download free 30-day trial

jQuery FlatColorPicker Keyboard Navigation

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
keyboard-navigation.html

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 FlatColorPicker is always available as demonstrated in this demo.

This FlatColorPicker 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 FlatColorPicker supports the following keyboard shortcuts:

Focus

  • Access key + w Focuses the FlatColorPicker wrapper.

Keyboard shortcuts available when FlatColorPicker wrapper is focused:

  • Tab navigates to the next focusable element after the FlatColorPicker
  • Shift + Tab navigates to the previous focusable element before the FlatColorPicker
  • Enter Activates the inner FlatColorPicker navigation.

Keyboard shortcuts available when inner FlatColorPicker navigation has been activated:

  • Tab When Gradient view is on, navigates to the next FlatColorPicker element
  • Shift + Tab When Gradient view is on, navigates to the previous FlatColorPicker Element
  • Enter / Space When the Toggle format button is focused, changes the format between RGB and HEX. When a View button is focused, switches to Palette or Gradient view. When a tile in the Palette view is focused it selects that tile color.
  • Arrow Up / Right When any of the FlatColorPicker's sliders is focused, increases its value. When the drag handle in the FlatColorPicker canvas is focused, moves it in the corresponding direction. When Palette view is active, moves focus in the respective direction.
  • Arrow Down / Left When any of the FlatColorPicker's sliders is focused, decreases its value. When the drag handle in the FlatColorPicker canvas is focused, moves it in the corresponding direction. When Palette view is active, moves focus in the respective direction.
  • Esc Returns focus to the wrapper element.

Support & Learning Resources

Additional Resources