W3C home > Mailing lists > Public > www-validator-cvs@w3.org > March 2014

[Bug 23183] html <a> tag component attribute "rel", category not a registered keyword: invalid markup

From: <bugzilla@jessica.w3.org>
Date: Mon, 24 Mar 2014 18:07:02 +0000
To: www-validator-cvs@w3.org
Message-ID: <bug-23183-169-pGYmeWwxms@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=23183

Michael[tm] Smith <mike@w3.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Michael[tm] Smith <mike@w3.org> ---
(In reply to Jacopo from comment #2)
> I was checking some code, and found that the bug still occurs.
> 
> Examples:
> <a rel="my-gallery" href="image.png" title="battle-report">...</a>
> The value "my-gallery" is marked as an error
> I tried also "image" and "gallery", they were reported as errors too.
> 
> According to http://microformats.org/wiki/rel-tag, the rel attribute can
> have an arbitrary value.

That page doesn't say that.

Regardless, it doesn't matter what that page says. The HTML spec says the rel
attribute can't have any arbitrary value:

http://www.whatwg.org/specs/web-apps/current-work/multipage/semantics.html#attr-link-rel

Instead it has a set of standard "allowed keywords" that the spec defines, and
then some extensions to that set of keywords, registered at:

 http://microformats.org/wiki/existing-rel-values

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Monday, 24 March 2014 18:07:05 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:56 UTC