title-trigger

From Microformats Wiki
Revision as of 23:26, 16 August 2007 by AndyMabbett (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Title trigger

Contributors

Author: Andy Mabbett Original idea: Patrick Lauke

Proposal

An alternative to the abbr-design-pattern, to address that pattern's accessibility issues.

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><nowiki> ===Conversion=== All existing and new microformats should use this pattern; abbr-design-pattern should be deprecated, but parsers should still be required to recognise it on legacy pages (perhaps for a period of, say, three years) ==Advantages== *Works on any element *Usable on CMSs (e.g. MediaWiki) which do not allow use of <code>abbr</code> *Easy for parsers to adapt ==Disadvantages== * ??? ==Alternatives== *[[dfn-design-pattern]] ==See Also== * [[abbr-design-pattern|abbr design pattern]] * [[abbr-design-pattern-issues|abbr design pattern issues]] * [[accessibility-issues#abbr-design-pattern|accessibility issues]] * [[assistive-technology-abbr-results|assistive technology abbr results]] * [[datetime-design-pattern|datetime design pattern]]