ariaExpanded property
Sets or retrieves the expanded state of this element.
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
- Accessible Rich Internet Applications (WAI-ARIA) 1.0, Section 6.6
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)
.