[uf-discuss] RFC: Using <img>'s alt attribute for Microformats

brian suda brian.suda at gmail.com
Fri Dec 16 11:36:18 PST 2005


Robert Bachmann wrote:

>Scott Reynen wrote:
>  
>
>>[...]
>>And my first inclination would be to give imageless humans something 
>>more readable by putting the machine data in the title attribute 
>>instead, e.g.:
>>
>><img class="bday" src="today.png" alt="December 15, 2005" 
>>title="20051215T080000Z" />
>>
>>This is sending three different types of data to three different  types
>>of readers.  src is for imaged humans, alt is for imageless  humans, and
>>title is for machines.  I understand the drawback of  further
>>complication, but the alternative seems to require authors to  choose
>>between usability and microformats.
>>    
>>
>
>IMO it would be better to write:
>
><abbr class="bday" title="20051215T080000Z">
><img src="file..." alt="December 15, 2005" />
></abbr>
>
>This way you could have
>- img's src for the imaged users
>- img's alt for the imageless users
>- and abbr's title for users who think in 1's and 0's.
>
>Robert
>  
>
wouldn't that imply that ABBR is the abberviation of the IMG and not the
IMG alt? maybe that is one and the same thing?

-brian


More information about the microformats-discuss mailing list