Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets or retrieves the current value of the element.
![]() |
Syntax
object.setAttribute("ariaValuenow",value);var value = object.getAttribute("ariaValuenow");
Property values
Type: BSTR
The current value.
Standards information
- Accessible Rich Internet Applications (WAI-ARIA) 1.0, Section 6.6
Remarks
Used in Roles | range |
This property applies to elements with an ARIA role of progressbar
, slider
, or spinbutton
.
The IHTMLElement5::ariaValuemin and IHTMLElement5::ariaValuemax properties together specify the allowable range of values, whereas the IHTMLElement5::ariaValuenow 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)
.