Forum Moderators: open

Message Too Old, No Replies

"Skip to main content" link: target <h1>

         

NickH

8:40 pm on Aug 14, 2003 (gmt 0)

10+ Year Member



I'm planning to add an anchor for a "Skip to main content" accessibility link to each of my pages. There are a couple of different ways I could do this. Does anyone know whether Google would regard the first method, shown below, as spam? (Possibly, because there is markup, and not pure text, within the <h1> tag?)

Is method 2 preferable, anyway, from a SERPS perspective?

Thanks,
Nick

  1. <a href="#main">Skip to main content</a>

    ... navigation bar...

    <h1><a id="main">Main heading</a></h1>

  2. <a href="#main">Skip to main content</a>

    ... navigation bar...

    <a id="main"></a><h1>Main heading</h1>

tlhmh1

3:19 am on Aug 19, 2003 (gmt 0)

10+ Year Member



Yes, I am looking for the answer to this question too. I legitmately use H1 for the title of my website. I would like to make it a link to the homepage, since standard usability practices suggest the "logo" (which I do not have - I use the h1 instead) should be linked to the homepage.

So my usable title would look like...

<h1><a href="/">Widget World</a></h1>

Will Google penalize me for this?

GoogleGuy?

jamesa

6:36 am on Aug 19, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I don't know the answer but I do feel a lot more comfortable using naked H1's.

How about giving the H1 a unique CSS id and dropping the <a name=...> tag?

mipapage

8:40 am on Aug 19, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Didn't we do this thread already? [webmasterworld.com]