Skip to content

Find what you need, instantly

Search components, ARIA roles & attributes, and WCAG criteria.

All roles

slider

Widget role

A control for choosing a value from a range by dragging or using the arrow keys. It exposes aria-valuenow, aria-valuemin, and aria-valuemax, plus aria-valuetext when the number needs a readable form. Prefer a native `<input type='range'>` unless you need custom behavior.

Used on
A control for choosing a value from a range. Prefer <input type="range">.
Required properties
  • aria-valuenow
  • aria-valuemin
  • aria-valuemax
Accessible name
Required, via aria-labelledby or aria-label.
Used by components
Example
role="slider"
<div role="slider" tabindex="0"
  aria-valuenow="60" aria-valuemin="0"
  aria-valuemax="100" aria-label="Volume">…</div>
See a live, tested example on the Slider page