Re: [docbook-apps] Generating title for "link" element

From
Bob Stayton <>
Date
2010-12-10T17:57:56+00:00
ID
030f01cb9893$befa24b0$6600a8c0@pazu
Thread
Re: [docbook-apps] Generating title for "link" element
Hi Dave,

Indeed, it is important.  Currently a title 
attribute is automatically generated on the <a> element for a 
cross reference when the target element of the link has a title.  The title 
attribute in the link is the title of the target.

 

I'm not clear that this customization to copy the 
link element's text into the title attribute should be the default 
behavior.  It was my understanding that the title attribute was meant to 
add information about the target of the link. It would seem to me 
that copying the text of the link into the title attribute is not useful 
for that purpose.  I mean, the text is present in the link element, and 
would be read by the screen reader.  Duplicating that text in the title 
attribute would be redundant, wouldn't it?

 

I'm curious what others with experience in 
accessibility requirements think.

 

Bob Stayton
Sagehill Enterprises


 

 

  
----- Original Message ----- 

  
From: 
  redlettucemail 

  
To:  
  

  
Sent: Thursday, December 09, 2010 5:25 
  PM

  
Subject: Re: [docbook-apps] Generating 
  title for "link" element

  

  
Bob,

  
That worked beautifully thanks. That piece of code should be in the next 
  release of the stylesheets, as a title attribute is important from an 
  accessibility point of view.
 
Dave 
Gardiner