17 Feb 20223 minutes to read

The Slider is characterized with complete ARIA Accessibility support that helps to access by on-screen readers and other assistive technology devices. This control is designed with the reference of guidelines document given in the WAI ARAI Accessibility Practices.

The Slider control uses the Slider role and the following ARIA properties for its element based on the state.

Properties Functionalities
aria-valuenow It Indicates the current value of the slider.
aria-valuetext Returns the current text of the slider.
aria-valuemin It Indicates the Minimum value of the slider.
aria-valuemax It Indicates the Maximum value of the slider.
aria-orientation It Indicates the Slider Orientation.
aria-label Slider left and right button label text (increment and decrement).
aria-labelledby It indicates the name of the Slider.

Keyboard interaction

The Keyboard interaction of the Slider control is designed based on the WAI-ARIA Practices described for Slider. Users can use the following shortcut keys to interact with the Slider.

Keyboard shortcuts Actions
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.
@using Syncfusion.EJ2
@using Syncfusion.EJ2.Inputs

    @Html.EJS().Slider("minRangeObj").Value(30).Step(10).Type(SliderType.MinRange).ShowButtons(true).Ticks(new SliderTicksData { Placement = Placement.After, LargeStep = 20, SmallStep = 10, ShowSmallTicks = true }).Tooltip(new SliderTooltipData { IsVisible = true, Placement = TooltipPlacement.Before, ShowOn = TooltipShowOn.Always }).Render()
    @Html.EJS().Slider("weekdaysObj").Min(0).Max(6).Step(1).Ticks(new SliderTicksData { Placement = Placement.After, LargeStep = 1 }).Tooltip(new SliderTooltipData { IsVisible = true, Placement = TooltipPlacement.Before }).RenderingTicks("renderingTicks").TooltipChange("onTooltipChange").Render()

function renderingTicks(args) {
    // Weekdays Array
    var daysArr = ['Sunday','Monday','Tuesday','Wednesday','Thrusday','Friday','Saturday'];
    // Customizing each ticks text into weeksdays
    args.value = daysArr[parseFloat(args.value)];
function onTooltipChange(args) {
    // Customizing tooltip to display the Day (in numeric) of the week
args.tooltipText = 'Day ' + (Number(args.tooltipText) + 1).toString();
public ActionResult Accessbility()
    return View();

ASP .NET Core - Slider - Accessibility