This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 14519 - consider to make <nav> a non-sectioning element
Summary: consider to make <nav> a non-sectioning element
Status: RESOLVED INVALID
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML5 spec (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-20 09:29 UTC by Giorgio
Modified: 2011-10-22 04:23 UTC (History)
5 users (show)

See Also:


Attachments

Description Giorgio 2011-10-20 09:29:31 UTC
hello, I think that <nav> should not be a sectioning element

for example:

<h1>Mysite222.org</h1>
<p>Welcome to my homepage</p>
<p>My interests are:</p>
<nav>
<ul>
<li><a href="#">Programming</a>, because I love logic and math</a></li>
<li><a href="#">Collecting beer cans</a>, because I love beer</a></li>
</ul>
</nav>

in practice, can be at the same time:

- a navigation list
- contextualized inside one expression

so I suggest to make <nav> a non sectioning element, in favor of

<section || aside>
<nav>non contextualized navigation (for sidebars, for example)</nav>
</section || aside>
Comment 1 Tab Atkins Jr. 2011-10-20 09:43:56 UTC
Your example use is probably a misuse of <nav>.  <nav> is intended for the primary navigation on the page.  It's not meant for any random block of navigation links.
Comment 2 Giorgio 2011-10-20 09:58:39 UTC
yes, but as I've tried to say, a navigation list can be also part of a phrase
Comment 3 Ian 'Hixie' Hickson 2011-10-20 20:09:33 UTC
What problem does this solve?

You don't _have_ to use <nav>. Why would you use it for inline stuff? The whole point of <nav> is to provide a hint to accessibility tools that the block is a section that can be skipped unless the user wants navigation, and a hint to outline creators that this is a section. I don't see why you'd use <nav> in your example at all.
Comment 4 Giorgio 2011-10-22 04:23:44 UTC
ok I have thought it through. Now I agree
sorry! I'm closing