Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft