<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>21748</bug_id>
          
          <creation_ts>2013-04-19 02:51:41 +0000</creation_ts>
          <short_desc>Incorrectly identifies role=&quot;search&quot; on a section element as being a validation error</short_desc>
          <delta_ts>2015-08-23 07:07:39 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML Checker</product>
          <component>General</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Jackson">pjackson28</reporter>
          <assigned_to name="Michael[tm] Smith">mike+validator</assigned_to>
          <cc>contributor</cc>
    
    <cc>mike</cc>
          
          <qa_contact name="qa-dev tracking">www-validator-cvs</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>86382</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Jackson">pjackson28</who>
    <bug_when>2013-04-19 02:51:41 +0000</bug_when>
    <thetext>Until recently role=&quot;search&quot; 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.
&lt;section role=&quot;search&quot;&gt;&lt;div id=&quot;wet-srchbx&quot;&gt;&lt;h2&gt;Search&lt;/h2&gt;

(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=&quot;search&quot; 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=&quot;search&quot; on a section element as being a validation error.

Note that this bug also affects the Nu Markup validator and Validator.nu.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86420</commentid>
    <comment_count>1</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2013-04-20 14:16:47 +0000</bug_when>
    <thetext>Fixed in the validator sources. I&apos;ll push the change to the validator later today.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86433</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Jackson">pjackson28</who>
    <bug_when>2013-04-21 01:24:24 +0000</bug_when>
    <thetext>Just checked and the pages are validating correctly again. Thank you for fixing the issue so quickly!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>113678</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-10-23 22:37:11 +0000</bug_when>
    <thetext>*** Bug 27149 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>