WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: page should contain no more than two h1 elements

for

From: Simius Puer
Date: Jun 15, 2009 12:15PM


Very true, there is nothing in the core HTML specification (or even XHTML
Strict) that says not to do this, but there is a world of difference between
code that validates and that is semantically correct.

I am only guessing here but the original question was probably in response
to the results of an automated accessibility test (especially given that the
WebAIM mailing list is about accessibility). As such *there is an answer* -
semantic markup is required and whilst it might not be a major upset to
those with assistive technologies I am sure that it doesn't help to abuse
mark-up.

In addition to accessibility (the point of this mailing list) there are also
some black-hat SEO techniques use multiple h1 tags to try to promote their
content in search engines. This technique is known and does not receive any
additional weighting in Google, indeed there is specualtion that it may even
reduecontent weighting as it does not follow good guidelines.

So sorry, whilst it might not be against the W3C HTML spec it is against
best practice.