Skip to main content

ColorPicker

The ColorPicker is a compact color selection component providing a wide color spectrum and predefined palette.

Accessibility Support

Out of the box, the Telerik and Kendo UI Colorpicker provides extensive accessibility support and enables users with disabilities to acquire complete control over its features.

The Colorpicker is compliant with the Web Content Accessibility Guidelines (WCAG) 2.2 standards and Section 508 requirements, follows the Web Accessibility Initiative - Accessible Rich Internet Applications (WAI-ARIA) best practices for implementing the keyboard navigation and provides options for managing its focus and is tested against the most popular screen readers.

ColorPicker

ARIA Attributes

AttributeDescription
role="combobox"The focusable element should have role combobox (input with popup).
aria-label|aria-labelledbyThe component needs an accessible name including the currently selected value.
aria-haspopup="dialog"Indicates the component has a Dialog Popup.
aria-expanded="true"|\"false"Announces the visibility state of the popup.
aria-controlsPoints to the popup element.
tabindex="0"The element must be focusable.
aria-disabled="true"Rendered only when the picker is disabled.
tabindex="-1"The inner ColorGradient must be removed from the page tab sequence.

Keyboard Navigation

TriggerBehavior
Alt/Opt(Mac) + ArrowDownOpens pop up
EnterOpens pop up
Alt/Opt(Mac) + ArrowUp or EscapeCloses popup
EscapeCloses Popup and moves focus back to k-colorpicker element.
TabNavigates to the next focusable element in the Popup. If current focus is on the last element, moves focus to the first focusable item in the Popup.
Shift + TabNavigates to the previous focusable element in the Popup. If current focus is on the first element, moves focus to the last focusable item in the Popup.
EnterFor button items, executes the currently focused button action.
EscapeIf any of the colorgradient elements are currently focused, bring focus back to the k-colorpicker element.

UX Behavior

FeatureDescription
PopupOpens a color picker popup when the swatch button is clicked.
Color previewThe trigger button reflects the currently selected color.
Flat modeCan be rendered inline without a popup wrapper.
Gradient and palette tabsTabs let the user switch between gradient picker and palette.

Testing

The Colorpicker has been extensively tested automatically with axe-core and manually with the most popular screen readers.

Screen Readers

The Colorpicker has been tested with the following screen readers and browsers combinations:

EnvironmentTool
FirefoxNVDA
ChromeJAWS
Microsoft EdgeJAWS
Feedback