Resonance Logo

Slider

A slider lets users select a value from a continuous or discrete range by dragging a thumb or using the keyboard, with accessible labels and live value announcements.

Demo

Click or tap the slider thumb and drag it left or right to change the value. You can also click the track to jump to a position. With keyboard focus on the thumb, use the Arrow keys to increment or decrement the value one step at a time, and Home / End to jump to the minimum or maximum.

Volume

50

Maximum Price

$150

What to Observe

Anatomy

[Anatomy image placeholder — will be added when assets are available]

  1. Label: A visible text label that identifies what the slider controls, associated with the input through a for/id relationship or aria-labelledby.
  2. Track: The horizontal or vertical bar that represents the full range of possible values.
  3. Thumb: The draggable handle that the user moves to select a value; it carries the ARIA role and value attributes.
  4. Value display: A text output showing the currently selected value, updated live as the thumb moves.
  5. Range indicators: Optional min and max labels at the ends of the track that give users context for the scale.

Accessibility Behavior

Common Mistakes

Why This Matters

Sliders are common in settings panels, media players, and data filters — contexts where users with motor disabilities, tremors, or visual impairments are just as likely to need control over values. A slider built only for mouse or touch dragging is completely inaccessible to keyboard users and provides no meaningful feedback to screen reader users about what they are adjusting or what value they have reached. Implementing the correct ARIA attributes and keyboard handlers transforms a frustrating barrier into a fully usable control for everyone.

Accessibility Validation

This component is validated against internal accessibility criteria aligned with WCAG standards, using our internally developed system, Resonance Specs.

To learn more, please contact us.

Code

Reference Implementation