This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Using direct input, use this simple html page <!DOCTYPE html> <html> <head> <title>checkbox autocomplete test</title> </head> <body> <input autocomplete="off"> <input type="text" autocomplete="off"> <input type="checkbox" autocomplete="off"> </body> </html> Note that a validation error is thrown only for the checkbox. I can find no prohibitions against this attribute for checkboxes. Validator error?
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's a "Bookeeping details" subsection, and in that it says: "The following content attributes must not be specified and do not apply to the element: accept, alt, autocomplete, dirname,..." 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 "autocomplete" attribute, the column for "Checkbox, radio button" does not say "Yes". So the validator is correctly reporting an error in this case.