<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://microformats.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Heribert</id>
	<title>Microformats Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://microformats.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Heribert"/>
	<link rel="alternate" type="text/html" href="https://microformats.org/wiki/Special:Contributions/Heribert"/>
	<updated>2026-04-15T10:14:36Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.38.4</generator>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=dfn-design-pattern&amp;diff=37662</id>
		<title>dfn-design-pattern</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=dfn-design-pattern&amp;diff=37662"/>
		<updated>2009-01-14T14:23:35Z</updated>

		<summary type="html">&lt;p&gt;Heribert: /* Usage in the wild */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Dfn design pattern=&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Important&amp;lt;/strong&amp;gt;: this is currently a proposal: it is &amp;lt;em&amp;gt;not&amp;lt;/em&amp;gt; a finalised design pattern.&lt;br /&gt;
&lt;br /&gt;
This page is intended for discussion and exploration of a design pattern to complement the [[abbr-design-pattern|abbr design pattern]] while addressing the [[abbr-design-pattern-issues|abbr design pattern issues]], particularly the [[accessibility-issues#abbr-design-pattern|accessibility issues]].&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==Purpose==&lt;br /&gt;
&lt;br /&gt;
The [[abbr-design-pattern|abbr design pattern]] is used in several microformats to enclose standardised data such as the [[datetime-design-pattern|datetime design pattern]] in the &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt; attribute. However some [[assistive-technology|assistive technology]] will expose this data directly to the user, which is often undesirable.&lt;br /&gt;
See also [[assistive-technology-abbr-results|assistive technology abbr results]].&lt;br /&gt;
&lt;br /&gt;
This problem arises because the &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt; attribute has a different semantic meaning when it is attached to an &amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;acronym&amp;lt;/code&amp;gt; than it does on other elements. Usually [http://www.w3.org/TR/html4/struct/global.html#h-7.4.3 the &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt; attribute] is used to provide provide advisory information. But for &amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;acronym&amp;lt;/code&amp;gt; the &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt; is used to provide an expanded form of the text contained between the opening and closing tags. This is why the &amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt; element was chosen to contain datetime information: the ISO format is an expanded form of the human-readable text contained within the element. Because screen readers can be configured to treat &amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;acronym&amp;lt;/code&amp;gt; elements as special cases, the &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt; attribute is sometimes read aloud.&lt;br /&gt;
&lt;br /&gt;
==Proposal==&lt;br /&gt;
&lt;br /&gt;
Rather than expand the [[abbr-design-pattern|abbr design pattern]] to any element (or to a semantically neutral element such as &amp;lt;code&amp;gt;span&amp;lt;/code&amp;gt;), it would be better to use an element that has semantic value but which isn't treated as a special case by assistive technology.&lt;br /&gt;
&lt;br /&gt;
===dfn===&lt;br /&gt;
&lt;br /&gt;
The [http://www.w3.org/TR/html4/struct/text.html#h-9.2.1 dfn element] indicates the defining instance of the enclosed term. This element is not widely used but where it used, it is often used in a similar way to the &amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt; element. Although the &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt; is not required for the &amp;lt;code&amp;gt;dfn&amp;lt;/code&amp;gt; element, it is often used to provide expanded information.&lt;br /&gt;
&lt;br /&gt;
The semantic meaning of &amp;lt;code&amp;gt;dfn&amp;lt;/code&amp;gt;, as it is currently used, is potentially similar enough to &amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt; element to allow it to be used as an alternative:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;abbr class=&amp;quot;dtstart&amp;quot; title=&amp;quot;2007-08-16T22:00:00&amp;quot;&amp;gt;10pm on August 16th&amp;lt;/abbr&amp;gt;&lt;br /&gt;
&amp;lt;dfn class=&amp;quot;dtstart&amp;quot; title=&amp;quot;2007-08-16T22:00:00&amp;quot;&amp;gt;10pm on August 16th&amp;lt;/dfn&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Issues==&lt;br /&gt;
&lt;br /&gt;
===Semantics===&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;dfn&amp;lt;/code&amp;gt; is &amp;lt;em&amp;gt;not&amp;lt;/em&amp;gt; intended for definitions; it is intended for defining instances. Does this mean that it must always be used for the first instance of a term (such as a date)?&lt;br /&gt;
&lt;br /&gt;
Is the &amp;lt;code&amp;gt;dfn&amp;lt;/code&amp;gt; element equally appropriate as the &amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt; for information such as datetimes and geo or is this stretching the semantic meaning of the element beyond a reasonable limit?&lt;br /&gt;
&lt;br /&gt;
====HTML5====&lt;br /&gt;
In HTML5, the [http://www.w3.org/html/wg/html5/#the-dfn|DFN element semantics] have completely changed and would be incompatable with this pattern.&lt;br /&gt;
&lt;br /&gt;
===Parsers===&lt;br /&gt;
&lt;br /&gt;
Existing microformats parsers (such as the Operator extension to Firefox) would need to be updated to handle this proposed alternative to the abbr design pattern. However, this is true of any proposed alternatives.&lt;br /&gt;
&lt;br /&gt;
===Complexity===&lt;br /&gt;
&lt;br /&gt;
Microformats are intended to be easy to publish. The number of design patterns should be kept to a minimum. Every new design pattern is potentially a new barrier to entry for publishers.&lt;br /&gt;
&lt;br /&gt;
===Assistive Technology===&lt;br /&gt;
&lt;br /&gt;
The proposed dfn design pattern assumes that screen readers don't treat &amp;lt;code&amp;gt;dfn&amp;lt;/code&amp;gt; as a special case like &amp;lt;code&amp;gt;abbr&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;acronym&amp;lt;/code&amp;gt;. Is this actually the case? Please note results of testing on that item in the [[assistive-technology-abbr-results|assistive technology results]] page.&lt;br /&gt;
&lt;br /&gt;
===Usage in the wild===&lt;br /&gt;
&lt;br /&gt;
This design pattern is built on the assumption that, although the &amp;lt;code&amp;gt;dfn&amp;lt;/code&amp;gt; is not widely used, where it used, it is most often used in conjunction with the &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt; attribute. Please document examples and references here:&lt;br /&gt;
&lt;br /&gt;
* [http://juicystudio.com/article/jargon-busting-with-the-definition-element.php Juicy Studios: Jargon Busting with the Definition Element]&lt;br /&gt;
* [http://alistapart.com/articles/hattrick A List Apart: The Accessibility Hat Trick: Getting Abbreviations Right]&lt;br /&gt;
* [http://www.arthrogryposis.de/iga/iga-ev/schirmherr German Arthrogryposis Support Group] (medical terms checked against a glossary)&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
==Alternatives==&lt;br /&gt;
*[[title-trigger]]&lt;br /&gt;
*...&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
&lt;br /&gt;
* [[abbr-design-pattern|abbr design pattern]]&lt;br /&gt;
* [[abbr-design-pattern-issues|abbr design pattern issues]]&lt;br /&gt;
* [[accessibility-issues#abbr-design-pattern|accessibility issues]]&lt;br /&gt;
* [[assistive-technology-abbr-results|assistive technology abbr results]]&lt;br /&gt;
* [[datetime-design-pattern|datetime design pattern]]&lt;/div&gt;</summary>
		<author><name>Heribert</name></author>
	</entry>
</feed>