WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Heading order/nesting - was RE: H1 header in iframe

for

From: Jared Smith
Date: Aug 26, 2010 11:18AM


On Thu, Aug 26, 2010 at 10:38 AM, Jukka K. Korpela wrote:

>>> And since I was taught there can't be an H2 without an H1
>>
>> I hear this being taught, but don't see any strong reason why it must
>> be this way. The spec certainly does not require it. Maybe I'm missing
>> something.
>
> The HTML standard requires it

Does it? Like I said, I may be missing something, but I do not see
anything in any HTML standard that requires an <h1> before any <h2>.
The HTML 4.01 spec itself even directly suggests that skipping heading
levels is acceptable, though (and I quote the spec) "Some people
consider skipping heading levels to be bad practice." This certainly
doesn't sound like a requirement to me.

Jared