Bugzilla – Bug 723
autocomplete="off" is incorrectly reported as an error
Last modified: 2010-03-21 16:11:05 CET
When validating www.facebook.com, autocomplete=off is reported as an error many times. AFAIK autocomplete=off is conforming HTML5.
(In reply to comment #0)
> When validating www.facebook.com, autocomplete=off is reported as an error many
> times. AFAIK autocomplete=off is conforming HTML5.
The instances of autocomplete=off are actually not conformant to the current HTML5 spec. They all appears to be on input/@type=hidden:
<input type="hidden" id="terms" name="terms" value="on" autocomplete="off" />
…and the spec currently explicitly states that the autocomplete attribute is not valid for input/@type=hidden:
"The following content attributes must not be specified and do not apply to the element: accept, alt, autocomplete..."
closing per IRC discussion with Maciej
Indeed, my mistake.