WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: H1 before or after left nav menu?

for

From: Jonathan Cohn
Date: Jan 28, 2016 11:20AM


As a full time Screen Reader user, I agree with Jared, but if the H1 header is physically above both the Left Navigation area and the article, wouldn't putting the H1 after the Left Navigation mean that the order displayed as top down no longer matches the order in the DOM?


> On Jan 28, 2016, at 13:04, Jared Smith < <EMAIL REMOVED> > wrote:
>
> Chaals McCathie Nevile wrote:
>
>>> Regardless of where H1 goes, 'skip to content' link should go directly to
>>> Page Text and Content, correct?
>>
>> Correct. Which should also be wrapped in a main element, for people with
>> useful modern software.
>
> Though it would be odd to have either a <main> element or the main
> content of the page not begin with the <h1>.
>
> If the sidebar is directly content-related (such as a table of
> contents for the content), then it might make sense after the <h1>.
> But generally I think this type of thing is more usable either before
> the <h1> or (probably optimally) after the content, perhaps in an
> <aside> element with a descriptive heading. If your structure has the
> sidebar after the <h1>, but the <h1> does not describe or is not
> applicable to the sidebar (e.g., it is site navigation), then this
> would not be appropriate.
>
> Jared
> > > >