Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

aria-valuenow attribute | ariaValuenow property

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.

Standards information

Remarks

Used in Roles
range

 

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

The aria-valuemin and aria-valuemax properties together specify the allowable range of values, 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

Accessible Rich Internet Applications (ARIA)

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.