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

[Bug 21748] New: Incorrectly identifies role="search" on a section element as being a validation error

From: <bugzilla@jessica.w3.org>
Date: Fri, 19 Apr 2013 02:51:41 +0000
To: www-validator-cvs@w3.org
Message-ID: <bug-21748-169@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=21748

            Bug ID: 21748
           Summary: Incorrectly identifies role="search" on a section
                    element as being a validation error
    Classification: Unclassified
           Product: Validator
           Version: HEAD
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: major
          Priority: P2
         Component: HTML5
          Assignee: mike+validator@w3.org
          Reporter: pjackson28@hotmail.com
        QA Contact: www-validator-cvs@w3.org

Until recently role="search" on a section element passed HTML5 validation.
Without any change to the HTML markup, all of a sudden pages that passed HTML5
validation now throw the following error: 

Error Line 62, Column 23: Bad value search for attribute role on element
section.
<section role="search"><div id="wet-srchbx"><h2>Search</h2>

(used http://wet-boew.github.io/wet-boew/demos/index-eng.html for this example)

Looking at the W3C HTML5 candidate recommendation, the latest W3C HTML5.1 draft
and even the WHATWG HTML living standard they all indicate that role="search"
is acceptable on a section element. Here are the relevant sections in each of
those documents:

HTML5: http://www.w3.org/TR/html5/dom.html#sec-implicit-aria-semantics
HTML5.1:
http://www.w3.org/html/wg/drafts/html/master/dom.html#sec-implicit-aria-semantics
HTML living standard:
http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html#wai-aria

Please correct the validator so it no longer incorrectly identifies
role="search" on a section element as being a validation error.

Note that this bug also affects the Nu Markup validator and Validator.nu.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Friday, 19 April 2013 02:51:42 UTC

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