WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Question on NVDA behaviour when reading menu items

for

From: Birkir R. Gunnarsson
Date: Jul 2, 2021 5:15AM


The trigger element definitely has an aria-haspopup attribute (with
any value), NVDA will announce "menu submenu" when it encounters it.
If you, on top of that use role="menuitem" on the trigger or even
role="menu" on its container, you get additional "menu" announcements.
And, yes, definitely down to an incorrect menu pattern.
If these are navigational menus this pattern shouldn't be used at all,
justuse a standard button + <na> element with a list of links.


On 7/2/21, Steve Green < <EMAIL REMOVED> > wrote:
> It sounds like one of the elements probably has role="menu", but that alone
> wouldn't cause what you hear. You may find that one or more elements has
> aria-label="menu" too.
>
> My experience is that when role="menu" is present, it is invariably
> implemented incorrectly in numerous ways. I suggest you compare the coding
> with the ARIA design pattern.
>
> Steve Green
> Managing Director
> Test Partners Ltd
>
>
>