Export (0) Print
Expand All

ariaExpanded property

Sets or retrieves the expanded state of this element.

Internet Explorer 8

 

Syntax

object.setAttribute("ariaExpanded",value);var value = object.getAttribute("ariaExpanded");

Property values

Type: BSTR

The expanded state.

(true)

The element is expanded.

(false)

The element is not expanded.

(undefined)

Default. The element state is unknown.

Standards information

Remarks

Used in Roles
button
document
link
section
sectionhead
separator
window

 

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)
W3C ARIA-Expanded

 

 

Community Additions

ADD
Show:
© 2014 Microsoft