After a bit more testing, the code doesn't quite work. If there is an 
'emphasis' tag inside a 'link', that text is not generated as a title. For 
instance, I have citations with 'et al' in an emphasis, and the generated 
title has the text of the citation except for 'et al'. I'll need to find out 
how to select the content of a link and its children.
While not an expert on accessibility, I feel it is a W3C recommendation to 
have an 'alt' attribute for images and 'title' for textual links - but I'd 
like to hear from others on this.

Dave Gardiner

Reply via email to