WebAIM - Web Accessibility In Mind

E-mail List Archives

roles and headings (was headers)

for

From: Sandy
Date: May 1, 2013 9:36AM


> Don't confuse headers with headings!

Bevi, thanks! I meant headings - as in <h1>.

Sandy

> I would like to know any best practices for using roles instead of headers.
> Here is an approach that makes sense to me, and I would like to know if it
> makes sense to the experts on this list.
> Thanks in advance.
> home page works like this:
> <div id="banner" role="banner">
> <h1>Name of the company</h1>
> <h2>company tag line</h2>
> </div>
> content page works like this:
> <div id="banner" role="banner">
> Name of the company
> company tag line
> </div>
> <h1>Page title</h1>