Accessibility Support
Out of the box, the Telerik and Kendo UI Slider provides extensive accessibility support and enables users with disabilities to acquire complete control over its features.
The Slider 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.
Slider
ARIA Attributes
| Attribute | Description |
|---|---|
role="slider" | Sets the proper role for Slider. |
aria-label|aria-labelledby|title | The Slider needs an accessible name to be assigned to it. |
aria-invalid="true" | Rendered only when the Slider is in a form and announces the invalid state. |
aria-valuenow | Specifies the currently selected value in the Slider. |
aria-valuemin | Specifies the minimum available value in the Slider. |
aria-valuemax | Specifies the maximum available value in the Slider. |
aria-valuetext | Specifies a human-readable text alternative to the numeric value. Provided by consuming applications. |
tabindex="0" | The element must be focusable. Disabled sliders are removed from tab order. |
aria-orientation="vertical" | Present only when slider is vertical. |
aria-disabled="true" | Rendered only when the Slider is disabled. |
aria-readonly="true" | Rendered only when the Slider is readonly. Readonly sliders remain focusable but their value cannot be changed. |
tabindex="-1" | Excludes the buttons from the natural tab order. Keyboard users use arrow keys on the drag handle. |
title | Provides a tooltip describing the button action (e.g., "Decrease" or "Increase"). |
aria-hidden="true" | Hides the tick list from assistive technologies. Tick values are redundant with the drag handle value attributes. |
role="presentation" | Removes semantic meaning from individual tick elements. Ticks are visual-only markers. |
title | Represents the value associated with the respective tick. |
Keyboard Navigation
| Trigger | Behavior |
|---|---|
ArrowDown or ArrowLeft | Decreases value by small step. |
ArrowUp or ArrowRight | Increases value by small step. |
Home | Sets value to the Min value. |
End | Sets value to the Max value. |
PageUp | Increases value by large step. |
PageDown | Decreases value by large step. |
UX Behavior
| Feature | Description |
|---|---|
| Drag | The handle is dragged along the track to change the value. |
| Click | Clicking on the track moves the handle to that position. |
| Range mode | Two handles define a start and end value when range selection is enabled. |
| Tick marks | Optional tick marks indicate fixed value intervals along the track. |
| Disabled state | When disabled, the handle cannot be moved. |
Testing
The Slider has been extensively tested automatically with axe-core and manually with the most popular screen readers.
Screen Readers
The Slider has been tested with the following screen readers and browsers combinations:
| Environment | Tool |
|---|---|
| Firefox | NVDA |
| Chrome | JAWS |
| Microsoft Edge | JAWS |