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

Andy Mabbett andy at pigsonthewing.org.uk
Thu Aug 16 16:42:26 PDT 2007


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.

e.g.
        <span
          class="dtstart ufusetitle"
          title="2007-08-16"
        >

        16th August this year

        </span>

It strikes me as simple, easy to learn, easy to author and easy for
parsers to adapt to.

It has the added advantages of working on *any* element; and being
usable on CMSs (e.g. MediaWiki) which do not allow use of 'abbr'.

There's more, at:

        <http://microformats.org/wiki/title-trigger>

-- 
Andy Mabbett


More information about the microformats-discuss mailing list