Re: 4.13.1 Bread crumb navigation - use of right angle brackets

Mallory van Achterberg, Thu, 17 Oct 2013 10:59:11 +0200:
> On Wed, Oct 16, 2013 at 03:47:01PM +0200, Willem-Siebe Spoelstra wrote:
>> 4) What I also don't understand is why no <a> is being used on the current
>> page list item, see this comment:
>> https://www.w3.org/Bugs/Public/show_bug.cgi?id=22739#c5


> An a without an href is... what, exactly?

Per the spec: [1] “If the a element has no href attribute, then the 
element represents a placeholder for where a link might otherwise have 
been placed, if it had been relevant, consisting of just the element's 
contents.”

And: [2] “The href attribute on a and area elements is not required; 
when those elements do not have href attributes they do not create 
hyperlinks.”

> Unfocusable in most browsers
> and meaningless. Why would you try to trick users into thinking that
> there's a link there, when nothing happens when they click it??

Why would they click it, when they are not links? An a element without 
@href is more like a span element. It hurts no one.

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

[2] 
http://www.w3.org/html/wg/drafts/html/master/links.html#links-created-by-a-and-area-elements

-- 
leif halvard silli

Received on Thursday, 17 October 2013 08:41:15 UTC