3 ms·
> the sidebar should be a nav rather than a div to convey it's where major and meaningful navigation is found I think you are mixing two issues here, what's go
by galaxyLogic 5y ago
> the sidebar should be a nav rather than a div to convey it's where major and meaningful navigation is found
I think you are mixing two issues here, what's good for the end user and what's good for the developer and maintenance of the site. Both matter of course greatly but I think this article was about optimizing the user-experience.
From the users' point of view does it matter if a section is a 'nav' or a 'div' which has CSS-class 'nav' assigned to it?
- MaxLeiter 5y agoscreen readers don’t account for css. You either need it to be a semantic <nav> element or an element with role=“nav”
- mariusor 5y ago> From the users' point of view does it matter if a section is a 'nav' or a 'div' which has CSS-class 'nav' assigned to it? Yes. There are people that use devices that rely on these accessibility options to differentiate nuances in the content that might otherwise be obvious when rendered in a standard browser: text only browsers, screen readers to name just a couple.
- galaxyLogic 5y agoThat's a good point and I think nav is a great idea, especially for maintenance reasons. Most users won't see the difference. But some will hear the difference.