quailjs / quail

Accessibility testing in the browser and on the server.
http://quailjs.org
Other
300 stars 44 forks source link

New assessment for too long headers #326

Closed mlewand closed 9 years ago

mlewand commented 9 years ago

New Assessment

We'd like to propose a new assessment that would test a length of text in the header. If the text (after being stripped from whitespaces) is longer than given amount of characters (128 by default) then it's very likely not a header.

Base Information

Rationale:

Check that heading markup is not used when content is not a heading.

Comming from: WCAG2 H42.

Testability: 1

Room for Improvement

jessebeach commented 9 years ago

Awesome stuff.