[thelist] headers, logo images, and semantic markup

Will willthemoor at gmail.com
Tue Jan 6 00:20:43 CST 2009

On Mon, Jan 5, 2009 at 7:12 PM, Erika Meyer <ekm at seastorm.com> wrote:
> Paul Bennett wrote:
> <h1><img src="" alt="Company Name. " ... /></h1>
> So you are essentially saying that *company name* should be the h1.
> Everyone else agrees?

Totally disagree.

The heading for the page content should be the h1. Personally, I think
this is more semantically 'correct' but more importantly to your
client, google agrees with me.  I you were browsing Wikipedia with a
screen reader, would you want to hear "WIKIPEDIA!" emphasized on each
page as your browsed or the name of the page you think you clicked to?

I'm all for the img tag instead of image replacement. In addition to
the cross media bonus mentioned earlier, images set via css will not
appear when printed.

<img id="logo" />
<h1>Main header for page content</h1>

Sometimes on a home page I put the company name in the h1 if it's the
type of content-light page that basically links to other content. I
sorta think of the New York Times. On A1, "The New York Times" is the
main headline. On the interior pages, the content wins.


More information about the thelist mailing list