WebAIM - Web Accessibility In Mind

E-mail List Archives

navigation menu: aria or HTML?

for

From: Date: Sep 30, 2018 10:50PM


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