New to Kendo UI for Vue? Start a free 30-day trial

ColorGradient Keyboard Support

The ColorGradient is a single-tab-stop component. Its inner navigation is activated by pressing the Enter key. In that case the focus remains trapped within the component elements. The user returns to page navigation by pressing Esc.

Keyboard Shortcuts

When wrapper is focused

ShortcutBehavior
EnterActivates inner ColorGradient navigation.
TabNavigates to the next focusable element on the page.
Shift + TabNavigates to the previous focusable element on the page.

When inner navigation is activated

ShortcutBehavior
EscMoves focus back to wrapper element. Deactivates inner ColorGradient navigation.
TabNavigates to the next focusable element in the ColorGradient. If current focus is on the last element, moves focus to the first focusable item in the component.
Shift + TabNavigates to the previous focusable element in the ColorGradient. If current focus is on the first element, moves focus to the last focusable item in the component.
EnterFor button items, ColorGradient executes the currently focused button action.

Inside the ColorGradient, there is a two-dimensional Slider element implementing the following arrow keys shortcuts:

ShortcutBehavior
Arrow UpMoves slider up by large step.
Arrow DownMoves slider down by large step.
Arrow LeftMoves slider left by large step.
Arrow RightMoves slider right by large step.
Shift + Arrow UpMoves slider up by small step.
Shift + Arrow DownMoves slider down by small step.
Shift + Arrow LeftMoves slider left by small step.
Shift + Arrow RightMoves slider right by small step.
Example
View Source
Change Theme: