Difference between revisions of "ARIA Haspopup property"

From Level Access Web Labs
Jump to navigation Jump to search
(No difference)

Revision as of 01:12, 1 March 2015

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.

Note: The controls below have the attribute set but do not actually have a menu associated with them. Thus, nothing will happen when you interact with the control.

Input text field

Input type button

Button element

Link

Colors

Span with role of button

Colors

Radio button