Footnotes

Looking for WET v3.1?

As of September 23, 2014, version 3.1 of the Web Experience Toolkit is no longer supported. The source code and documentation have been moved to the wet-boew-legacy repository.

Purpose

The purpose of the Footnotes sub-project is to implement a consistent, accessible way of handling footnotes across Government of Canada web sites. The main concept behind this solution is to place footnotes in a definition list, within a dedicated section. An example of this can be found in the Footnotes section. Supporting CSS is used to lay out the footnotes and hide navigational aids.

Example

Purpose

The purpose of the Footnotes plugin is to implement a consistent, accessible way of handling footnotes across Government of Canada web sites. The main concept behind this solution is to place footnotes in a definition list, within a dedicated section. An example of this can be found in the Footnotes section. Supporting CSS is used to lay out the footnotes and hide navigational aidsFootnote 1.

Benefits

  • Conforms to WCAG 2.0 AAFootnote 2
  • Progressive enhancement approach
  • Support for Firefox, Opera, Safari, Chrome, and IE 7+Footnote 2
  • Support for English and French
  • Configurable layout and designFootnote 2 Footnote 3

Recommended usage

Code

<section>
	<h3>Purpose</h3>
	<p>The purpose of the Footnotes plugin is to implement a consistent, accessible way of handling footnotes across Government of Canada web sites. The main concept behind this solution is to place footnotes in a definition list, within a dedicated section. An example of this can be found in the <a href="#fn">Footnotes</a> section. Supporting CSS is used to lay out the footnotes and hide navigational aids<sup id="fn1-rf"><a class="fn-lnk" href="#fn1"><span class="wb-inv">Footnote </span>1</a></sup>.</p>
</section>

<section>
	<h3>Benefits</h3>
	<ul>
		<li>Conforms to WCAG 2.0 AA<sup id="fn2-1-rf"><a class="fn-lnk" href="#fn2"><span class="wb-inv">Footnote </span>2</a></sup></li>
		<li>Progressive enhancement approach</li>
		<li>Support for Firefox, Opera, Safari, Chrome, and IE 7+<sup id="fn2-2-rf"><a class="fn-lnk" href="#fn2"><span class="wb-inv">Footnote </span>2</a></sup></li>
		<li>Support for English and French</li>
		<li>Configurable layout and design<sup id="fn2-3-rf"><a class="fn-lnk" href="#fn2"><span class="wb-inv">Footnote </span>2</a></sup> <sup id="fn3-rf"><a class="fn-lnk" href="#fn3"><span class="wb-inv">Footnote </span>3</a></sup></li>
	</ul>
</section>

<section>
	<h3>Recommended usage</h3>
	<ul>
		<li>Implementing footnotes in Web pages<sup id="fn*-rf"><a class="fn-lnk" href="#fn*"><span class="wb-inv">Footnote </span>*</a></sup></li>
	</ul>
</section>

<aside class="wb-fnote" role="note">
	<h3 id="fn">Footnotes</h3>
	<dl>
		<dt>Footnote 1</dt>
		<dd id="fn1">
			<p>Example of a standard footnote.</p>
			<p class="fn-rtn">
				<a href="#fn1-rf"><span class="wb-inv">Return to footnote </span>1<span class="wb-inv"> referrer</span></a>
			</p>
		</dd>
		<dt>Footnote 2</dt>
		<dd id="fn2">
			<p>Example of a footnote being referenced by multiple pieces of content.</p>
			<p class="fn-rtn">
				<a href="#fn2-1-rf"><span class="wb-inv">Return to <span>first</span> footnote </span>2<span class="wb-inv"> referrer</span></a>
			</p>
		</dd>
		<dt>Footnote 3</dt>
		<dd id="fn3">
			<p>Example of a footnote containing multiple paragraphs (first paragraph).</p>
			<p>Example of a footnote containing multiple paragraphs (second paragraph).</p>
			<p>Example of a footnote containing multiple paragraphs (third paragraph).</p>
			<p class="fn-rtn">
				<a href="#fn3-rf"><span class="wb-inv">Return to footnote </span>3<span class="wb-inv"> referrer</span></a>
			</p>
		</dd>
		<dt>Footnote *</dt>
		<dd id="fn*">
			<p>Example of a standard footnote, denoted by a symbol.</p>
			<p class="fn-rtn">
				<a href="#fn*-rf"><span class="wb-inv">Return to footnote </span>*<span class="wb-inv"> referrer</span></a>
			</p>
		</dd>
	</dl>
</aside>
Date modified: