Open JulianNorton opened 7 years ago
I did used to wrap all my link lists in ul elements. After watching this talk and doing some testing with screen readers myself I don't find them to be as optimal as just using anchors inside a nav element. I believe there are pros and cons both ways but you might find the talk interesting:
@mrmrs That's an interesting article, user testing trumps all. The <nav>
element was released in html5, 2014. 3 years after this article was written. I'm curious if this is still true.
Current
http://tachyons.io/components/nav/title-link-list/index.html It has a list of navigation links inside a
<nav>
, without being a list.Purposed
W3C recommends a list of links be inside an
<ul>
.Follow w3c convention:
Although it adds more markup, it would be more accessible.