WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Logo as an h1??

for

From: Philip Kiff
Date: Mar 2, 2017 12:29PM


I agree with the consensus here that putting your logo inside H1's
throughout your site is generally not the best approach. However, I
would put forward two special cases where the practice may be
acceptable.

1. On your home page
If you do not have your site name visible on your home page elsewhere
other than in your logo, then I would place your logo inside an H1 on
that page. The alternative text in that case would provide your site
name on that single page on your site.

2. On HTML 5 sites that make full, proper use of header, article,
section, footer tags
While support for old user agents means that I personally continue to
use only a single H1 on sites that I build, there is an argument to be
made that a site that makes proper use of all the HTML 5 structures, it
may in some cases make sense to include an H1 within the header and
*another* H1 within the body. And if, as in case 1 above, your header
does not have a plain text version of your site name, then it is
conceivably correct to apply the H1 to your logo in the header.
Theoretically, this should not affect your SEO, and various user agents
should be able to manage such structures. But my impression is that we
are still not at that point, and that for legacy reasons the best
practice is still to stick with just a single H1 on each page in most
use cases.

Phil.