Keyboard interaction
| Key | Action |
|---|---|
| Up and down arrows | Steps the value up or down. |
| Page Up and Page Down | Steps ten times. |
| Home and End | Goes to the minimum or maximum. |
| Enter | Commits what was typed. |
Accessibility notes
- The input is a
spinbuttonwitharia-valuenow,aria-valuemin,aria-valuemax, and the formatted value asaria-valuetext. - The step buttons stay out of the tab order, since the keys do the same job, but they are named and linked to the input with
aria-controls. - Label the input with
aria-labelor a<label>.