<?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>12522</bug_id>
          
          <creation_ts>2011-04-18 18:58:38 +0000</creation_ts>
          <short_desc>Autocomplete attribute not allowed on checkboxes in HTML5?</short_desc>
          <delta_ts>2015-08-23 07:07:36 +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>RESOLVED</bug_status>
          <resolution>WORKSFORME</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>geoffreyk</reporter>
          <assigned_to name="Michael[tm] Smith">mike</assigned_to>
          
          
          <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>47543</commentid>
    <comment_count>0</comment_count>
    <who name="">geoffreyk</who>
    <bug_when>2011-04-18 18:58:38 +0000</bug_when>
    <thetext>Using direct input, use this simple html page
&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
&lt;title&gt;checkbox autocomplete test&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;input autocomplete=&quot;off&quot;&gt;
&lt;input type=&quot;text&quot; autocomplete=&quot;off&quot;&gt;
&lt;input type=&quot;checkbox&quot; autocomplete=&quot;off&quot;&gt;
&lt;/body&gt;
&lt;/html&gt;

Note that a validation error is thrown only for the checkbox. I can find no prohibitions against this attribute for checkboxes. 
Validator error?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47649</commentid>
    <comment_count>1</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-04-24 14:31:11 +0000</bug_when>
    <thetext>Hi,

Not a validator error. The spec does not allow the autocomplete attribute in input elements in the checkbox state; see the following section:

http://dev.w3.org/html5/spec-author-view/number-state.html#checkbox-state

In that section, there&apos;s a &quot;Bookeeping details&quot; subsection, and in that it says:

&quot;The following content attributes must not be specified and do not apply to the element: accept, alt, autocomplete, dirname,...&quot;

Also, see the table here:

http://dev.w3.org/html5/spec-author-view/the-input-element.html#input-type-attr-summary

Note the in the row for the &quot;autocomplete&quot; attribute, the column for &quot;Checkbox, radio button&quot; does not say &quot;Yes&quot;.

So the validator is correctly reporting an error in this case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47650</commentid>
    <comment_count>2</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-04-24 14:31:11 +0000</bug_when>
    <thetext>Hi,

Not a validator error. The spec does not allow the autocomplete attribute in input elements in the checkbox state; see the following section:

http://dev.w3.org/html5/spec-author-view/number-state.html#checkbox-state

In that section, there&apos;s a &quot;Bookeeping details&quot; subsection, and in that it says:

&quot;The following content attributes must not be specified and do not apply to the element: accept, alt, autocomplete, dirname,...&quot;

Also, see the table here:

http://dev.w3.org/html5/spec-author-view/the-input-element.html#input-type-attr-summary

Note the in the row for the &quot;autocomplete&quot; attribute, the column for &quot;Checkbox, radio button&quot; does not say &quot;Yes&quot;.

So the validator is correctly reporting an error in this case.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>