aria-haspopup attribute | ariaHaspopup property

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

Internet Explorer 8

Syntax

HTML
<element aria-haspopup="p" ... >
JavaScript
object.setAttribute("aria-haspopup",value);var value = object.getAttribute("aria-haspopup");

Property values

Type: String

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

 

 

Show:
© 2014 Microsoft