WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: page should contain no more than two h1 elements

for

From: Karl Groves
Date: Jun 15, 2009 12:10PM


>
> Yes, that's simple document hierarchy and there should never be more
> than 1
> H1 on a page. Is it supposed to be the title for that resource, just
> like
> the title of a book or a movie....and you don't see books with 2 names!
>
> The answer to the original question is quite simple...don't. Set H1
> for the
> name of the resource, H2 for sub headings (or chapters), then H3 for
> sub-headings/topics withing those....HTML does have 6 levels and that
> is
> more than enough for most documents.
>
>Not sure if I would trust testing software that allowed 2 H1s!
>


Just playing Diablo Advocatus a bit here, but I'm unaware of any
information - normative or informative - in any accessibility guidelines,
be it Section 508, WCAG 1.0 or WCAG 2.0 which dictates the use of one and
only one H1 element. In fact, the only information presented specific to
the elements H1-H6 discusses it informatively and the guidelines say two
things: 1) Developers shouldn't skip levels (i.e. no H1 to H3) and, 2)
Developers shouldn't use headings to create font effects.

This begs the question: What is the actual harm done to end users if
multiple H1s are presented in a document? (Barring, of course, the misuse
of them because they're out of order).


Karl