WebAIM - Web Accessibility In Mind

E-mail List Archives

title attribute of anchor tag

for

From: Lee, Samson (NIH/NIDCR)
Date: Feb 18, 2004 3:20PM


I have an anchor tag that has a javascript function that swaps a particular
image when it's mouse-overed to provide extra information. For the 508
compliancy, I added the equivalent info in its title attribute. I think this
satisfies the requirement but wanted to make sure. Here's the code:

<a onMouseover="swapImage('defaultImageID','','extraInfoImage.gif',1)"
onMouseout=swapImgRestore()
href="page.htm" title="extra info about the link" >Some Link</a>

When I test this, JAWS reads the value of the title attribute ("extra info
about the link"), but Home Page Reader reads the link name ("Some link"). Is
this a right way to do it?


----
To subscribe, unsubscribe, suspend, or view list archives,
visit http://www.webaim.org/discussion/