Freigeben über


ariaHaspopup property

Indicates whether this element may display a pop-up window.

 

Syntax

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

Property values

Type: BSTR

A value indicating whether this element might display a pop-up window.

(true)

The element will show a menu or flyout when clicked.

(false)

Default. The element has no pop-up.

Standards information

Remarks

Used in Roles No role required.

 

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