WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Skip links and SEO

for

From: Moore, Michael
Date: May 3, 2007 8:40AM


Thanks Patrick,

Am I correct in assuming that this works by applying positional styles
to the div?

Mike

-----Original Message-----
From: <EMAIL REMOVED>
[mailto: <EMAIL REMOVED> ] On Behalf Of Patrick H.
Lauke
Sent: Thursday, May 03, 2007 9:14 AM
To: <EMAIL REMOVED>
Subject: Re: [WebAIM] Skip links and SEO

Quoting "Moore, Michael" < <EMAIL REMOVED> >:

> No you are not missing anything, there is a feature of IE does not
> allow in page links to function as expected unless the anchors are
> located within a table cell.

Not just table cell. It's more to do with the hasLayout attribute in IE.
For instance, I have a skiplink on www.salford.ac.uk (hidden until you
focus it, first TAB brings it up) that works just fine without the need
for an <a name="..."> anchor, or table cell, or any other kludge.
It just targets the ID of one of the divs, but because of the way the
content div is styled, IE recognises it as having layout, and treats it
accordingly (i.e. keyboard focus moves to the div, and a subsequent TAB
goes to the first link in the div).

P
--
Patrick H. Lauke