WebAIM - Web Accessibility In Mind

E-mail List Archives

Anchors

for

From: Rick Hill
Date: Sep 25, 2012 6:53PM


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