This technique demonstrates how to use the aria-valuemax attribute.
aria-valuemax attribute is used to define the maximum value allowed for a range widget such as a slider, spinbutton or progressbar. If the
aria-valuenow has a known maximum and minimum, the author SHOULD provide properties for
aria-valuemin. The value of
aria-valuemax MUST be greater than or equal to the value of
String representation of a number
Possible effects on user agents and assistive technology
aria-valuemax is indeterminate, or if
aria-valuemin is not less than or equal to the value of
aria-valuemax, this creates an error condition that will be handled by the assistive technology.
The snippet below shows a simple slider with a maximum value of 10.
<div role="slider" aria-valuenow="4" aria-valuemin="1" aria-valuemax="10">
Used With ARIA Roles
Related ARIA techniques
TBD: Add support information for common UA and AT product combinations