WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: navigation menu: aria or HTML?

for

From: Andre Polykanine
Date: Oct 1, 2018 4:22PM


Hi Zsolt,
If you choose the <ul> solution, some screen readers (at least JAWS)
won't report the list as such, so: the L quick nav key reports "no
lists", you won't be able to navigate through items, and yes, you'll
break the main rule about not using items for other semantic roles if
possible. So go for the <nav> option.


--
With best regards from Ukraine,
Andre
Skype: menelion_elensule
Twitter (English only): @AndrePolykanine


------------ Original message ------------
From: Edelényi Zsolt Péter < <EMAIL REMOVED> >
To: WebAIM Discussion List
Date created: , 7:50:09 AM
Subject: [WebAIM] navigation menu: aria or HTML?


Hi all,

Do you know any preferences (pro&contra) of these markups?

1.

<nav>
<ul>
<li>item1</li>
<li>item2</li>
</ul>
</nav>


2.
<ul role="navigation">
<li>item1</li>
<li>item2</li>
</ul>


--
Best regards,
Zsolt Edelényi