aria-valuetext attribute | ariaValuetext property
Defines the human-readable text alternative of aria-valuenow for a range control.
- Accessible Rich Internet Applications (WAI-ARIA) 1.0, Section 6.6
|Used in Roles||
You should only set the aria-valuetext attribute when the value of a slider or progress bar cannot be accurately represented as a number.
For example, a slider might display values of
large. In this case, the values of aria-valuenow could range from 1 through 3 to indicate the position of the slider, and the aria-valuetext could contain the equivalent size value to present to the user.
If the aria-valuetext attribute is absent, the assistive technologies will rely solely on the aria-valuenow attribute for the current value.