Categories
HTML Accessibility
aria-hasPopUp less is more
I first tested and reported support in the critically acclaimed 2021 article hasPopup hasPoop. I then retested 09/02/2023 – JAWS and NVDA, no change to results reported in 2021.
Movement at the station
latest testing…
Elation
The latest version of JAWS 2023 June update (released 20/6/2023) now supports all aria-haspopup values on button and link.
Despondency
I thought NVDA had also implemented the same support recently, but on testing it found that although support has been implemented it has not yet made it into the release version.😑
Minimalism
I also found that Narrator now announces “has pop up” when the attribute is present on links and buttons, but does not announce the token values.
The Theory
In theory aria-haspopup can be really useful as a hint to screen reader peeps as to what type of content will pop up when they activate a control.
values for aria-haspopup
Value
Description
false (default)
Indicates the element does not have a popup.
true
Indicates the popup is a menu.
menu
Indicates the popup is a menu.
listbox
Indicates the popup is a listbox.
tree
Indicates the popup is a tree.
grid
Indicates the [...]