Syncfusion AI Assistant

How can I help you?

Accessibility in Angular Range Slider component

26 Feb 20264 minutes to read

The Range Slider component conforms to accessibility standards and guidelines, including ADA, Section 508, WCAG 2.2 standards, and WCAG roles commonly used to evaluate accessibility.

The accessibility compliance for the Range Slider component is outlined below.

Accessibility Criteria Compatibility
WCAG 2.2 Support Yes
Section 508 Support Yes
Screen Reader Support Yes
Right-To-Left Support Yes
Color Contrast Yes
Mobile Device Support Yes
Keyboard Navigation Support Yes
Accessibility Checker Validation Yes
Axe-core Accessibility Validation Yes
Yes - All features of the component meet the requirement.
Intermediate - Some features of the component do not meet the requirement.
No - The component does not meet the requirement.

WAI-ARIA attributes

The Range Slider component followed the WAI-ARIA patterns to meet the accessibility. The following ARIA attributes are used in the Range Slider component:

Attributes Purpose
role=slider Defines the slider as an interactive control for selecting values within a range.
aria-valuemin Indicates the minimum value of the slider.
aria-valuemax Indicates the maximum value of the slider.
aria-valuenow Indicates the current value of the slider.
aria-valuetext Returns the current text of the slider.
aria-orientation Indicates whether the Slider is oriented horizontally or vertically.
aria-label Provides an accessible name for the Slider, serving as label text for the Slider’s left and right buttons (for increment and decrement).

Keyboard interaction

The Range Slider component follows keyboard interaction guidelines to support users of assistive technologies and keyboard-only navigation. The following keyboard shortcuts enable efficient slider control.

Press To do this
Right Arrow/Up Arrow Increase the Slider value.
Left Arrow/Down Arrow Decrease the Slider value.
Home Moves to the start value (for Range Slider when the second thumb is focused and the Home key is pressed, it moves to the first thumb value).
End Moves to the end value (for Range Slider when the first thumb is focused and the End key is pressed, it moves to the second thumb value).
Page Up Increases the Slider by largeStep value.
Page Down Decreases the Slider by largeStep value.

Ensuring accessibility

The Range Slider component’s accessibility standards compliance is verified using the accessibility-checker and axe-core tools during automated testing. The following sample demonstrates the accessibility features of the Range Slider component. Open the sample in a new window to evaluate component accessibility with accessibility validation tools.

See also