[uf-discuss] Simple solution to abbr-D-P accessibility concerns: 'Title Trigger'

James O'Donnell jim at eatyourgreens.org.uk
Sat Aug 18 05:13:24 PDT 2007


On 18 Aug 2007, at 11:42, Andy Mabbett wrote:

> As an aside; in the case of, say:
>
>         <abbr
>                 class="honorifc-prefix
>                 title="Member of the Order of the British Empire">
>         MBE
>         </abbr>
>
> there should probably also be, say, a class="ufnousetitle", so that  
> the
> value of the honorific prefix is "MBE":
>
>         <abbr
>                 class="honorifc-prefix ufnousetitle"
>                 title="Member of the Order of the British Empire"
>>
>         MBE
>         </abbr>
>
> obviating the need for a separate wrapper to achieve that result.

This seems somewhat clumsy to me, since a conforming HTML parser  
should read
<abbr class="honorific-suffix" title="Doctor of Philosophy">Ph.D</a>  
as something along the lines of 'Ph.D is an honorific suffix, which  
is an abbrevation of Doctor of Philosophy'. So, it seems to me, a  
more elegant solution would be to require microformats parsers to be  
conforming parsers, in terms of the HTML spec.

Adding additional classes to account for non-conforming parsers just  
feels icky to me.

Jim

Jim O'Donnell
jim at eatyourgreens.org.uk
http://eatyourgreens.org.uk
http://flickr.com/photos/eatyourgreens





More information about the microformats-discuss mailing list