WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Is this Navigation or a Menu? How should it work?

for

From: Jonathan Cohn
Date: May 9, 2018 12:02PM


Thanks my fault at not actually reviewing code. Probably should be that the aria name "Primary" should be assigned to the <nav>

What VoiceOver on Macintosh 10.11 indicates while reading by DOM mode:
navigation 1 item
group primary navigation 6 items

If the UL had ben marked as navigation as I thought, I believe that VoiceOver would have said:
Navigation Primary 6 items

Sorry for the confusion,

Jonathan

I reviewed with VoiceOver on my Macintosh running 10.11 (probably should have checked 10.13 also, but that box is is not where I am). There appears to be a

> On May 9, 2018, at 12:46 PM, glen walker < <EMAIL REMOVED> > wrote:
>
> Jonathan, I'm not hearing a second navigation area with either JAWS (on IE
> 11) or NVDA (on firefox 56 - I don't use Firefox ESR and the latest firefox
> doesn't have the fix yet for JAWS).
>
> However, there is an extra label in the code on the <ul>. But since the
> <ul> never receives focus, I don't hear the aria-label ("Primary
> Navigation"). Is that what you're hearing? What combination AT/browser
> are you using?
>
>
> On Wed, May 9, 2018 at 8:47 AM, Jonathan Cohn < <EMAIL REMOVED> > wrote:
>
>> very good points here.
>>
>> Two additional points:
>> First, it appears on my that there is a Second nav region surrounding the
>> labeled nav region. I didn't look at the code, but I expect a div with
>> role=navigation is enclosing a nav element. If the designers are concerned
>> that older systems won't recognize the nav element that role should be on
>> the nav element.
>>
> > > >