aria-haspopup attribute | ariaHaspopup property
Indicates whether this element may display a pop-up window.
![]() |
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.
Standards information
- Accessible Rich Internet Applications (WAI-ARIA) 1.0, Section 6.6
Remarks
| Used in Roles |
|
|---|
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
Show:
