Accessibility
- Each handle has
role="slider", witharia-valuemin,aria-valuemax,aria-valuenow,aria-orientation, andaria-valuetextwhen avalueFormatteris set. - The handles are named by
label; the web component'saria-labelnames them instead. On a range, each handle's limit is the other handle's value. - Disabled, the handles have
aria-disabledand leave the tab order.
| Keys | Action |
|---|---|
| Arrows along the track | One step in the direction of the track as drawn: Right raises, except in right-to-left layouts; Up raises on a vertical slider, except with topToBottom |
| Arrows across the track | Up / Right raise, Down / Left lower |
Shift + arrows |
Ten steps |
Page Up / Page Down |
A tenth of the steps, between one and ten of them |
Home / End |
The minimum / maximum, or the other handle on a range slider |
Tab |
Moves between the handles of a range slider |