<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Like Wow Online &#187; footnotes</title>
	<atom:link href="http://www.likewowonline.net/tag/footnotes/feed" rel="self" type="application/rss+xml" />
	<link>http://www.likewowonline.net</link>
	<description>A weblog for designers, developers and anyone with an interest in web technology.</description>
	<lastBuildDate>Fri, 30 Apr 2010 17:51:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Accessible footnotes with HTML and CSS</title>
		<link>http://www.likewowonline.net/web/dev/accessible-footnotes.html</link>
		<comments>http://www.likewowonline.net/web/dev/accessible-footnotes.html#comments</comments>
		<pubDate>Sat, 16 Feb 2008 00:36:21 +0000</pubDate>
		<dc:creator>Shimone Samuel</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[accessibility]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[footnotes]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://www.likewowonline.net/presentation/accessible-footnotes.html</guid>
		<description><![CDATA[
Having recently set out on the long journey of mastering a new CMS I&#8217;ve found myself searching for and stumbling upon1 all manner of plugins, customizations and tweaks for WordPress.
The latest clever addition I found is the use of footnotes. When used properly, footnotes are an appropriate way of commenting on or referencing a portion [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.likewowonline.net/wp-content/2008/02/footnotes.jpg" alt="Standing in Dolores Park. Assessing what needs to be packed: a blanket, leash and shoes. San Francisco, CA" /></p>
<p>Having recently set out on the long journey of mastering a new <abbr title="Content Management System">CMS</abbr> I&#8217;ve found myself searching for and stumbling upon<sup><a href="presentation/accessible-footnotes.html#79730" class="action" id="fn1">1</a></sup> all manner of plugins, customizations and tweaks for <a href="http://www.wordpress.org">WordPress</a>.</p>
<p>The latest clever addition I found is the use of footnotes. When used properly, footnotes are an appropriate way of commenting on or referencing a portion of text<sup><a href="presentation/accessible-footnotes.html#80834" class="action" id="fn2">2</a></sup>.</p>
<p>Footnotes serve as a more graceful way to add an aside compared to the long-winded parenthetical. (For instance, here I could give some personal insight into the guilty pleasure of using lengthy digressions, but as you can see, by the time you reach the end of this amusing passage, the original point is confused with a new idea).</p>
<p><span id="more-10"></span></p>
<p>So let&#8217;s have a look at the requirements for this project:</p>
<ol>
<li>A format for referencing footnotes</li>
<li>A format for displaying footnotes</li>
<li>A method of moving between the two</li>
<li>Making your footnotes accessible</li>
</ol>
<h3>A format for referencing footnotes</h3>
<p>This first requirement is easy: footnotes are referenced nearly universally with superscript. Deciding what form of superscript to use: number, letter, figure or symbol is entirely up to you. I personally chose numbers.</p>
<p>Fortunately, support for superscript is part of the <a href="http://www.w3.org/TR/html401/struct/text.html%23h-9.2.3" title="W3C Recommendation - Paragraphs, lines and phrases">W3C recommendation</a> for paragraphs, lines and phrases &#8211; thereby making it perfectly valid for appropriate use.</p>
<p>In practice, your code may start off looking something like this:</p>
<pre>&lt;sup&gt;1&lt;/sup&gt;</pre>
<h3>A format for displaying footnotes</h3>
<p>Footnotes are commonly placed at the bottom or &#8220;foot&#8221; of a page or section. There is no rule stating a footnote cannot go elsewhere, but sticking to traditional conventions is a recommended best practice.</p>
<p>How you choose to style your footnotes is also a personal choice. Perhaps you can peruse your library or book collection to see how it&#8217;s been styled elsewhere.</p>
<p>However you choose to style your footnote, using CSS provides the most flexibility to differentiate it from preceding paragraphs.</p>
<p>The resulting code may start off looking something like this:</p>
<pre>&lt;div id="footnote"&gt;
	&lt;ol>
		&lt;li&gt;Footnote&lt;/li&gt;
	&lt;/ol&gt;
&lt;/div&gt;</pre>
<p>By applying an id to the containing div we can cascade the styling of content within. By using an ordered list we retain the continuity of footnotes throughout the page.</p>
<h3>A method of moving between the two</h3>
<p>Ideally, references should link to their respective footnotes and footnotes should link back to their references. This provides the user with an effortless method of jumping to the footnote and then returning to the passage.</p>
<p>The resulting code may look something like this:</p>
<pre>This is some text&lt;sup&gt;&lt;a href="#32066" id="fn1">1&lt;/a&gt;&lt;/sup&gt;

&lt;div id="footnote"&gt;
	&lt;li id="32066"&gt;This is a footnote &lt;a href="#fn1"&gt;&#8593;&lt;/a&gt;&lt;/li&gt;
&lt;/div&gt;</pre>
<p>&#8230; and the resulting output may look something like this:</p>
<div class="output">
<!-- the id name and href link has been changed here for demonstration purposes--></p>
<p>This is some text<sup><a href="#32066" id="xfn1">1</a></sup></p>
<div id="xfootnote">
<ol>
<li id="32066">This is a footnote <a href="#xfn1">&#8593;</a></li>
</ol></div>
</p>
</div>
<h3>Making your footnotes accessible</h3>
<p>For some, the example above may appear perfectly usable. You see a linked number in superscript, click and you&#8217;re taken to a footnote. A link in the footnote returns you to the sentence you last read. It doesn&#8217;t take much to deduce this just by looking at it.</p>
<p>For those who aren&#8217;t <em>looking</em> however the purpose isn&#8217;t as clear. Questions arise for those visiting the page with an assistive device such as JAWS: What is this linked number? Where does the link #32066 take me? Once I get there what will I find and how will I get back? Users of JAWS and other assistive devices are simply not seeing a page with the same clarity.</p>
<p>Once again we check the W3C HTML 4.01 specification for a solution and find a fitting one in <a href="http://www.w3.org/TR/html401/struct/links.html%23h-12.1.4" title="W3C specification for links in HTML documents">section 12.1.4: Link Titles</a>.</p>
<blockquote><p>The <em>title</em> attribute may be set for both <em>A</em> and <em>LINK</em> to add information about the nature of a link. This information may be spoken by a user agent, rendered as a tool tip, cause a change in cursor image, etc.</p></blockquote>
<p>The resulting code may look something like this:</p>
<pre>This is some text&lt;sup&gt;&lt;a href="#32066" id="fn1" title="see footnote">1&lt;/a&gt;&lt;/sup&gt;

&lt;div id="footnote"&gt;
	&lt;li id="32066"&gt;This is a footnote &lt;a href="#fn1" title="return to article"&gt;&#8593;&lt;/a&gt;&lt;/li&gt;
&lt;/div&gt;</pre>
<p>Add a little CSS and the possibilities are endless!</p>
<div class="output">
<!-- the id name and href link has been changed here for demonstration purposes--></p>
<p>This is some text<sup><a href="#32066" id="xfn3" class="action" title="see footnote">1</a></sup>
	</p>
<p>This is some more text that&#8217;s a bit longer than the first<sup><a href="#32062" class="action" id="xfn4" title="see footnote">2</a></sup></p>
<div id="demofootnote">
<ol>
<li id="32066">This is a footnote <a href="#xfn3" class="action" title="return to article">&#8593;</a></li>
<li id="32062">This is another footnote with longer text describing some point in greater detail and adding random irrelevance to this passage for the sole purpose of showing text wrapping. <a href="#xfn4" class="action" title="return to article">&#8593;</a></li>
</ol></div>
</p>
</div>
<p>That&#8217;s all there is to it. Your methods may vary but this should serve as a good starting point. See below for how we do it here at <em>Like Wow Online</em>.</p>
<p>In a future article we&#8217;ll learn how to automate footnote creation with AppleScript. Stay tuned for Part II.. Using AppleScript to create HTML footnotes</p>
<div id="footnote">
<ol>
<li id="79730">To me, <a href="http://www.stumbleupon.com">Stumble Upon</a> has become nearly as synonymous a verb as <a href="http://www.google.com">Google</a> and I falter when I see or use the term. In this instance I &#8220;stumbled&#8221; on Justin Blanton&#8217;s <a href="http://justinblanton.com/2005/08/footnotes-and-textpander">Footnotes and TextPander</a> article after seeing footnotes used to great effect on the <a href="http://justinblanton.com/projects/smartarchives/">SmartArchives for Wordpress</a> page.<a href="#fn1" class="action" title="return to article">&#8593;</a></li>
<li id="80834">Footnote as <a href="http://www.answers.com/topic/footnote" title="Answers.com definition for Footnote">defined</a> in the Answers.com dictionary reference: A note placed at the bottom of a page of a book or manuscript that comments on or cites a reference for a designated part of the text. <a href="#fn2" class="action" title="return to article">&#8593;</a></li>
</ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.likewowonline.net/web/dev/accessible-footnotes.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

