[Bug 22739] modify advice on marking up breadcrumb navigation

https://www.w3.org/Bugs/Public/show_bug.cgi?id=22739

Ben Barber <barberboy@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |barberboy@gmail.com

--- Comment #5 from Ben Barber <barberboy@gmail.com> ---
Would it be appropriate to wrap the content for the last item in an `a` element
without an `href` attribute? This would be consistent with the advice and code
example in the specification for the `a` element:

"If a site uses a consistent navigation toolbar on every page, then the link
that would normally link to the page itself could be marked up using an a
element"

-
http://www.w3.org/html/wg/drafts/html/master/text-level-semantics.html#the-a-element

The full example would then be:

  <nav aria-label="You are here">
  <ol>
  <li><a href="/">Main</a></li>
  <li><a href="/products/">Products</a></li>
  <li><a href="/products/dishwashers/">Dishwashers</a></li>
  <li><a>Second hand</a></li>
  </ol>
  </nav>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 18 September 2013 15:01:15 UTC