aria-haspopup attribute
This attribute indicates the availability and type of interactive popup element, such as menu or dialog.
Aria 1.0 values are well supported, such as true
, false
, and menu
(which is the same as true
). New values such as dialog
, grid
, listbox
, and tree
are not supported. This lack of support might cause significant issues for screen reader users. For example, aria-haspopup="listbox"
being announced as aria-haspopup="menu"
could lead users to think that something the behaves like a native <select>
(listbox
) is a menu
.
VoiceOver (iOS)
iOS
13.1-15.0.2
VoiceOver (MacOS)
Safari
13.0.2-15.1
Voice Control (iOS)
iOS
13.3.1-14.2
Voice Control (MacOS)
Safari
13.0.5-14.0.1