Correct sequence for IMG element inside an <A> element regarding title attribute

Hi Michael,

is there a W3C defined way where to put the "title" attribute when nesting an IMG inside an A element for AT retrieves and reads the title correctly when focusing the A element in a browser?

Master question: Do I have to fill title of IMG element or title of A element for this ?

Maybe you or someone @ XTECH knows the answer. 

In the code examples below, JAWS (7 and 8) doesn't read the tooltip of the first example on focus.  The screen reader ignores the tooltip and just announces 'link graphic'.

Below the second headline the same image link combination is defined. But in this case the image provides a tooltip, too. In this case the screen reader announces the tooltip of the image.

Below the third headline I just added an link tag without image and without a link text. This tag has a title attribute as tooltip. In this case the screen reader announces the tooltip of the link. I assume this is a fallback mechanism of JAWS.

Form this result it seems to me that there's a rule: always provide tooltip for images embedded in anchors, but where can I find this rule in W3C docs?? Or is this something JAWS has decided at its own will?

Thank you very much
Stefan

-------------------------------

<html>
<head>
	<title>Image Link</title>	
</head>
<body >

<h1>Link with tooltip combined with an image without tooltip</h1>

<A href="www.google.de" title="linktooltip">
<IMG src="http://usai1q9m.wdf.sap.corp:50077/sap/public/bsp/sap/public/bc/btf/images/print.gif"/></A>

<br>

<h1>Link combined with an image, both elements provide a tooltip, the screen reader announces the image tooltip</h1>
<A href="www.google.de" title="linktooltip">
<IMG title="imagetooltip" src="http://usai1q9m.wdf.sap.corp:50077/sap/public/bsp/sap/public/bc/btf/images/print.gif"/></A>

<br>

<h1>empty link with a tooltip</h1>
<A href="www.google.de" title="linktooltip">
</A>

</body>
</html>


Dr. Stefan Schnabel 
Accessibility Expert 
User Experience - Accessibility 

SAP AG
Dietmar-Hopp-Allee 16, 
69190 Walldorf, Germany

T: +49 (6227) 7-65652
F: +49 (6227) 78-29877

mailto:stefan.schnabel@sap.com 

W: www.sap.com; http://www.sapdesignguild.org

Sitz der Gesellschaft/Registered Office: Walldorf, Germany
Vorstand/SAP Executive Board: Henning Kagermann (Sprecher/CEO), Léo Apotheker (stellvertretender Sprecher/Deputy CEO), Werner Brandt, Claus Heinrich, Gerhard Oswald, John Schwarz, Peter Zencke
Vorsitzender des Aufsichtsrats/Chairperson of the SAP Supervisory Board: Hasso Plattner 
Registergericht/Commercial Register Mannheim No HRB 350269

Diese E-Mail kann Betriebs- oder Geschäftsgeheimnisse oder sonstige vertrauliche Informationen enthalten. Sollten Sie diese E-Mail irrtümlich erhalten haben, ist Ihnen eine Kenntnisnahme des Inhalts, eine Vervielfältigung oder Weitergabe der E-Mail ausdrücklich untersagt.
Bitte benachrichtigen Sie uns und vernichten Sie die empfangene E-Mail. Vielen Dank.

This e-mail may contain trade secrets or privileged, undisclosed, or otherwise confidential information. If you have received this e-mail in error, you are hereby notified that any review, copying, or distribution of it is strictly prohibited. Please inform us immediately and destroy the original transmittal. Thank you for your cooperation. 

Received on Wednesday, 18 June 2008 07:35:22 UTC