WebAIM - Web Accessibility In Mind

E-mail List Archives

Thread: Question on NVDA behaviour when reading menu items

for

Number of posts in this thread: 6 (In chronological order)

From: Geetha Shamanna
Date: Fri, Jul 02 2021 4:46AM
Subject: Question on NVDA behaviour when reading menu items
No previous message | Next message →

Hello all,

I am currently testing a page on which there are several menu items. On expanding one of the menus, NVDA reads 'Menu menu menu item Submit a meter reading', for example. What could be causing NVDA to repeat the word menu three times? It does this with other menu items on the page as well.

Many thanks.
Geetha

From: Mark Magennis
Date: Fri, Jul 02 2021 4:57AM
Subject: Re: [EXTERNAL] Question on NVDA behaviour when reading menu items
← Previous message | Next message →

Can you post the code?

-----Original Message-----
From: WebAIM-Forum < = EMAIL ADDRESS REMOVED = > On Behalf Of Geetha Shamanna
Sent: 02 July 2021 11:46
To: 'WebAIM Discussion List' < = EMAIL ADDRESS REMOVED = >
Subject: [EXTERNAL] [WebAIM] Question on NVDA behaviour when reading menu items

Hello all,

I am currently testing a page on which there are several menu items. On expanding one of the menus, NVDA reads 'Menu menu menu item Submit a meter reading', for example. What could be causing NVDA to repeat the word menu three times? It does this with other menu items on the page as well.

Many thanks.
Geetha

From: Steve Green
Date: Fri, Jul 02 2021 5:03AM
Subject: Re: Question on NVDA behaviour when reading menu items
← Previous message | Next message →

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


-----Original Message-----
From: WebAIM-Forum < = EMAIL ADDRESS REMOVED = > On Behalf Of Geetha Shamanna
Sent: 02 July 2021 11:46
To: 'WebAIM Discussion List' < = EMAIL ADDRESS REMOVED = >
Subject: [WebAIM] Question on NVDA behaviour when reading menu items

Hello all,

I am currently testing a page on which there are several menu items. On expanding one of the menus, NVDA reads 'Menu menu menu item Submit a meter reading', for example. What could be causing NVDA to repeat the word menu three times? It does this with other menu items on the page as well.

Many thanks.
Geetha

From: Birkir R. Gunnarsson
Date: Fri, Jul 02 2021 5:15AM
Subject: Re: Question on NVDA behaviour when reading menu items
← Previous message | Next message →

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 ADDRESS 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
>
>
> -----Original Message-----
> From: WebAIM-Forum < = EMAIL ADDRESS REMOVED = > On Behalf Of
> Geetha Shamanna
> Sent: 02 July 2021 11:46
> To: 'WebAIM Discussion List' < = EMAIL ADDRESS REMOVED = >
> Subject: [WebAIM] Question on NVDA behaviour when reading menu items
>
> Hello all,
>
> I am currently testing a page on which there are several menu items. On
> expanding one of the menus, NVDA reads 'Menu menu menu item Submit a meter
> reading', for example. What could be causing NVDA to repeat the word menu
> three times? It does this with other menu items on the page as well.
>
> Many thanks.
> Geetha
>
>
> > > http://webaim.org/discussion/archives
> > > > > >


--
Work hard. Have fun. Make history.

From: Geetha Shamanna
Date: Fri, Jul 02 2021 7:29AM
Subject: Re: Question on NVDA behaviour when reading menu items
← Previous message | Next message →

Thank you, this is very useful.

Geetha
-----Original Message-----
From: WebAIM-Forum < = EMAIL ADDRESS REMOVED = > On Behalf Of Birkir R. Gunnarsson
Sent: Friday, July 2, 2021 12:15 PM
To: WebAIM Discussion List < = EMAIL ADDRESS REMOVED = >
Subject: Re: [WebAIM] Question on NVDA behaviour when reading menu items

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 ADDRESS 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
>
>
> -----Original Message-----
> From: WebAIM-Forum < = EMAIL ADDRESS REMOVED = > On Behalf Of
> Geetha Shamanna
> Sent: 02 July 2021 11:46
> To: 'WebAIM Discussion List' < = EMAIL ADDRESS REMOVED = >
> Subject: [WebAIM] Question on NVDA behaviour when reading menu items
>
> Hello all,
>
> I am currently testing a page on which there are several menu items.
> On expanding one of the menus, NVDA reads 'Menu menu menu item Submit
> a meter reading', for example. What could be causing NVDA to repeat
> the word menu three times? It does this with other menu items on the page as well.
>
> Many thanks.
> Geetha
>
>
> > > archives at http://webaim.org/discussion/archives
> > > > archives at http://webaim.org/discussion/archives
> >


--
Work hard. Have fun. Make history.

From: glen walker
Date: Fri, Jul 02 2021 9:23AM
Subject: Re: Question on NVDA behaviour when reading menu items
← Previous message | No next message

One final thing to check, on Chrome, if you have a title attribute, it will
be appended to the accessible name (Firefox doesn't do that) even though
technically if an accessible name property is found before the title
attribute, then the title should be ignored.

See step 2i - https://www.w3.org/TR/accname-1.1/#step2

So if you have something like

<div role="menu" aria-haspopup="true" title="menu">menu</div>

then you'll probably hear "menu" repeated several times.