aria-haspopup - Accessibility | MDN (2024)

In ARIA, interactive menus, listboxes, trees, grids, and dialogs that appear on top of other content when triggered to appear are considered "popups". These popups are triggered by one or more interactive elements on the page. The availability and type of popup the interactive element will trigger should be identified with the aria-haspopup state.

The presence of the aria-haspopup, with one of six enumerated values - menu, listbox, tree, grid, dialog, or true - indicates the element can trigger a popup and what kind of popup will be displayed. In turn, the element that pops up must be of the role indicated. The value true is the same as menu. Any other value, including an empty string or other role, is treated as if false were set.

A tooltip is not considered to be a popup in this context, as it is not interactive.

Note: Make sure the role of the element that serves as the container for the popup content is a menu, listbox, tree, grid or dialog and that the value of aria-haspopup matches the role of the popup container.

The aria-haspopup state informs assistive technology users that there is a popup and the type of popup it is, but provides no interactivity. For the popup to be keyboard accessible, make sure the element with aria-haspopup is focusable and can trigger the popup, that there is a keyboard mechanism for opening the popup, and that the popup element manages focus of all its descendants.

Note: ARIA does not enable accessible functionality. ARIA only conveys the intended behavior of your functionality.

When creating a menubar, a parent menuitem should have aria-haspopup="menu" (or true) set. Any button that open a menu should have a role of button or, preferably, be a <button>, and also have aria-haspopup="menu" (or true) set. Tab elements with popup menus should also have aria-haspopup="menu" set. Note that menubars should not be used to create website navigation.

Note: Elements with role combobox have an implicit aria-haspopup value of listbox.

aria-haspopup - Accessibility | MDN (2024)
Top Articles
Square Reader Compatible Devices (Apple & Android Devices) | Square
Indexbeleggen | Wat is indexbeleggen? | Beleggingswiki
Parke County Chatter
Coverage of the introduction of the Water (Special Measures) Bill
Mopaga Game
Mcoc Immunity Chart July 2022
Phenix Food Locker Weekly Ad
What's New on Hulu in October 2023
Craigslist Free Grand Rapids
Wunderground Huntington Beach
Capitulo 2B Answers Page 40
Walthampatch
Earl David Worden Military Service
97226 Zip Code
Little Caesars 92Nd And Pecos
Dulce
Uncovering The Mystery Behind Crazyjamjam Fanfix Leaked
Mandy Rose - WWE News, Rumors, & Updates
Watson 853 White Oval
Cona Physical Therapy
The Creator Showtimes Near Baxter Avenue Theatres
Imagetrend Elite Delaware
Package Store Open Near Me Open Now
Account Now Login In
Melissa N. Comics
Flixtor Nu Not Working
new haven free stuff - craigslist
Capital Hall 6 Base Layout
ShadowCat - Forestry Mulching, Land Clearing, Bush Hog, Brush, Bobcat - farm & garden services - craigslist
Jay Gould co*ck
No Hard Feelings Showtimes Near Tilton Square Theatre
Craigslist Lakeside Az
About :: Town Of Saugerties
Eastern New Mexico News Obituaries
Albertville Memorial Funeral Home Obituaries
Topos De Bolos Engraçados
Armageddon Time Showtimes Near Cmx Daytona 12
Samantha Lyne Wikipedia
Flipper Zero Delivery Time
Unblocked Games Gun Games
Mathews Vertix Mod Chart
White County
Lorton Transfer Station
Stephen Dilbeck, The First Hicks Baby: 5 Fast Facts You Need to Know
Barber Gym Quantico Hours
99 Fishing Guide
How To Connect To Rutgers Wifi
Bomgas Cams
Who We Are at Curt Landry Ministries
Die 10 wichtigsten Sehenswürdigkeiten in NYC, die Sie kennen sollten
Latest Posts
Article information

Author: Moshe Kshlerin

Last Updated:

Views: 5867

Rating: 4.7 / 5 (77 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Moshe Kshlerin

Birthday: 1994-01-25

Address: Suite 609 315 Lupita Unions, Ronnieburgh, MI 62697

Phone: +2424755286529

Job: District Education Designer

Hobby: Yoga, Gunsmithing, Singing, 3D printing, Nordic skating, Soapmaking, Juggling

Introduction: My name is Moshe Kshlerin, I am a gleaming, attractive, outstanding, pleasant, delightful, outstanding, famous person who loves writing and wants to share my knowledge and understanding with you.