New to Telerik UI for ASP.NET MVC? Download free 30-day trial

ASP.NET MVC ColorPicker Keyboard Navigation

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
keyboard_navigation.cshtml
Keyboard_NavigationController.cs

Also available for:

CLIENT-SIDE API SERVER-SIDE API

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 Telerik UI for ASP.NET MVC ColorPicker is always available as demonstrated in this demo.

The ColorPicker supports the following keyboard shortcuts:

Focus

  • Access key + s Focuses the palette-based picker.

Supported keys and user actions (palette-based picker)

  • Enter Opens the popup (when the popup is closed).
  • Tab Navigates to the next focusable element in the popup.
  • Shift + Tab Navigates to the previous focusable element in the popup.
  • Enter For buttons, executes the currently focused button's action.
  • Left Arrow Selects previous color.
  • Right Arrow Selects next color.
  • Esc Cancels the selection and closes the popup.

Supported keys and user actions (HSV picker)

  • Enter Opens the popup (when the popup is closed).
  • Tab Navigates to the next focusable element in the popup.
  • Shift + Tab Navigates to the previous focusable element in the popup.
  • Arrows Updates the saturation/value in the gradient rectangle.
  • Ctrl + Left/Right arrow Updates the hue slider.
  • Ctrl + Up/Down arrow Updates the opacity slider (when opacity is present).
  • Shift Hold Shift for fine-tuning.
  • Enter For buttons, executes the currently focused button's action.
  • Esc Cancels the selection and closes the popup.

Additional Apps

This ColorPicker example is part of a unique collection of hundreds of ASP.NET MVC demos, with which you can see all Telerik ASP.NET MVC 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 the ThemeBuilder.

Support & Learning Resources

Additional Resources