Browse Source

html validation skip 'Consider using the h1 element...' error

pull/619/head
huang.xinghui 11 years ago
parent
commit
77f3f6501d
  1. 1
      Gruntfile.js

1
Gruntfile.js

@ -222,6 +222,7 @@ module.exports = function(grunt) {
reset: true, reset: true,
relaxerror: [ relaxerror: [
'Attribute ontouchstart not allowed on element body at this point.', 'Attribute ontouchstart not allowed on element body at this point.',
'Consider using the h1 element as a top-level heading only (all h1 elements are treated as top-level headings by many screen readers and other tools).',
'Bad value X-UA-Compatible for attribute http-equiv on element meta.' 'Bad value X-UA-Compatible for attribute http-equiv on element meta.'
] ]
}, },

Loading…
Cancel
Save