Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

robinberghuijs
1,512 PointsIs using an unordered list really still the most accessible way to create navigation?
Nowadays we have nav
, so I'm wondering if this still holds true.
4 Answers

Kevin Korte
28,135 PointsIt still is a solid option. At the end of the day, a navigation is a list of links or options, so it holds true that the HTML accurately describes what it is, in the even that CSS styles did not load. The release of HTML5 brought us a new option, known as the <nav>
tag, which can also be used. Just be aware of any possible issues supporting legacy browsers as older browsers do not understand HTML5 tags. There are plenty of articles on the internet that will explain how to deal with this.

Cale Matteson
11,303 PointsHello!
I just thought I'd add my two cents. Flexbox is new and it is gaining support in the modern browsers. I have been using them as footers in most my recent projects and they work like a charm. Very easy to control. In terms of accessibility though, I really have no idea hows its treated. Something to research I guess!
Cale

Ivan Kusakovic
12,197 PointsWhat is `````?

Kevin Korte
28,135 PointsI kinda fixed it, he was referring to the nav element.

Luis Marsano
21,413 PointsI must say, based on HTML mappings to accessibility APIs, nav
should be preferred. Unlike a generic list, standards assign nav
the WAI-ARIA role navigation, a landmark role. Assistive technologies prioritize landmarks for quick access to the user. Landmark commands allow users to immediately access navigation without flailing around.

Jan Lundeen
5,781 PointsI had the same question as robinberghuijs. It seems like there's a difference of opinion. I'm still a little confused why an unordered list would be more accessible. Is this because it's easier for a screen reader to read an unordered list? Or is it easier for a screen reader to find a landmark role(nav creates a landmark - see Luis' post)? I would think that they would have guidelines (like the WAI-ARIA, which wwould spell out what is considered more accessible), but I'm new to accessibility, so I'm not sure. Or is this just a matter of opinion?