<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>The Tink Tank</title>
	
	<link>http://tink.co.uk</link>
	<description />
	<lastBuildDate>Mon, 23 Jan 2012 20:45:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/TheTinkTank" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="thetinktank" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Bruce Lawson’s Plaa menow (Fish in lime)</title>
		<link>http://tink.co.uk/2012/01/bruce-lawsons-plaa-menow-fish-in-lime/</link>
		<comments>http://tink.co.uk/2012/01/bruce-lawsons-plaa-menow-fish-in-lime/#comments</comments>
		<pubDate>Mon, 23 Jan 2012 20:45:54 +0000</pubDate>
		<dc:creator>Léonie Watson</dc:creator>
				<category><![CDATA[Recipe book]]></category>
		<category><![CDATA[Main]]></category>
		<category><![CDATA[Web standards]]></category>

		<guid isPermaLink="false">http://tink.co.uk/?p=383</guid>
		<description><![CDATA[The second in a series of posts that bring together the two sides of my blog: Food and technology. I’ve asked the great and the good from the web standards community to share their favourite recipes. Next up is a sumptious Thai dish from Bruce Lawson, web standards evangelist, co-author of Introducing HTML5, and a [...]]]></description>
			<content:encoded><![CDATA[<p>The second in a series of posts that bring together the two sides of my blog: Food and technology. I’ve asked the great and the good from the web standards community to share their favourite recipes.</p>
<p>Next up is a sumptious Thai dish from <a href="http://www.twitter.com/brucel/">Bruce Lawson</a>, web standards evangelist, co-author of <a href="http://www.amazon.co.uk/Introducing-HTML-Voices-That-Matter/dp/0321687299/brucelawson-21">Introducing HTML5</a>, and a man with possibly the <a href="http://www.brucelawson.co.uk/about/">coolest tattoo ever</a>.</p>
<p><span id="more-383"></span></p>
<h2>Ingredients</h2>
<p>Serves <span class="yield">two people</span>.</p>
<ul>
<li class="ingredient"><span class="value">1</span> monk fish or sea bass (cleaned but with the head left on).</li>
<li class="ingredient"><span class="value">5</span> limes.</li>
<li class="ingredient"><span class="value">1</span> stick lemon grass.</li>
<li class="ingredient"><span class="value">3</span> lime leaves.</li>
<li class="ingredient"><span class="value">5 or 6</span> slices of galangal.</li>
<li class="ingredient"><span class="value">2</span> bulbs of garlic.</li>
<li class="ingredient"><span class="value">6</span> Thai small red chillies (very small, so very spicy).</li>
<li class="ingredient"><span class="value">4</span> <abbr title="tablespoons">tbsp</abbr> sugar.</li>
<li class="ingredient"><span class="value">6</span> <abbr title="tablespoons">tbsp</abbr> fish sauce.</li>
</ul>
<h2>Method</h2>
<ol class="instructions">
<li>Put the fish into a dish for steaming. Then put the galangal, lemon grass (cut it in half), and lime leaves into the fish stomach.</li>
<li>Cover fish and put the dish in boiling water for 15 to 20 minutes. When the fish is cooked, take it out from the steam pot.</li>
<li>Chop the chillies and garlic into very small pieces and mix with the lime juice, sugar, and fish sauce. This sauce must have the  4 tastes that characterise Thai food: sour, spicy, a little bit sweet and a little bit salty.</li>
<li>Serve the fish with the sauce, and don&#8217;t forget to save the most succulent pieces of fish (the eyes and the cheeks) to give to your boyfriend/girlfriend!</li>
</ol>
<h2>Bruce&#8217;s notes</h2>
<p class="summary">
This is a recipe from Thailand, the home of my lovely missus and where I met her when we were both teachers in Bangkok. She <a href="http://www.thaicookery.co.uk">teaches Thai cookery</a>for a living now.</p>
]]></content:encoded>
			<wfw:commentRss>http://tink.co.uk/2012/01/bruce-lawsons-plaa-menow-fish-in-lime/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>John Foliot’s salsa</title>
		<link>http://tink.co.uk/2012/01/john-foliots-salsa/</link>
		<comments>http://tink.co.uk/2012/01/john-foliots-salsa/#comments</comments>
		<pubDate>Sun, 15 Jan 2012 18:26:44 +0000</pubDate>
		<dc:creator>Léonie Watson</dc:creator>
				<category><![CDATA[Recipe book]]></category>
		<category><![CDATA[Accompaniments]]></category>
		<category><![CDATA[Web standards]]></category>

		<guid isPermaLink="false">http://tink.co.uk/?p=371</guid>
		<description><![CDATA[The first in a series of posts that bring together the two sides of my blog: Food and technology. I&#8217;ve asked the great and the good from the web standards community to share their favourite recipes. First up is a gorgeous salsa recipe from unrepentant web accessibility champion, tribe philosopher, and all round good guy, [...]]]></description>
			<content:encoded><![CDATA[<p>The first in a series of posts that bring together the two sides of my blog: Food and technology. I&#8217;ve asked the great and the good from the web standards community to share their favourite recipes.</p>
<p>First up is a gorgeous salsa recipe from <a href="http://john.foliot.ca/">unrepentant</a> web accessibility champion, tribe philosopher, and all round good guy, <a href="https://twitter.com/#!/johnfoliot">John Foliot</a>.</p>
<p><span id="more-371"></span></p>
<h2>Ingredients</h2>
<p><a href="http://www.tafn.org.uk/kitchen/cookery2.htm">Weights and measures conversion information</a>.</p>
<ul>
<li class="ingredient"><span class="value">20</span><abbr title="pounds">lbs</abbr> Fresh tomatoes (I prefer the <a href="http://en.wikipedia.org/wiki/Roma_tomato">Roma< </a> type).</a></li>
<li class="ingredient"><span class="value">24</span> Assorted hot peppers (ideally <a href="http://en.wikipedia.org/wiki/Jalepenos">Jalapeño</a>, but any hot pepper will do).</li>
<li class="ingredient"><span class="value">6</span> Medium sized onions.</li>
<li class="ingredient"><span class="value">12</span> <a href="http://en.wikipedia.org/wiki/Tomatillo">Tomatillos</a>.</li>
<li class="ingredient"><span class="value">4</span> Cloves of garlic, peeled.</li>
<li class="ingredient"><span class="value">4</span><abbr title="tablespoons">tbsp</abbr> Salt.</li>
<li class="ingredient"><span class="value">1</span><span class="type">cup</span> Vinegar.</li>
<li class="ingredient"><span class="value">3/4</span><span class="type">cup</span> Olive oil.</li>
<li class="ingredient"><span class="value">1/4</span><span class="type">cup</span> Sugar.</li>
<li class="ingredient"><span class="value">1/2</span><span class="type">cup</span> Each of fresh cut Basil, <a href="http://en.wikipedia.org/wiki/Coriander">Cilantro</a>, &#038; Parsley leaves.</li>
</ul>
<h2>Method</h2>
<ol class="instructions">
<li>Bring a large pot of water to a boil. Drop in tomatoes to scald briefly then drain and remove skins. Chop finely and transfer to a large colander.</li>
<li>Trim<br />
tops off peppers and chop coarsely. Add to the tomatoes.</li>
<li>Chop onions, garlic, and tomatillos finely, add to tomatoes.</li>
<li>Stir in salt and allow to sit and<br />
drain for 2 to 3 hours (this reduces the water content and leaves you with more tomato &#8216;meat&#8217;).</li>
<li>After draining, give a few good stirs, then add the oil, vinegar, sugar and herbs. Transfer to a large pot and cook over Medium heat until it bubbles.</li>
<li>Enjoy<br />
fresh or pack into hot, sterilized jars and process for canning.</li>
</ol>
<h2>John&#8217;s notes</h2>
<p class="summary">
I&#8217;ve had this recipe for years now: I don&#8217;t recall exactly where it came from, but I dug it out of one of my mother&#8217;s old recipe books back in the early<br />
&#8217;90&#8242;s.</p>
<p class="summary">In those days I owned an old house in the country (just outside of Ottawa, Canada) where I had a silly-sized vegetable garden &#8211; it measured something like<br />
12 ft X 40 ft and I grew so many tomatoes and hot peppers that I harvested them in a wheel-barrow (in fact, I ended up growing all of the ingredients for<br />
this recipe in my garden, including the garlic and herbs). Each Autumn I would settle into a production-mode weekend where I canned dozens of quart Mason<br />
jars of this salsa &#8211; enough to supply me for the full year and also give away to family, friends and neighbors.</p>
<p class="summary">While the fresh salsa is great straight out of the pot, I found that the canned salsa mellowed and melded the flavors, which I preferred. Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://tink.co.uk/2012/01/john-foliots-salsa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bacon &amp; marmalade sandwiches</title>
		<link>http://tink.co.uk/2012/01/bacon-marmalade-sandwiches/</link>
		<comments>http://tink.co.uk/2012/01/bacon-marmalade-sandwiches/#comments</comments>
		<pubDate>Sat, 07 Jan 2012 15:56:42 +0000</pubDate>
		<dc:creator>Léonie Watson</dc:creator>
				<category><![CDATA[Recipe book]]></category>
		<category><![CDATA[Preserves]]></category>
		<category><![CDATA[Sandwiches]]></category>

		<guid isPermaLink="false">http://tink.co.uk/?p=348</guid>
		<description><![CDATA[I inherited my love of bacon and marmalade sandwiches from my mum, along with much else. They&#8217;re one of the many ways I&#8217;ll always remember her. Ingredients Makes two sandwiches. 4 Slices wholemeal bread. 4 Rashers back bacon. Marmalade. English breakfast tea. Method Grill the bacon under a medium heat for about 12 minutes, or [...]]]></description>
			<content:encoded><![CDATA[<p class="summary">I inherited my love of bacon and marmalade sandwiches from my mum, along with much else. They&#8217;re one of the many ways I&#8217;ll always remember her.</p>
<p><span id="more-348"></span></p>
<h2>Ingredients</h2>
<p>Makes <span class="yield">two sandwiches</span>.</p>
<ul>
<li class="ingredient"><span class="value">4</span> <span class="type">Slices</span> wholemeal bread.</li>
<li class="ingredient"><span class="value">4</span> <span class="type">Rashers</span> back bacon.</li>
<li class="ingredient">Marmalade.</li>
<li class="ingredient">English breakfast tea.</li>
</ul>
<h2>Method</h2>
<ol class="instructions">
<li>Grill the bacon under a medium heat for about 12 minutes, or until the edges are crispy.</li>
<li>Meanwhile, spread a little marmalade on to each slice of bread, and then put the kettle on.</li>
<li>When the bacon is ready, make the sandwiches and a fresh pot of tea.</li>
<li>Enjoy with someone close to you.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://tink.co.uk/2012/01/bacon-marmalade-sandwiches/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using the HTML5 nav element</title>
		<link>http://tink.co.uk/2011/12/using-the-html5-nav-element/</link>
		<comments>http://tink.co.uk/2011/12/using-the-html5-nav-element/#comments</comments>
		<pubDate>Wed, 28 Dec 2011 18:44:21 +0000</pubDate>
		<dc:creator>Léonie Watson</dc:creator>
				<category><![CDATA[Web life]]></category>
		<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[ARIA]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Screen readers]]></category>

		<guid isPermaLink="false">http://tink.co.uk/?p=331</guid>
		<description><![CDATA[HTML5 introduces the nav element for marking up sections of a page that contain navigational links. Used wisely the nav element is a big help to screen reader users, as well as a step forward in semantic meaning. HTML4 navigation With HTML4, a typical navigation block might look like this: &#60;div&#62; &#60;ul&#62; &#60;li&#62;&#60;a href=”home.html”&#62;Home&#60;/a&#62;&#60;/li&#62; &#60;li&#62;&#60;a [...]]]></description>
			<content:encoded><![CDATA[<p>HTML5 introduces the <a href="http://dev.w3.org/html5/spec/the-nav-element.html#the-nav-element">nav element</a> for marking up sections of a page that contain navigational links. Used wisely the nav element is a big help to <a href="http://en.wikipedia.org/wiki/Screen_reader">screen reader</a> users, as well as a step forward in semantic meaning.</p>
<p><span id="more-331"></span></p>
<h2>HTML4 navigation</h2>
<p>With HTML4, a typical navigation block might look like this:</p>
<pre>
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=”home.html”&gt;Home&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=”about.html”&gt;About us&lt;/a&gt;&lt;/li&gt;
…
&lt;/ul&gt;
&lt;/div&gt;
</pre>
<p>Using a screen reader it would be possible to move through a page that uses this approach, and access the navigation without difficulty. One strategy might be to use your screen reader’s shortcut key for moving from one div on the page to the next.</p>
<p>The drawback is that to a screen reader, one div looks pretty much like another. There isn’t any semantic information that a screen reader can use to inform you about the purpose of the content you’re dealing with.</p>
<p>This is where the nav element comes in. Here’s what the HTML5 specification says about the nav element:</p>
<blockquote cite="http://dev.w3.org/html5/spec/the-nav-element.html#the-nav-element">
<p>&#8220;The <a href="http://dev.w3.org/html5/spec/the-nav-element.html#the-nav-element">nav</a> element <a href="http://dev.w3.org/html5/spec/rendering.html#represents">represents</a> a section of a page that links to other pages or to parts within the page: a section with navigation links.&#8221;</p>
</blockquote>
<h2>HTML5 navigation</h2>
<p>So the same navigation block in HTML5 might look like this:</p>
<pre>
&lt;nav&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=”home.html”&gt;Home&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=”about.html”&gt;About us&lt;/a&gt;&lt;/li&gt;
…
&lt;/ul&gt;
&lt;/nav&gt;
</pre>
<p>The nav element makes it possible for screen readers (and other user agents) to identify the purpose of the content. <a href="http://www.nvda-project.org/">NVDA 2011.3</a> already does this. It won’t be long before other screen readers also support the nav element, but in the meantime you can use <a href="/wp-content/2011/09/screen-readers-aria-roles-html5-support">ARIA landmark roles</a> to achieve the same effect:</p>
<h2>HTML5 navigation with ARIA</h2>
<p>Adding the <a href="http://www.w3.org/TR/wai-aria/roles#navigation">ARIA navigation role</a> to the nav element is a useful <a href="http://www.phrases.org.uk/meanings/61250.html">belt and braces</a> technique.</p>
<pre>
&lt;nav role=”navigation”&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=”home.html”&gt;Home&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=”about.html”&gt;About us&lt;/a&gt;&lt;/li&gt;
…
&lt;/ul&gt;
&lt;/nav&gt;
</pre>
<h2>When to use the HTML5 nav element</h2>
<p>Use the nav element wisely. The HTML5 specification isn’t too prescriptive, but instead offers the following guidance:</p>
<blockquote cite="http://dev.w3.org/html5/spec/the-nav-element.html#the-nav-element">
<p>&#8220;Not all groups of links on a page need to be in a <a href="http://dev.w3.org/html5/spec/the-nav-element.html#the-nav-element">nav</a> element – the element is primarily Intended for sections that consist of major navigation blocks.&#8221;</p>
</blockquote>
<p>Using the nav element too often will rapidly reduce the benefit to screen reader users. In the same way that one div looks like another to a screen reader, so does one nav element to the next. Using the nav element to mark up just one or two key navigation blocks helps keep those sections semantically distinct from the rest of the page.</p>
<p>To highlight this, the HTML5 specification gives the following example:</p>
<blockquote cite="http://dev.w3.org/html5/spec/the-nav-element.html#the-nav-element">
<p>&#8220;… it is common for footers to have a short list of links to various pages of a site, such as the terms of service, the home page, and a copyright page. The <a href="http://dev.w3.org/html5/spec/the-footer-element.html#the-footer-element">footer</a> element alone is sufficient for such cases; while a <a href="http://dev.w3.org/html5/spec/the-nav-element.html#the-nav-element">nav</a> element can be used in such cases, it is usually unnecessary.&#8221;</p>
</blockquote>
<p>Use the nav element to mark up the primary (site) navigation block. If a secondary (page) navigation block is needed, use the nav element here as well.</p>
<p>Otherwise, it’s your judgement call as to when you use the nav element. Just remember that screen reader users will benefit most when the nav element is used lightly, and that doing this won’t have a negative impact on other people either.</p>
]]></content:encoded>
			<wfw:commentRss>http://tink.co.uk/2011/12/using-the-html5-nav-element/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Caramelised onion chutney</title>
		<link>http://tink.co.uk/2011/12/caramelised-onion-chutney/</link>
		<comments>http://tink.co.uk/2011/12/caramelised-onion-chutney/#comments</comments>
		<pubDate>Sat, 10 Dec 2011 20:16:24 +0000</pubDate>
		<dc:creator>Léonie Watson</dc:creator>
				<category><![CDATA[Recipe book]]></category>
		<category><![CDATA[Preserves]]></category>

		<guid isPermaLink="false">http://tink.co.uk/?p=327</guid>
		<description><![CDATA[Caramelised onion chutney is the little black dress of the condiment world. You can use it anywhere. Chuck it on pizza with some goats cheese, add a spoonful to your gravy, spread it on melted cheese on toast, or try a little with a plate of cold cuts, olives and fresh bread. Ingredients Makes five [...]]]></description>
			<content:encoded><![CDATA[<p class="summary">Caramelised onion chutney is the <a href="http://en.wikipedia.org/wiki/Little_black_dress">little black dress</a> of the <a href="http://en.wikipedia.org/wiki/Condiment">condiment</a> world. You can use it anywhere. Chuck it on pizza with some goats cheese, add a spoonful to your gravy, spread it on melted cheese on toast, or try a little with a plate of cold cuts, olives and fresh bread.</p>
<p><span id="more-327"></span></p>
<h2>Ingredients</h2>
<p>Makes <span class="yield">five 227g jars</span>.</p>
<ul>
<li class="ingredient"><span class="value">9</span> Red onions.</li>
<li class="ingredient"><span class="value">1</span> Red chilli.</li>
<li class="ingredient"><span class="value">2</span> Bay leaves.</li>
<li class="ingredient"><span class="value">30</span><span class="type"><abbr title="millilitres">ml</abbr></span> Olive oil.</li>
<li class="ingredient"><span class="value">200</span><span class="type"><abbr title="grammes">g</abbr></span> Brown sugar.</li>
<li class="ingredient"><span class="value">150</span><span class="type"><abbr title="millilitres">ml</abbr></span> Balsamic vinegar.</li>
<li class="ingredient"><span class="value">150</span><span class="type"><abbr title="millilitres">ml</abbr></span> Red wine vinegar.</li>
</ul>
<h2>Method</h2>
<ol class="instructions">
<li>Peel the onions and cut into thin slices, remove the seeds from the chilli and cut it into thin strips.</li>
<li>Put the onions, chilli, bay leaves and olive oil into a pan, and cook over a low heat for about 20 minutes or until the onions become very soft.</li>
<li>Add the two sorts of vinegar and the brown sugar, then simmer at an enthusiastic bubble for about 30 minutes or until the chutney becomes dark and sticky.</li>
<li>Meanwhile place your jam jars in the oven at about 120C to heat through.</li>
<li>When the chutney is about the consistency of jam, transfer it straight into the warm jam jars.</li>
<li>Place a wax disc or circle of grease proof paper on top of the chutney in each jar, then set aside to cool before putting the lids on.</li>
</ol>
<h2>Notes</h2>
<p class="summary">The caramelised onion chutney should be left for around four weeks before eating, to really bring out all the flavours.</p>
]]></content:encoded>
			<wfw:commentRss>http://tink.co.uk/2011/12/caramelised-onion-chutney/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using HTML5 headings</title>
		<link>http://tink.co.uk/2011/11/using-html5-headings/</link>
		<comments>http://tink.co.uk/2011/11/using-html5-headings/#comments</comments>
		<pubDate>Mon, 28 Nov 2011 23:46:51 +0000</pubDate>
		<dc:creator>Léonie Watson</dc:creator>
				<category><![CDATA[Web life]]></category>
		<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Screen readers]]></category>

		<guid isPermaLink="false">http://tink.co.uk/?p=319</guid>
		<description><![CDATA[HTML5 headings make it easy to syndicate and reuse content, without breaking the heading hierarchy. Using HTML5 headings and keeping the heading hierarchy backwards compatible proves unexpectedly complicated though. The HTML5 specification has a solution, but is it the right one? HTML5 sections HTML5 uses sectioning content to break a page up into chunks. The [...]]]></description>
			<content:encoded><![CDATA[<p>HTML5 headings make it easy to syndicate and reuse content, without breaking the heading hierarchy. Using HTML5 headings and keeping the heading hierarchy backwards compatible proves unexpectedly complicated though. The <a href="http://dev.w3.org/html5/spec/spec.html#contents">HTML5 specification</a> has a solution, but is it the right one?</p>
<p><span id="more-319"></span></p>
<h2>HTML5 sections</h2>
<p>HTML5 uses <a href="http://dev.w3.org/html5/spec/content-models.html#sectioning-content">sectioning content</a> to break a page up into chunks. The &lt;article&gt;, &lt;aside&gt;, &lt;nav&gt; and &lt;section&gt; elements can be used to explicitly create sections. Here’s what the HTML5 specification says about sectioning content:</p>
<blockquote cite="http://dev.w3.org/html5/spec/content-models.html#sectioning-content">
<p>Sectioning content is content that defines the scope of headings and footers… Each sectioning content element potentially has a heading and an outline.</p>
</blockquote>
<h2>HTML5 headings</h2>
<p>This means that each section contains its own heading hierarchy. Here’s what the HTML5 specification says about it:</p>
<blockquote cite="http://dev.w3.org/html5/spec/sections.html#headings-and-sections">
<p>The first element of heading content in an element of sectioning content represents the heading for that section.</p>
</blockquote>
<p>This means that you could use an h1 at the start of each sectioning element. For example:</p>
<pre>
&lt;body&gt;
&lt;h1&gt;Favourite colours&lt;/h1&gt;

	&lt;section&gt;
	&lt;h1&gt;Purple&lt;/h1&gt;
	&lt;p&gt;Purple is my favourite colour.&lt;/p&gt;

		&lt;aside&gt;
		&lt;h1&gt;Reasons&lt;/h1&gt;
		&lt;p&gt;I like purple because…&lt;/p&gt;
		&lt;/aside&gt;
	&lt;/section&gt;

	&lt;section&gt;
	&lt;h1&gt;Pink&lt;/h1&gt;
	&lt;p&gt;Pink is my least favourite colour.&lt;/p&gt;

		&lt;aside&gt;
		&lt;h1&gt;Reasons&lt;/h1&gt;
		&lt;p&gt;I dislike pink because…&lt;/p&gt;
		&lt;/aside&gt;
	&lt;/section&gt;

&lt;/body&gt;
</pre>
<p>HTML5 calculates the rank of each heading based on its location within the sectioning content elements. The above example would therefore have the following structure:</p>
<pre>
1. Favourite colours
1.1. 	Purple
1.1.1. 			Reasons
1.2. 				Pink
1.2.1. 						Reasons
						</pre>
<p>If the same page were to be coded with semantically correct HTML4.01, it might look something like this:</p>
<pre>
&lt;body&gt;
&lt;h1&gt;Favourite colours&lt;/h1&gt;

	&lt;div&gt;
	&lt;h2&gt;Purple&lt;/h2&gt;
	&lt;p&gt;Purple is my favourite colour.&lt;/p&gt;

		&lt;div&gt;
		&lt;h3&gt;Reasons&lt;/h3&gt;
		&lt;p&gt;I like purple because…&lt;/p&gt;
		&lt;/div&gt;
	&lt;/div&gt;

	&lt;div&gt;
	&lt;h2&gt;Pink&lt;/h2&gt;
	&lt;p&gt;Pink is my least favourite colour.&lt;/p&gt;

		&lt;div&gt;
		&lt;h3&gt;Reasons&lt;/h3&gt;
		&lt;p&gt;I dislike pink because…&lt;/p&gt;
		&lt;/div&gt;
	&lt;/div&gt;

&lt;/body&gt;
</pre>
<p>The idea is that the HTML5 heading hierarchy is adaptable. You could pull out the &lt;section&gt; elements and slot them into another HTML5 website, without breaking the heading hierarchy.</p>
<h2>HTML5 explicit and implicit headings</h2>
<p>Things get a touch more involved when you create a heading hierarchy within a single section. The HTML5 specification goes on to say:</p>
<blockquote cite="http://dev.w3.org/html5/spec/sections.html#headings-and-sections"><p>The first element of heading content in an element of sectioning content represents the heading for that section. Subsequent headings of equal or higher rank start new or implied sections. Headings of lower rank start implied sub sections that are part of the previous one.</p>
</blockquote>
<p>This means that if you use nested headings within the same section, HTML5 will behave as though they’re explicit sub sections. For example:</p>
<pre>
&lt;body&gt;
&lt;h1&gt;Favourite colours&lt;/h1&gt;

	&lt;section&gt;
	&lt;h1&gt;Purple&lt;/h1&gt;
	&lt;p&gt;Purple is my favourite colour.&lt;/p&gt;

		&lt;h2&gt;Reasons&lt;/h2&gt;
		&lt;p&gt;I like purple because…&lt;/p&gt;
	&lt;/section&gt;

&lt;/body&gt;
</pre>
<p>In the above example the &lt;aside&gt; element has been removed, so that section is no longer explicitly defined. The “Reasons” heading is of lower rank than the “Purple” heading though, so HTML5 implicitly assumes there is a sub section there anyway. The outline would look like this:</p>
<pre>
1. Favourite colours
1.1. 	Purple
1.1.1. 			Reasons
</pre>
</p>
<p>If the “Reasons” heading had been an h1 instead, HTML5 would automatically close the explicitly defined &lt;section&gt; and open an implicitly defined section at the same level. For example:</p>
<pre>
&lt;body&gt;
&lt;h1&gt;Favourite colours&lt;/h1&gt;

	&lt;section&gt;
	&lt;h1&gt;Purple&lt;/h1&gt;
	&lt;p&gt;Purple is my favourite colour.&lt;/p&gt;

		&lt;h1&gt;Reasons&lt;/h1&gt;
		&lt;p&gt;I like purple because…&lt;/p&gt;
		&lt;/section&gt;

&lt;/body&gt;
</pre>
<p>The resulting outline structure would therefore be:</p>
<pre>
1. Favourite colours
1.1. 	Purple
1.2. 	Reasons
</pre>
<h2>Using h1 only or explicitly ranked headings</h2>
<p>If you wanted to conform to the HTML5 specification, and there was no need to provide backwards compatibility, the h1 only technique would be the best.</p>
<p>It’s going to be some while before we reach that utopia though. In the meantime, developers can use explicitly ranked headings to support the browsers and assistive technologies that haven’t implemented HTML5 headings at all. Here’s what the HTML5 specification has to say on the subject:</p>
<blockquote cite="http://dev.w3.org/html5/spec/sections.html#headings-and-sections"><p>Sections may contain headings of any rank, but authors are strongly encouraged to either use only h1 elements, or to use elements of the appropriate rank for the section’s nesting level.</p>
</blockquote>
<p>This means that the following HTML5 examples would both represent the same outline structure.</p>
<h3>Using h1 only</h3>
<pre>
&lt;body&gt;
&lt;h1&gt;Favourite colours&lt;/h1&gt;

	&lt;section&gt;
	&lt;h1&gt;Purple&lt;/h1&gt;
	&lt;p&gt;Purple is my favourite colour.&lt;/p&gt;

		&lt;aside&gt;
		&lt;h1&gt;Reasons&lt;/h1&gt;
		&lt;p&gt;I like purple because…&lt;/p&gt;
		&lt;/aside&gt;
	&lt;/section&gt;

&lt;/body&gt;
</pre>
<h3>Using explicitly ranked headings</h3>
<pre>
&lt;body&gt;
&lt;h1&gt;Favourite colours&lt;/h1&gt;

	&lt;section&gt;
	&lt;h2&gt;Purple&lt;/h2&gt;
	&lt;p&gt;Purple is my favourite colour.&lt;/p&gt;

		&lt;aside&gt;
		&lt;h3&gt;Reasons&lt;/h3&gt;
		&lt;p&gt;I like purple because…&lt;/p&gt;
		&lt;/aside&gt;
	&lt;/section&gt;

&lt;/body&gt;
</pre>
<p>The outline structure represented by both of the above examples would be:</p>
<pre>
1. Favourite colours
1.1. 	Purple
1.1.1. 		Reasons
</pre>
<h2>HTML5 heading support</h2>
<p>At the moment <a href="http://www.freedomscientific.com/downloads/jaws/JAWS-whats-new.asp">Jaws 13</a> supports the h1 only technique in Internet Explorer 9 and Firefox. No other screen readers support HTML5 headings at all.</p>
<p>It’s worth noting that as of Jaws 13.0.527, explicitly ranked HTML5 headings are completely broken in both Firefox and Internet Explorer. It takes the rank of the heading and the sectioning content hierarchy in conjunction, and the result is an extremely broken heading hierarchy.</p>
<h2>Choosing h1 only or explicitly ranked headings</h2>
<p>The question has been asked whether the h1 only or explicitly ranked headings technique is the best one to use.</p>
<p>The HTML5 specification clearly encourages the h1 only technique. The difficulty is that withbrowsers and screen readers that don’t support HTML5, the heading hierarchy is flattened out completely.</p>
<p>Using explicitly ranked HTML5 headings solves the flat heading hierarchy problem. The likelihood is that using this more complicated technique will result in even fewer pages with a meaningful heading hierarchy though.</p>
<p>My suggestion would be to use the h1 only technique unless you’re absolutely sure you’ve got your head around the way explicitly ranked headings work in HTML5. Jason Kiss recommends a <a href="http://www.accessibleculture.org/articles/2011/10/jaws-ie-and-headings-in-html5/">different approach</a>, and it&#8217;s good advice as well. Here&#8217;s my take on things though.</p>
<p>A flat heading structure certainly isn’t ideal. It’s considerably better than the (usually broken) HTML4.01 heading structures you find on every other website at the moment though.</p>
<p>In time browsers and other screen readers will adopt support for the h1 only technique. When they do, we’ll probably have the best chance of semantically correct, logical and usable heading hierarchies since HTML was created!</p>
]]></content:encoded>
			<wfw:commentRss>http://tink.co.uk/2011/11/using-html5-headings/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Chargrilled basil chicken</title>
		<link>http://tink.co.uk/2011/10/chargrilled-basil-chicken/</link>
		<comments>http://tink.co.uk/2011/10/chargrilled-basil-chicken/#comments</comments>
		<pubDate>Sun, 02 Oct 2011 16:40:43 +0000</pubDate>
		<dc:creator>Léonie Watson</dc:creator>
				<category><![CDATA[Recipe book]]></category>
		<category><![CDATA[Main]]></category>
		<category><![CDATA[Salad]]></category>

		<guid isPermaLink="false">http://tink.co.uk/?p=312</guid>
		<description><![CDATA[The weather is glorious at the moment! It&#8217;s perfect for eating al fresco, and this recipe is great for lunch or dinner. Team it up with a crisp white wine, then sit back and enjoy the sunshine. Ingredients Serves 2 people. 2Tbsp olive oil. .25Tsp sea salt. .25Tsp black pepper. 1 clove of garlic. Handful [...]]]></description>
			<content:encoded><![CDATA[<p class="summary">The weather is glorious at the moment! It&#8217;s perfect for eating <a href="http://en.wikipedia.org/wiki/Al_fresco_dining">al fresco</a>, and this recipe is great for lunch or dinner. Team it up with a crisp white wine, then sit back and enjoy the sunshine.</p>
<p><span id="more-312"></span></p>
<h2>Ingredients</h2>
<p>Serves <span class="yield">2 people</span>.</p>
<ul>
<li class="ingredient"><span class="value">2</span><span class="type"><abbr title="tablespoons">Tbsp</abbr></span> olive oil.</li>
<li class="ingredient"><span class="value">.25</span><span class="type"><abbr title="teaspoons">Tsp</abbr></span> sea salt.</li>
<li class="ingredient"><span class="value">.25</span><span class="type"><abbr title="teaspoons">Tsp</abbr></span> black pepper.</li>
<li class="ingredient"><span class="value">1</span> <span class="type">clove</span> of garlic.</li>
<li class="ingredient">Handful of basil leaves.</li>
<li class="ingredient"><span class="type">Juice</span> of <span class="value">1 lemon.</span></li>
<li class="ingredient"><span class="type">Zest</span> of <span class="value">1</span> lemon.</li>
<li class="ingredient"><span class="value">2</span> chicken breast fillets.</li>
<li class="ingredient"><span class="value">150</span><span class="type"><abbr title="gramme">g</abbr></span> wholeweat pasta.</li>
<li class="ingredient"><a href="#salad">Green salad *</a>.</li>
</ul>
<h2>Method</h2>
<h3>Step 1</h3>
<ol class="instructions">
<li>Blend the olive oil, lemon juice, lemon zest, garlic, basil, salt and pepper into a runny mixture.</li>
<li>Place the chicken breasts into a sealable bag with about a quarter of the mixture.</li>
<li>Seal the bag and gently massage the chicken for a couple of minutes so it becomes coated inside the bag, then put it in the fridge for a couple of hours (or overnight).</li>
</ol>
<h3>Step 2</h3>
<ol class="instructions">
<li>Cook the pasta according to packet instructions, drain and return it to the saucepan to keep warm.</li>
<li>Meanwhile preheat a <a href="#pan">griddle pan**</a>, remove the chicken from the bag and grill until just cooked through (about 5 minutes on each side).</li>
<li>Chuck the remaining basil mixture into the saucepan with the warm pasta and coat thoroughly.</li>
<li>Serve the chicken on top of the pasta, with the green salad on the side (add a little vinaigrette to the salad if you like).</li>
</ol>
<p id="salad">* You can use any green salad with this recipe. Baby spinach, rocket, little gem or cos lettuce all work well though (together or separately).</p>
<p id="pan">** You can use the barbeque if you want to cook outside. A frying pan will also do the trick, but you won&#8217;t get the chargrilled effect that you would with a griddle pan. You might also need to add a small dash of olive oil to the pan before you cook the chicken.</p>
]]></content:encoded>
			<wfw:commentRss>http://tink.co.uk/2011/10/chargrilled-basil-chicken/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Design like you give a damn!</title>
		<link>http://tink.co.uk/2011/09/design-like-you-give-a-damn/</link>
		<comments>http://tink.co.uk/2011/09/design-like-you-give-a-damn/#comments</comments>
		<pubDate>Sat, 17 Sep 2011 14:30:25 +0000</pubDate>
		<dc:creator>Léonie Watson</dc:creator>
				<category><![CDATA[Web life]]></category>
		<category><![CDATA[Philosophy]]></category>

		<guid isPermaLink="false">http://tink.co.uk/?p=306</guid>
		<description><![CDATA[Inclusive design is an aspirational concept. It isn&#8217;t particularly inspirational though. Inclusive design is a phrase for client meetings and government papers. No harm in that, but it isn’t a phrase that rocks the world and inspires us to challenge the accepted status quo. Inspiration comes courtesy of an old school friend, founder and CEO [...]]]></description>
			<content:encoded><![CDATA[<p>Inclusive design is an aspirational concept. It isn&#8217;t particularly inspirational though. Inclusive design is a phrase for client meetings and government papers. No harm in that, but it isn’t a phrase that rocks the world and inspires us to challenge the accepted status quo.</p>
<p><span id="more-306"></span></p>
<p>Inspiration comes courtesy of an old <a href="http://about.me/cameronsinclair">school friend</a>, founder and CEO (Chief Eternal Optimist) of <a href="http://architectureforhumanity.org/">Architecture for Humanity</a>. His philosophy? Design like you give a damn!</p>
<p>It’s a philosophy to change the world by. It’s a mantra that is as relevant in the digital world as it is in the physical. It’s a clarion call to anyone who believes things need to change, and that together we can do it!</p>
<p>Design like you’re <a href="http://en.wikipedia.org/wiki/Banksy">Banksy</a>. Read the rule book, then rip it up and create something that challenges the accepted wisdom.</p>
<p>Design like you’re <a href="http://en.wikipedia.org/wiki/Leonardo_da_Vinci">Da Vinci</a>. Be curious about everything, and never stop questioning how you can make things better.</p>
<li>Design like you’re <a href="http://en.wikipedia.org/wiki/Coco_Chanel">Chanel</a>. Strive for beauty and elegance, but understand that those things will not be the same for everybody.</li>
<p>Design like you’re <a href="http://en.wikipedia.org/wiki/Isambard_Kingdom_Brunel">Brunel</a>. Know that planning is important, but that imagination makes the extraordinary possible.</p>
<p>Be bold, be disruptive, be innovative, be inclusive. Be whatever you want to be. But whatever you do, let’s get out there and design like we give a damn!</p>
]]></content:encoded>
			<wfw:commentRss>http://tink.co.uk/2011/09/design-like-you-give-a-damn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Screen readers, ARIA roles &amp; HTML5 support</title>
		<link>http://tink.co.uk/2011/09/screen-readers-aria-roles-html5-support/</link>
		<comments>http://tink.co.uk/2011/09/screen-readers-aria-roles-html5-support/#comments</comments>
		<pubDate>Wed, 07 Sep 2011 22:35:02 +0000</pubDate>
		<dc:creator>Léonie Watson</dc:creator>
				<category><![CDATA[Web life]]></category>
		<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[ARIA]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Screen readers]]></category>

		<guid isPermaLink="false">http://tink.co.uk/?p=299</guid>
		<description><![CDATA[Several screen readers now support ARIA landmark roles. Some screen readers such as NVDA and Jaws are also improving support for HTML5 elements. This means that it’s important to put your ARIA roles in the right place. It’s increasingly common to find landmark roles applied to HTML4 documents. They’re extremely useful to screen reader users, [...]]]></description>
			<content:encoded><![CDATA[<p>Several screen readers now support <a href="http://www.nomensa.com/blog/2010/screen-readers-and-aria-landmark-roles/">ARIA landmark roles</a>. Some screen readers such as <a href="http://www.nvda-project.org/">NVDA</a> and <a href="http://www.freedomscientific.com">Jaws</a> are also improving support for HTML5 elements. This means that it’s important to put your ARIA roles in the right place.</p>
<p><span id="more-299"></span></p>
<p>It’s increasingly common to find landmark roles applied to HTML4 documents. They’re <a href="http://www.nomensa.com/blog/2011/how-aria-landmark-roles-help-screen-reader-users/">extremely useful</a> to screen reader users, who can use them to navigate around a page and understand the purpose of different areas of content.</p>
<p>A simple example is role=&#8221;navigation&#8221;. It might be applied like this:</p>
<p>&lt;div&gt;<br />
&lt;ul role=&#8221;navigation&#8221;&gt;<br />
…<br />
&lt;/ul&gt;<br />
&lt;/div&gt;</p>
<p>With NVDA and Jaws you can move from one landmark role on a page to the next using a shortcut key. Both screen readers behave similarly when they encounter a landmark role. Using the example above, they would announce “Navigation landmark” on reaching the list.</p>
<p>So far, so good. With the move to HTML though, the code example might evolve into something like this:</p>
<p>&lt;nav&gt;<br />
&lt;ul role=&#8221;navigation&#8221;&gt;<br />
…<br />
&lt;/ul&gt;<br />
&lt;/nav&gt;</p>
<p>In slightly older screen readers this transition makes no difference. The &lt;nav&gt; element is effectively ignored, and the navigation role behaves exactly as expected. There’s a bit of a problem though.</p>
<p>The introduction of HTML5 support for elements such as &lt;nav&gt; means that both Jaws and NVDA now treat the above code exactly as they should. In other words, they both behave as though two navigation landmarks were present in quick succession. The result is that screen reader users hear “Navigation landmark navigation landmark”, which isn’t a great user experience.</p>
<p>Logically, the answer is to remove the role=&#8221;navigation&#8221; from the code entirely:</p>
<p>&lt;nav&gt;<br />
&lt;ul&gt;<br />
…<br />
&lt;/ul&gt;<br />
&lt;/nav&gt;</p>
<p>The trouble is that this removes the role for anyone using a slightly older version of either screen reader. Happily the solution is straight forward. Apply the role to the element it maps to:</p>
<p>&lt;nav role=&#8221;navigation&#8221;&gt;<br />
&lt;ul&gt;<br />
…<br />
&lt;/ul&gt;<br />
&lt;/nav&gt;</p>
<p>Current versions of NVDA and Jaws will announce the landmark once, and so will the slightly older versions that have ARIA support but not HTML5. It isn’t quite the minimalist approach many would prefer, but it’s currently the one that delivers the best experience for screen reader users.</p>
]]></content:encoded>
			<wfw:commentRss>http://tink.co.uk/2011/09/screen-readers-aria-roles-html5-support/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Marking up the current page with HTML5 links</title>
		<link>http://tink.co.uk/2011/07/marking-current-page-html5/</link>
		<comments>http://tink.co.uk/2011/07/marking-current-page-html5/#comments</comments>
		<pubDate>Sun, 31 Jul 2011 10:17:04 +0000</pubDate>
		<dc:creator>Léonie Watson</dc:creator>
				<category><![CDATA[Web life]]></category>
		<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Screen readers]]></category>
		<category><![CDATA[W3C]]></category>

		<guid isPermaLink="false">http://tink.co.uk/?p=290</guid>
		<description><![CDATA[When you’re browsing a website using its primary navigation, it’s helpful to know which page you’re on, and which pages you can go to. HTML5 makes it simple to do this, but the technique moves away from a common approach used in HTML4.01. When you’re looking at a website’s navigation, the current page should be [...]]]></description>
			<content:encoded><![CDATA[<p>When you’re browsing a website using its primary navigation, it’s helpful to know which page you’re on, and which pages you can go to. HTML5 makes it simple to do this, but the technique moves away from a common approach used in HTML4.01.</p>
<p><span id="more-290"></span></p>
<p>When you’re looking at a website’s navigation, the current page should be visually distinct from the other pages. When you’re using a <a href="http://www.nomensa.com/blog/2005/what-is-a-screen-reader/">screen reader</a>, the separation needs to be <a href="http://www.google.co.uk/search?q=programmatic&#038;ie=utf-8&#038;oe=utf-8&#038;aq=t&#038;rls=org.mozilla:en-GB:official&#038;client=firefox-a&#038;source=hp&#038;channel=np">programmatic</a> rather than visual.</p>
<p>A common technique used with HTML4.01 is to use the &lt;strong&gt; element to markup the current page:</p>
<p>&lt;ul&gt;<br />
&lt;li&gt;&lt;a href=&#8221;home.html&#8221;&gt;Home&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;strong&gt;About us&lt;/strong&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;contact.html&#8221;&gt;Contact us&lt;/a&gt;&lt;/li&gt;<br />
…<br />
&lt;/ul&gt;</p>
<p>This had the advantage of creating both the visual effect and the programmatic effect needed to differentiate the current page from the rest.</p>
<p>The <a href="http://www.w3.org/TR/2011/WD-html5-20110525/text-level-semantics.html#the-strong-element">HTML5 specification</a> subtly changes the purpose of the &lt;strong&gt; element though. Instead of marking up content with strong emphasis, it should be used to markup content of strong importance. More on this (and other similar changes) within the HTML5 spec can be found on the <a href="http://html5doctor.com/i-b-em-strong-element/">HTML5 Doctor</a> website.</p>
<p>This change in the specification probably doesn’t make it wrong to use the above technique, since it could be argued that the current page is something of strong importance. It is one of those potentially murky areas though, and besides, the HTML5 spec recommends a much cleaner approach instead.</p>
<blockquote cite="http://www.w3.org/TR/2011/WD-html5-20110525/text-level-semantics.html#the-a-element">
<p>If the <a href="http://www.w3.org/TR/2011/WD-html5-20110525/text-level-semantics.html#the-a-element">a</a><br />
 element has an <a href="http://www.w3.org/TR/2011/WD-html5-20110525/links.html#attr-hyperlink-href">href</a><br />
 attribute, then it represents a <a href="http://www.w3.org/TR/2011/WD-html5-20110525/links.html#hyperlink">hyperlink</a><br />
 (a hypertext anchor).</p>
<p>If the <a href="http://www.w3.org/TR/2011/WD-html5-20110525/text-level-semantics.html#the-a-element">a</a><br />
 element has no <a href="http://www.w3.org/TR/2011/WD-html5-20110525/semantics.html#attr-link-href">href</a><br />
 attribute, then the element represents<br />
 a placeholder for where a link might otherwise have been placed, if it had been relevant.</p>
</blockquote>
<p>In other words you can strip out all the usual attributes from the &lt;a&gt; element, to turn it into a placeholder instead:</p>
<p>&lt;ul&gt;<br />
&lt;li&gt;&lt;a href=&#8221;home.html&#8221;&gt;Home&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a&gt;About us&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;contact.html&#8221;&gt;Contact us&lt;/a&gt;&lt;/li&gt;<br />
…<br />
&lt;/ul&gt;</p>
<p>As far as the screen reader is concerned, the current page link is deactivated. This provides the separation needed to understand which page you’re on, and which pages you can go to. To create the same separation visually, you can apply a CSS class that gives the current page a different appearance from the other links within the navigation.</p>
]]></content:encoded>
			<wfw:commentRss>http://tink.co.uk/2011/07/marking-current-page-html5/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

