ARIA Haspopup property

From Level Access Web Labs
Revision as of 16:18, 9 July 2014 by Sjoehl (talk | contribs)
Jump to navigation Jump to search

This page demonstrates uses of the aria-haspopup attribute.

Please note: According to the current ARIA specification the aria-haspopup attribute should only be used to indicate the presence of a menu, submenu, or button menu. The aria-haspopup attribute should not be used to indicate when a dialog or modal window will open. These are potential good uses for the attribute and may be addressed by future versions of the ARIA specification. Currently screen readers such as JAWS and NVDA will announce "menu", "sub menu", or "haspopup" for the different uses of this attribute.

Input text field

Input type button

Button element

Link

Colors

Span with role of button

Colors

Radio button