WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: html sectioning elements

for

From: Steve Faulkner
Date: Apr 3, 2015 12:25PM


On 3 April 2015 at 19:10, Angela French < <EMAIL REMOVED> > wrote:

> Am I on track as long as I get that h1 heading within the <section>
> element?


The h1 is the document heading, it is fine where it is, if you added it to
the section it would be scoped to the section (not document) and
(theoretically) be relegated to a h2.

I would suggest that the <main> element wrap the section element rather
than including the <header> which in this case is document header (banner
landmark).

--

Regards

SteveF
HTML 5.1 <http://www.w3.org/html/wg/drafts/html/master/>;