WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Accessible sub menu items

for

From: Bryan Garaventa
Date: Jun 12, 2014 2:40AM


The issue describe may be a bug in VO, which should be explored, but JAWS
has supported aria-haspopup on ARIA Menus since version 11 using IE8.

Are you just setting focus to the container element, or to each child within
the menu?

Both of these are handled differently, but focus movement and the
positioning of the requisite ARIA attributes is critical for this to work
correctly.

For example, if you set focus to each child, but the element that you set
focus to is not the same element that includes role=menuitem, then this and
its supporting attributes like aria-haspopup will not work correctly.

Similarly, if you set focus to the container element and control selection
without moving focus, then aria-activedescendant must be used to handle
which menuitem is active. As with child node navigation however, if you are
pointing to the ID of an element that is not the same element that includes
role=menuitem, then this will not work correctly either.

Please test the sample I sent using JAWS, and you will hear 'submenu' when
you arrow up and down within the menu items. Confirmed using JAWS 11 through
15 in IE 8 through 11, and in FF.