W3C home > Mailing lists > Public > www-validator-cvs@w3.org > September 2013

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

From: <bugzilla@jessica.w3.org>
Date: Sun, 08 Sep 2013 07:40:33 +0000
To: www-validator-cvs@w3.org
Message-ID: <bug-23183-169@http.www.w3.org/Bugs/Public/>

            Bug ID: 23183
           Summary: html <a> tag component attribute "rel", category not a
                    registered keyword: invalid markup
           Product: Validator
           Version: 1.3
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5
          Assignee: mike+validator@w3.org
          Reporter: matthew@darcy.demon.co.uk
        QA Contact: www-validator-cvs@w3.org

While running a web page through the validator version 1.3 for a html5 document
type I received the following validation failure.

    Error Line 147, Column 125: Bad value category for attribute rel on element
a: The string category is not a registered keyword or absolute URL.

    …posts in Uncategorized" rel="category">Uncategorized</a></div> <div

    Syntax of link type valid for <a> and <area>:
        A whitespace-separated list of link types, with no duplicate keywords
in the list. Each link type must be listed as allowed on <a> and <area> in the
HTML specification, or must be listed as allowed on <a> and <area> on the
Microformats wiki, or must be an absolute URL. You can register link types on
the Microformats wiki yourself. 

the full line being validated is.

<div class="categories"><a href="http://testbox02/cms/?cat=1" title="View all
posts in Uncategorized" rel="category">Uncategorized</a></div> <div

>From all the research I can do this appears to be valid html and as I
investigate believe this should pass validation.

I'm logging this bug to confirm I am wrong/correct and hopefully get the
validator rules updated.

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Sunday, 8 September 2013 07:40:35 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:03:20 UTC