WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: H1 header in iframe


From: Jeevan Reddy
Date: Aug 26, 2010 1:15AM

The purpose of <H1> is to convey Main content of the page. so if
that iframe content conveys main content of the page and has <H1>, then you
shouldn't give <H2> and lower order headings for the content before the
iframe, you may use <H1>.
If you feel that the content before the iframe conveys important content of
the page and the iframe content is in your control, then use <H1> and
Restructure the iframe so that the heading are nested properly.if the iframe
content is out of your control, then even you can use <H1> before the
iframe, there is nothing wrong. Even you can find this kind of scenario in
Gmail standard view.
Overl all you should ensure that the headings are nesting properly.
Best Regards,

On Wed, Aug 25, 2010 at 7:53 PM, Jared Smith < <EMAIL REMOVED> > wrote:

> On Wed, Aug 25, 2010 at 1:55 AM, adam solomon wrote:
> >
> > Should an HTML page contained in an iframe always start with an h1?
> Because the iframe is accessed as if it were content of the parent
> page, the headings within the iframe should be structured
> appropriately. If the iframe contains the main first level heading for
> the entire document, then make it an <h1>. Otherwise lower level
> headings (or no headings at all) may be appropriate.
> Jared Smith