Jaa


ariaHidden property

Sets or retrieves the hidden state of this element.

 

Syntax

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

Property values

Type: BSTR

The hidden state.

(true)

The element is hidden (not visible).

(false)

Default. The element is visible.

Standards information

Remarks

Used in Roles No role required.

 

This IHTMLElement5::ariaHidden state indicates whether an element is visible or hidden.

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-Hidden