WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Header levels

for

From: Swift, Daniel P.
Date: Aug 3, 2016 8:55AM


You're mistaken -- H1 can appear multiple times on a page provided that you are using the html5 doctype and you are using sectioning content (article, aside, nav, section).

For instance, if you have an H1 at the top of the page, you cannot include another H1 in a child div ... ... you can have an additional H1 inside an aside that is within the same containing element as the H1.

As code:
<div>
<h1>header</h1>
<aside>
<h1>header</h1>
</aside>
</div>

Joseph -- You must always go in order ... you cannot start with an h3 for example.

-Dan