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

Andy Mabbett andy at pigsonthewing.org.uk
Sat Aug 18 03:42:11 PDT 2007


In message <zAQmZ4EiDOxGFwsm at pigsonthewing.org.uk>, Andy Mabbett
<andy at pigsonthewing.org.uk> writes

>Here's a proposal, for a "title trigger", an alternative to the abbr-
>design pattern. Patrick Lauke did mention it originally, some time ago,
>but it seems to have been overlooked:
>
>Use a class name; say "ufusetitle" (for "microformat, use title") or
>something equally unlikely to otherwise occur in the wild, on any
>element, to trigger the use of the title attribute.

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.

-- 
Andy Mabbett
            *  Say "NO!" to compulsory UK ID Cards:  <http://www.no2id.net/>
            *  Free Our Data:  <http://www.freeourdata.org.uk>
            *  Are you using Microformats, yet: <http://microformats.org/> ?


More information about the microformats-discuss mailing list