<?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>18778</bug_id>
          
          <creation_ts>2012-09-05 09:39:08 +0000</creation_ts>
          <short_desc>input type &quot;search&quot; should be valid</short_desc>
          <delta_ts>2015-08-23 07:07:21 +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>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>ripper</reporter>
          <assigned_to name="Michael[tm] Smith">mike+validator</assigned_to>
          <cc>mike</cc>
    
    <cc>ripper</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>73214</commentid>
    <comment_count>0</comment_count>
    <who name="">ripper</who>
    <bug_when>2012-09-05 09:39:08 +0000</bug_when>
    <thetext>According to http://www.w3.org/TR/html-markup/input.search.html#input.search , an input elements attribute &quot;type&quot; may be set to the value &quot;search&quot;.

Current public version of the validator gives:
  &quot;Bad value search for attribute type on element input.&quot;

The page I&apos;m checking is declaring itself to be a HTML5 page, the validator also runs in the correct mode &quot;Using experimental feature: HTML5 Conformance Checker.&quot;

Couldn&apos;t find a bug report on bugzilla on this issue.

Best regards</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75039</commentid>
    <comment_count>1</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2012-10-02 10:21:55 +0000</bug_when>
    <thetext>I can&apos;t reproduce this problem. &lt;input type=search&gt; validates fine for me. If you have a document containing &lt;input type=search&gt; that&apos;s getting reported as invalid, please either post the URL for that document, or post a minimal fragment that demonstrated the problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75045</commentid>
    <comment_count>2</comment_count>
      <attachid>1196</attachid>
    <who name="">ripper</who>
    <bug_when>2012-10-02 12:58:57 +0000</bug_when>
    <thetext>Created attachment 1196
Minimal demo of issue

This attachment is a minimal demo of the issue.

I found out that it only happens if the &quot;role&quot; attribute is set as well. In this case, the &quot;role&quot; attribute is set to &quot;textbox&quot;. If I read http://dev.w3.org/html5/spec/wai-aria.html#wai-aria and the table given under &quot;3.2.7.3 Strong Native Semantics&quot; correctly, this should be allowed (or even the implicit default). However, I&apos;m not a native speaker and may be incorrect.

I tested another role value (&quot;status&quot;) as well, same error message given. Obviously, &quot;status&quot; doesn&apos;t make much sense in this case, I just wanted to see if this error message is epxlicitly bound to &quot;textbox&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76486</commentid>
    <comment_count>3</comment_count>
    <who name="">ripper</who>
    <bug_when>2012-10-17 09:51:25 +0000</bug_when>
    <thetext>I wasn&apos;t sure whether I was supposed to re-open this issue or Micheal (or someone else from w3). After two weeks without reply, I&apos;m so keen as to re-open this issue. Please see my previous comment for a minimal demo and further explanation.

Best regards</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86422</commentid>
    <comment_count>4</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2013-04-20 14:43:37 +0000</bug_when>
    <thetext>Fixed in the validator sources. I&apos;ll push the change out to the validator later today.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>1196</attachid>
            <date>2012-10-02 12:58:57 +0000</date>
            <delta_ts>2012-10-02 12:58:57 +0000</delta_ts>
            <desc>Minimal demo of issue</desc>
            <filename>inputTypeSearch.html</filename>
            <type>text/html</type>
            <size>367</size>
            <attacher>ripper</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sPgogIDxoZWFkPgogICAgPG1ldGEgaHR0cC1lcXVpdj0iY29u
dGVudC10eXBlIiBjb250ZW50PSJ0ZXh0L2h0bWw7IGNoYXJzZXQ9VVRGLTgiLz4KICAgIDx0aXRs
ZT5JbnB1dCB0eXBlIHNlYXJjaDwvdGl0bGU+CiAgPC9oZWFkPgogIDxib2R5PgogICAgPGZvcm0g
bmFtZT0ic2VhcmNoRm9ybSIgb25zdWJtaXQ9ImRpY3Quc2VhcmNoKCk7IHJldHVybiBmYWxzZTsi
IGFjdGlvbj0iL2RpY3RRdWVyeS9tLXZvY2FiL2NoZGUvZGUuaHRtbCI+CiAgICAgIDxpbnB1dCB0
eXBlPSJzZWFyY2giIG5hbWU9InNlYXJjaCIgdmFsdWU9IiIgcm9sZT0idGV4dGJveCIvPgogICAg
PC9mb3JtPgogIDwvYm9keT4KPC9odG1sPg==
</data>

          </attachment>
      

    </bug>

</bugzilla>