[uf-discuss] Re: One more shot at accessible hCalendar

Toby A Inkster mail at tobyinkster.co.uk
Sat May 17 14:46:12 PDT 2008


> If the problem is 'machine readable dates get read out sometimes' I
> don't see how the data: prefix solves that.

Screen readers may be configured to read out the title attribute for  
<abbr> and <acronym>; perhaps also <a> and <img>. But they don't  
automatically read out the contents of the title attribute in the  
general case. The title attribute on <span> or <div> or <table> or  
<b> or whatever will not be read out -- data can safely be kept there.

What is needed is a signal to parsers to tell them when to use  
element content, and when to use the title attribute. The  
"traditional" microformats method is:

	* If element==<abbr>, then title attribute
	* Else, element content.

Adding support for the "data:" prefix, this becomes:

	* If title attribute contains 'data:', then the remainder
	  of the title attribute
	* Else if element==<abbr>, then title attribute
	* Else, element content.

-- 
Toby A Inkster
<mailto:mail at tobyinkster.co.uk>
<http://tobyinkster.co.uk>





More information about the microformats-discuss mailing list