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

Using list markup inside <nav>, misleading example in 4.4.4

From: Jukka K. Korpela <jukka.k.korpela@kolumbus.fi>
Date: Mon, 16 Sep 2013 13:09:57 +0300
Message-ID: <5236D8F5.7010209@kolumbus.fi>
To: HTMLWG WG <public-html@w3.org>
In "4.4.11 Usage summary", the example on <nav> contains three <p> 
elements, each containing only one <a> element:

*<nav>  <http://www.w3.org/TR/html5/sections.html#the-nav-element>*
  <p><a href="/">Home</a>
  <p><a href="/biog.html">Bio</a>
  <p><a href="/discog.html">Discog</a>
*</nav>*

I think this violates the recommendation in "4.4.4 The |nav| element": 
"In cases where the content of a |nav 
<http://www.w3.org/TR/html5/sections.html#the-nav-element>| element 
represents a list of items, use list markup to aid understanding and 
navigation."

If the example is supposed to present breadcrumb navigation (which might 
be regarded as something else than a list), then this should be clarified.

-- 
Yucca, http://www.cs.tut.fi/~jkorpela/
Received on Monday, 16 September 2013 10:10:21 UTC

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