Partager via


ariaValuenow property

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

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).

 

See also

Accessible Rich Internet Applications (ARIA)