aria-valuemax attribute | ariaValuemax property
Sets or retrieves the maximum value that a user can provide.
![]() |
Syntax
| HTML |
|---|
<element aria-valuemax="p" ... > |
| JavaScript |
|---|
object.setAttribute("aria-valuemax",value);var value = object.getAttribute("aria-valuemax");
|
Property values
Type: String
The maximum value.
Standards information
- Accessible Rich Internet Applications (WAI-ARIA) 1.0, Section 6.6
Remarks
| Used in Roles |
|
|---|
The aria-valuemin and aria-valuemax properties together specify the allowable range of an entry field, whereas the aria-valuenow property specifies the value currently selected.
Note For cross-browser compatibility, always use the WAI-ARIA attribute syntax to access and modify ARIA properties, for example
object.setAttribute("aria-valuenow", newValue). See also
Show:
