Have HTML5 validator ignore `autocomplete="off"` on input[type="checkbox"]

Not clear from the spec whether this is invalid per se.
But it is the current best known workaround for Firefox's unusual behavior.
This commit is contained in:
Chris Rebert 2014-07-18 14:15:47 -07:00
parent fc19cad608
commit 031cb969d7
1 changed files with 2 additions and 1 deletions

View File

@ -340,7 +340,8 @@ module.exports = function (grunt) {
reset: true,
relaxerror: [
'Bad value X-UA-Compatible for attribute http-equiv on element meta.',
'Element img is missing required attribute src.'
'Element img is missing required attribute src.',
'Attribute autocomplete not allowed on element input at this point.'
]
},
files: {