This topic has not yet been rated - Rate this topic

aria-valuenow attribute | ariaValuenow property

[This documentation is preliminary and is subject to change.]

Sets or retrieves the current value of the element.

Internet Explorer 8

Syntax

HTML
<element aria-valuenow="p" ... >
JavaScript
object.setAttribute("aria-valuenow",value);var value = object.getAttribute("aria-valuenow");

Property values

Type: String

The current value.

Remarks

This property applies to elements with an ARIA role of progressbar, slider, or spinbutton.

The ariaValuemin and ariaValuemax properties together specify the allowable range of values, whereas the 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).

 

 

Build date: 2/13/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ