E-mail List Archives
title attribute of anchor tag
From: Lee, Samson (NIH/NIDCR)
Date: Feb 18, 2004 3:20PM
- Next message: Tim Harshbarger: "CSS Units of Measurement"
- Previous message: Adam van den Hoven: "I need some advice on HTML and accessibility"
- Next message in Thread: Paul Bohman: "Re: title attribute of anchor tag"
- Previous message in Thread: None
- View all messages in this Thread
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/
- Next message: Tim Harshbarger: "CSS Units of Measurement"
- Previous message: Adam van den Hoven: "I need some advice on HTML and accessibility"
- Next message in Thread: Paul Bohman: "Re: title attribute of anchor tag"
- Previous message in Thread: None
- View all messages in this Thread