W3C home > Mailing lists > Public > public-html@w3.org > September 2015

nav > ul is sometimes redundant

From: Matt Di Pasquale <liveloveprosper@gmail.com>
Date: Thu, 3 Sep 2015 09:50:11 -0400
Message-ID: <CADCE91SLqdG5ou1DMP6QTzJVrASFF+yfA+yyXhyyWZku1EROxg@mail.gmail.com>
To: public-html@w3.org
Does the following note also apply to headers?

*Note:* Not all groups of links on a page need to be in a nav element — the
> element is primarily intended for sections that consist of major navigation
> blocks. In particular, it is common for footers to have a short list of
> links to various pages of a site, such as the terms of service, the home
> page, and a copyright page. The footer element alone is sufficient for
> such cases; while a nav element can be used in such cases, it is usually
> unnecessary.

For example, inside the header element, I want to do:

    <li><a href="/">Home</a></li>
    <li><a href="/about">About</a></li>
    <li><a href="/contact">Contact</a></li>

Why do I need the extra nav element? Wouldn't it be simpler if I could
remove the nav element and perhaps replace the ul element with an nl


Received on Thursday, 3 September 2015 13:50:58 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:46:16 UTC