WebAIM - Web Accessibility In Mind

E-mail List Archives

Thread: Anchors

for

Number of posts in this thread: 2 (In chronological order)

From: Rick Hill
Date: Tue, Sep 25 2012 6:53PM
Subject: Anchors
No previous message | Next message →

We have opted to use id's in divs for many anchors for in-page links instead of an <a name=>

Although the in page links work, some accessibility tools test this as bad for skip navs. I'm guessing because the anchor is not a focusable element (its a div not an <a> or an <h> or a <p>)?

So is the id method OK? Should the id be applied to a focusable element? Or is the id in a div method OK?
–––––––––––––––––––––––––––––––––––––––
Rick Hill, Web CMS Administrator
University Communications, UC Davis

From: Ken Petri
Date: Tue, Sep 25 2012 10:03PM
Subject: Re: Anchors
← Previous message | No next message

Hi Rick,

Terry Thompson has a great post that covers this issue in detail:
http://terrillthompson.com/blog/161

ken
--
Ken Petri
Program Director, OSU Web Accessibility Center




On Tue, Sep 25, 2012 at 8:53 PM, Rick Hill < = EMAIL ADDRESS REMOVED = > wrote:

> We have opted to use id's in divs for many anchors for in-page links
> instead of an <a name=>
>
> Although the in page links work, some accessibility tools test this as bad
> for skip navs. I'm guessing because the anchor is not a focusable element
> (its a div not an <a> or an <h> or a <p>)?
>
> So is the id method OK? Should the id be applied to a focusable element?
> Or is the id in a div method OK?
> –––––––––––––––––––––––––––––––––––––––
> Rick Hill, Web CMS Administrator
> University Communications, UC Davis
>
> > > >
>
>