<?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"
	>

<channel>
	<title>MakeMineATriple</title>
	<atom:link href="http://www.makemineatriple.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.makemineatriple.com</link>
	<description></description>
	<pubDate>Sat, 16 Aug 2008 17:12:02 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<item>
		<title>Image gallery</title>
		<link>http://www.makemineatriple.com/2007/11/gallery/</link>
		<comments>http://www.makemineatriple.com/2007/11/gallery/#comments</comments>
		<pubDate>Fri, 30 Nov 2007 20:30:24 +0000</pubDate>
		<dc:creator>bryan</dc:creator>
		
		<category><![CDATA[Web development]]></category>

		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.makemineatriple.com/2007/11/gallery/</guid>
		<description><![CDATA[My brother Rory Gullan is pretty handy with a camera. To tie in with his first exhibition I built him a website to showcase some of his photographs.
Of course, I needed to give him a photo gallery. I first considered using Gallery2, which I implemented for Oscar Whicheloe&#8217;s site, but ended up building something a [...]]]></description>
			<content:encoded><![CDATA[<p>My brother <a href="http://rory.gullan.org">Rory Gullan</a> is pretty handy with a camera. To tie in with his first exhibition I built him a website to showcase some of his photographs.</p>
<p>Of course, I needed to give him a <a href="http://rory.gullan.org/photography/index.html">photo gallery</a>. I first considered using <a href="http://gallery.menalto.com/">Gallery2</a>, which I implemented for <a href="http://www.oscarw.com">Oscar Whicheloe&#8217;s site</a>, but ended up building something a bit more individual. While this approach means more manual work for making changes (which wouldn&#8217;t have been appropriate for Oscar&#8217;s site), I minimised this in a few key ways:</p>
<ol>
<li> The image for the overlay is determined by checking the value of the image &#8220;src&#8221; attribute rather than needing to manually pass it through to the javascript.</li>
<li>The alt text for each of the thumbnails is read by the javascript and used for the little description box.</li>
<li>I used jQuery. The point is more that I used a javascript library than which one I used - but jQuery certainly worked well!</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.makemineatriple.com/2007/11/gallery/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Passing parameters to a function called with setTimeout</title>
		<link>http://www.makemineatriple.com/2007/10/passing-parameters-to-a-function-called-with-settimout/</link>
		<comments>http://www.makemineatriple.com/2007/10/passing-parameters-to-a-function-called-with-settimout/#comments</comments>
		<pubDate>Thu, 18 Oct 2007 22:44:01 +0000</pubDate>
		<dc:creator>bryan</dc:creator>
		
		<category><![CDATA[Web development]]></category>

		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.makemineatriple.com/2007/10/passing-parameters-to-a-function-called-with-settimout/</guid>
		<description><![CDATA[When creating my news ticker plugin, I came across a slight complication when using setTimeout() to calling a function which needed parameters passed to it.
Not having had much call to use setTimeout in the past, I simply put:
setTimeout(myFunction(parameter),myTimeout);
but that doesn&#8217;t work. An apparent solution (until tried in Internet Explorer) is:
setTimeout(myFunction,myTimeout,parameter);
It wasn&#8217;t as easy as I [...]]]></description>
			<content:encoded><![CDATA[<p>When creating my <a href="http://www.makemineatriple.com/2007/10/bbcnewsticker/">news ticker plugin</a>, I came across a slight complication when using setTimeout() to calling a function which needed parameters passed to it.</p>
<p>Not having had much call to use setTimeout in the past, I simply put:</p>
<p><code>setTimeout(myFunction(parameter),myTimeout);</code></p>
<p>but that doesn&#8217;t work. An apparent solution (until tried in Internet Explorer) is:</p>
<p><code>setTimeout(myFunction,myTimeout,parameter);</code></p>
<p>It wasn&#8217;t as easy as I expected to find out how to get around this, but it turns out that all is needed is a &#8220;closure&#8221;:</p>
<p><code>setTimeout(function(){myFunction(parameter)},myTimeout);</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.makemineatriple.com/2007/10/passing-parameters-to-a-function-called-with-settimout/feed/</wfw:commentRss>
		</item>
		<item>
		<title>BBC style news ticker</title>
		<link>http://www.makemineatriple.com/2007/10/bbcnewsticker/</link>
		<comments>http://www.makemineatriple.com/2007/10/bbcnewsticker/#comments</comments>
		<pubDate>Wed, 17 Oct 2007 23:56:49 +0000</pubDate>
		<dc:creator>bryan</dc:creator>
		
		<category><![CDATA[Web development]]></category>

		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.makemineatriple.com/2007/10/bbcnewsticker/</guid>
		<description><![CDATA[Wanting to create a news ticker along the lines of that used on the BBC news site, I took a look around for a handy plugin to do it, but with no success. So&#8230; I created my own, as a jQuery plugin.
A quick sample of how to use it follows, or you can see the [...]]]></description>
			<content:encoded><![CDATA[<p>Wanting to create a news ticker along the lines of that used on the <a href="http://news.bbc.co.uk/">BBC news site</a>, I took a look around for a handy plugin to do it, but with no success. So&#8230; I created my own, as a jQuery plugin.</p>
<p>A quick sample of how to use it follows, or you can <a href="/jquery/?newsTicker">see the news ticker in action</a>.<span id="more-14"></span><br />
<code><br />
$(document).ready(function() {<br />
var options = {<br />
newsList: "#news",<br />
startDelay: 10,<br />
placeHolder1: " []&#8221;<br />
}<br />
$().newsTicker(options);<br />
});<br />
</code><br />
For news items along the lines of:<br />
<code><br />
&lt;ul id="news"&gt;<br />
&lt;li&gt;&lt;a href="http://www.makemineatriple.com"&gt;MakeMineATriple.com&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href="http://www.jquery.com"&gt;jQuery&lt;/a&gt;&lt;/li&gt;<br />
&lt;/ul&gt;<br />
</code><br />
The ticker will write out each news item in turn, and keep looping. Various parameters can be specified for things such as the pause between news items and the speed of the ticker. Full details and the download are on the <a href="http://jquery.com/plugins/project/BBCnewsTicker">jQuery plugin page</a>. Hope you find it useful!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.makemineatriple.com/2007/10/bbcnewsticker/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Progressive enhancement with jQuery</title>
		<link>http://www.makemineatriple.com/2007/09/progressive-enhancement-with-jquery/</link>
		<comments>http://www.makemineatriple.com/2007/09/progressive-enhancement-with-jquery/#comments</comments>
		<pubDate>Sun, 30 Sep 2007 15:34:13 +0000</pubDate>
		<dc:creator>bryan</dc:creator>
		
		<category><![CDATA[Accessibility]]></category>

		<category><![CDATA[Web development]]></category>

		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.makemineatriple.com/2007/09/progressive-enhancement-with-jquery/</guid>
		<description><![CDATA[I&#8217;ve been having a lot of fun with jQuery recently. One of the things particularly easy to do with it is write nice and unobtrusive javascript (a good start when looking at progressive enhancement). This is largely down to the fact that it&#8217;s very easy to find particular elements within the DOM - with any [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been having a lot of fun with <a href="http://www.jquery.com">jQuery</a> recently. One of the things particularly easy to do with it is write nice and unobtrusive javascript (a good start when looking at progressive enhancement). This is largely down to the fact that it&#8217;s very easy to find particular elements within the <acronym title="Document Object Model">DOM</acronym> - with any level of specificity -  and attach behaviour to them.</p>
<p>On the site I&#8217;ve been building at work, one particular example was to get jQuery to write in the &#8220;Print page&#8221; link, since that needs javascript.</p>
<pre>
// add print page link - since it can only work for JS, only add it for JS users
$('&lt;li&gt;&lt;/li&gt;') // create list item
    .addClass('print') //add relevant class to it
    .append('&lt;a href="javascript:window.print();"&gt;Print this page&lt;/a&gt;') //put in the link
    .insertBefore('li a.foo'); //add before the li item with link of class 'foo'</pre>
<p>The above example is slightly more verbose than it need be, but it illustrates some of the different built-in functionalities of jQuery quite well.<br />
<span id="more-13"></span><br />
Another example was to attach popup window behaviour to a couple of the links, while avoiding two particular ways this is sometimes done.</p>
<pre>
&lt;a href="javascript:function();"&gt;Foo&lt;/a&gt;
&lt;a href="foo.html" onclick="function();" onkeypress="function();"&gt;Bar&lt;/a&gt;</pre>
<p>The first is inaccessible, because there&#8217;s no non-javascript alternative. The second is somewhat obtrusive - the javascript code sits around regardless of whether it can actually be used or not. Additionally, it doesn&#8217;t take into account which key has been pressed, which will be a problem for users who are tabbing between links.</p>
<p>Hooking the javascript functionality onto the links is very easy. Assuming a link with class &#8216;popup&#8217;, you&#8217;d do the following:</p>
<pre>
//attach js funtionality to a link
$('a.popup').bind('click keypress', function(event) {
    var code=event.charCode || event.keyCode;
    if(!code || (code &amp;&amp; code == 13)) {// if no key code (mouse) or if enter is pressed
        [...]; // do whatever we need to do
        event.preventDefault(); //prevent browser from following the actual href
    }
});</pre>
<p>To make this easier to re-use, I ended up writing a little <a href="http://jquery.com/plugins/project/clickOrEnter">jQuery plugin</a> (<a href="/jquery/index.html">see it in action</a>). The function essentially allows binding of mouse click and Enter keypress to a specified element. On either of those events, a given function is called, and the default action is blocked (which, for a link, is to follow the link).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.makemineatriple.com/2007/09/progressive-enhancement-with-jquery/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Web writing guidelines</title>
		<link>http://www.makemineatriple.com/2007/09/writing-for-the-web/</link>
		<comments>http://www.makemineatriple.com/2007/09/writing-for-the-web/#comments</comments>
		<pubDate>Wed, 12 Sep 2007 23:35:39 +0000</pubDate>
		<dc:creator>bryan</dc:creator>
		
		<category><![CDATA[Accessibility]]></category>

		<category><![CDATA[Web development]]></category>

		<guid isPermaLink="false">http://www.makemineatriple.com/2007/09/writing-for-the-web/</guid>
		<description><![CDATA[Writing for the web is very different from writing for print. Key reasons for this are:

Users scan web pages rather than reading every word.
Users typically won&#8217;t give a web page their full attention. For example, they may also be listening to music and using instant messaging.
Web pages are interactive.

The six elementary rules
George Orwell&#8217;s rules (&#8221;Politics [...]]]></description>
			<content:encoded><![CDATA[<p>Writing for the web is very different from writing for print. Key reasons for this are:</p>
<ul>
<li>Users scan web pages rather than reading every word.</li>
<li>Users typically won&#8217;t give a web page their full attention. For example, they may also be listening to music and using instant messaging.</li>
<li>Web pages are interactive.</li>
</ul>
<h2>The six elementary rules</h2>
<p>George Orwell&#8217;s rules (&#8221;Politics and the English Language&#8221;, 1946) are just as relevant today for the web.</p>
<ol>
<li> Never use a metaphor, simile or other figure of speech which you are used to seeing in print. [The point here is not "print vs. web" but "avoid ones which are used all the time".]</li>
<li> Never use a long word where a short one will do.</li>
<li> If it is possible to cut out a word, always cut it out.</li>
<li> Never use the passive where you can use the active.</li>
<li> Never use a foreign phrase, a scientific word or a jargon word if you can think of an everyday English equivalent.</li>
<li> Break any of these rules sooner than say anything outright barbarous.</li>
</ol>
<p><span id="more-12"></span></p>
<h2>Organising your page</h2>
<p>The structure and organisation of your content should generally be very different from a print version.</p>
<h3>Introduce the page</h3>
<p>Help the user to know that they&#8217;re in the right place. Give them a short outline of what they can expect to get if they read on. Do not repeat the page title.</p>
<h3>Important content first</h3>
<p>What is the main point of your page? Give the user that information or message first, and anything else can follow.</p>
<h3>Short and simple</h3>
<p>Users will be looking for specific information; being concise and ensuring that you use easy to understand language will help them to find it. If the information is necessarily very long, a PDF download may be more appropriate. Web content will typically be about half the length of print content.</p>
<h3>Don&#8217;t repeat content</h3>
<p>If it&#8217;s been said elsewhere, link to it. This will keep your pages shorter and remove the administrative burden of having to keep checking whether updates are needed.</p>
<h3>Highlight key points</h3>
<p>Use visual cues (which a CMS would translate into mark-up to make them accessible) to make important content stand out. Someone scanning your page will be more likely to spot this content and read it. Examples include:</p>
<ul>
<li> sub-headings</li>
<li> blockquotes (&#8221;callouts&#8221; or &#8220;pull-quotes&#8221;)</li>
<li> bulleted or numbered lists</li>
</ul>
<p>Note that some text formatting does not translate well to the web. Never underline text - that suggests a link. Italics are harder to read and should be used only if necessary (e.g. citations). Highlighting content with capitals is the online equivalent of shouting.</p>
<h3>User-focused content</h3>
<p>Know who your audience is and use appropriate language to ensure that they understand you. Make sure that any background information they need is available and obvious. Use a friendly (but not over-familiar) tone, and don&#8217;t distract users with jargon or over-used phrases.</p>
<h3>What next?</h3>
<p>Give the user something to do next. For example:</p>
<ul>
<li> Put links to other articles which may be of interest at the bottom of your page.</li>
<li> Offer subscription to a mailing list.</li>
</ul>
<h3>Use keywords</h3>
<p>Make sure you include relevant keywords – words and phrases which your users would use – within your content, especially within the headings and first few paragraphs. This will help your pages to show up in search engine results, as well as helping to reassure the user that they&#8217;re looking at the right page. (Users arriving at a page from search results will often skim the page for keywords before deciding whether to read a page.)</p>
<h3>Regular revisions</h3>
<p>It can be frustrating to come across a page with out-of date or inaccurate content. Make sure that every page has an &#8220;owner&#8221; responsible for updating it or removing it if it&#8217;s no longer relevant.</p>
<h3>Accessibility</h3>
<p>This is very important. Not all of your users will have the same ability to view your content. This could be because of outdated software, missing plug-ins, or because of a physical disability, for example. There are many different points to bear in mind, though many of this will be dealt with from the technical end by a CMS, for example. Some of the most important considerations are:</p>
<ul>
<li>Image alt text.
<ul>
<li>If an image conveys a message, make sure you supply alt text to give that message to people who can&#8217;t see the image.</li>
<li>If the image is purely decorative, leave the alt text blank.</li>
</ul>
</li>
<li>Link text.
<ul>
<li>Make sure that the link text tells the user what to expect if they follow that link. Never use &#8220;click here&#8221; or similar – it doesn&#8217;t give useful information (and indeed not all users can &#8220;click&#8221;).</li>
<li>e.g. &#8220;For information, please contact us&#8221; rather than &#8220;Click here to contact us&#8221;.</li>
</ul>
</li>
<li>Page structure
<ul>
<li>Structuring your page, using headings, lists, and so on, is a big help not only to people who can see the page, but also to screen-reader users.</li>
</ul>
</li>
<li>Simple writing
<ul>
<li><a href="http://www.w3.org/TR/WCAG10/wai-pageauth.html#gl-facilitate-comprehension"> Guideline 14 of the Web Content Accessibility Guidelines</a> (WCAG) 1.0 is &#8220;Ensure that documents are clear and simple&#8221;.</li>
</ul>
</li>
</ul>
<h2>In summary</h2>
<ul>
<li>Content should be short and to the point.</li>
<li>Put key information at the beginning and then elaborate.</li>
<li>Structure is good. In particular, use sub-headings, short paragraphs of a few sentences, and lists.</li>
<li>Don&#8217;t use jargon or slang.</li>
<li>Don&#8217;t just paste in content from another source, be it a print document or the previous version of your website.</li>
<li>Do an online version of a download unless it doesn&#8217;t translate for the web (e.g. too long or unsuitable for HTML).</li>
<li>Keep your content up-to-date and accurate</li>
<li>What next? Make it obvious.</li>
<li>Keep accessibility in mind.</li>
</ul>
<h2>Further reading</h2>
<p>If you&#8217;re interested in going into a bit more detail, here are a few resources to get you started:</p>
<ul>
<li><a href="http://www.qld.gov.au/web/standards_and_guidelines/writing/">Queensland Government: web writing</a></li>
<li><a href="http://www.w3.org/TR/WCAG10/full-checklist.html">W3C checklist for Web Content Accessibility Guidelines (WCAG) 1.0</a></li>
<li><a href="http://www.guardian.co.uk/styleguide">The Guardian</a> (A PDF version is freely available)</li>
<li><a href="http://www.plainenglish.co.uk/">The Plain English Society</a> has <a href="http://www.plainenglish.co.uk/beforeandafter.htm">before and after examples</a> and a <a href="http://www.plainenglish.co.uk/howto.pdf">guide on writing in plain English</a></li>
<li> Jakob Neilsen&#8217;s summary of <a href="http://www.useit.com/alertbox/9710a.html">how users read on the web</a> (&#8221;they don&#8217;t&#8221;)</li>
</ul>
<p>A quick thank you to <a href="http://www.torchbox.com">Torchbox</a> for letting me reproduce these guidelines here - I wrote these as part of my work there.</p>
<p><a href="http://www.torchbox.com"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.makemineatriple.com/2007/09/writing-for-the-web/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Problems with opacity in Internet Explorer</title>
		<link>http://www.makemineatriple.com/2007/05/opacity_text_issues/</link>
		<comments>http://www.makemineatriple.com/2007/05/opacity_text_issues/#comments</comments>
		<pubDate>Fri, 18 May 2007 00:04:20 +0000</pubDate>
		<dc:creator>bryan</dc:creator>
		
		<category><![CDATA[Web development]]></category>

		<guid isPermaLink="false">http://www.makemineatriple.com/2007/05/opacity_text_issues/</guid>
		<description><![CDATA[The text suddenly gained a strange - and ugly - border effect]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a strange one I came across the other day. I&#8217;m posting this in the hope that I&#8217;ll save someone out there some time in the future.</p>
<p>I was applying a fade-out effect to a news ticker, and all was going well (thank you <a href="http://developer.yahoo.com/yui/">Yahoo! User Interface library</a>!) until I was ready to test in Internet Explorer. Unfortunately, as soon as the second news item was displayed, the text suddenly gained a strange border effect (perhaps a glow or halo effect might also describe it - but it isn&#8217;t pretty).<br />
<span id="more-11"></span><br />
This is very easy to replicate in IE (either 6 or 7). Just apply <code>filter:alpha(opacity=50);</code> to some text and take a look. It&#8217;s worth noting that while this effect shows on any text on my Windows computer, it turned out to only do it for bold text on some. It&#8217;s possible that Microsoft&#8217;s ClearType font smoothing has somthing to do with this, but I have not looked into this in any detail.</p>
<p>At first I wasn&#8217;t concerned - I simply applied <code>position:relative</code> to the item with the opacity (this being a solution I&#8217;d come up with for a similar text effect in the past), and sure enough the text now looked fine.</p>
<p>However, I wasn&#8217;t yet done, it turned out: now the fade effect didn&#8217;t happen. My text changed from one item to the next, but did it instantly. I played around with the styling for a bit with no effect before the realisation that perhaps background colour might be the key - and sure enough, setting a background colour (but not transparent) solved it.</p>
<p>I mentioned having had a similar effect happen in a different situation. In that case, I wasn&#8217;t doing anything with opacity, but was showing and hiding different blocks of text within the same area of the page. I haven&#8217;t tried out specifying a background colour for that problem, but position:relative worked just fine, so my advice is:</p>
<p>If you get this border effect on your text, first try applying <code>position:relative</code> or set a background colour if that doesn&#8217;t work.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.makemineatriple.com/2007/05/opacity_text_issues/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The Highland Fling</title>
		<link>http://www.makemineatriple.com/2007/04/the-highland-fling/</link>
		<comments>http://www.makemineatriple.com/2007/04/the-highland-fling/#comments</comments>
		<pubDate>Thu, 12 Apr 2007 23:07:04 +0000</pubDate>
		<dc:creator>bryan</dc:creator>
		
		<category><![CDATA[highlandfling07]]></category>

		<guid isPermaLink="false">http://www.makemineatriple.com/2007/04/the-highland-fling/</guid>
		<description><![CDATA[Last Thursday I went up to Edinburgh for the first Highland Fling conference, on progressive enhancement.
Firstly, a big thanks to Alan White for organising the conference, and of course to all the speakers.
Jeremy Keith kicked us off with an overview of progressive enhancement, paving the way for Mark Norman Francis to tie in graded browser [...]]]></description>
			<content:encoded><![CDATA[<p><abbr title="2007-04-05">Last Thursday</abbr> I went up to Edinburgh for the first <a href="http://thehighlandfling.com/2007/">Highland Fling conference</a>, on <a href="http://en.wikipedia.org/wiki/Progressive_enhancement">progressive enhancement</a>.</p>
<p>Firstly, a big thanks to <a href="http://www.alanwhitewebdevelopment.com/">Alan White</a> for organising the conference, and of course to all the speakers.</p>
<p>Jeremy Keith kicked us off with an overview of progressive enhancement, paving the way for Mark Norman Francis to tie in <a href="http://developer.yahoo.com/yui/articles/gbs/">graded browser support</a>, as used by Yahoo!</p>
<p>Andy Budd brought <abbr title="cascading style sheets">CSS</abbr>3 into the mix, talking about the &#8220;Future of CSS&#8221;, encouraging us to start making use of the parts which some browsers (essentially the major players other than Internet Explorer) already support; doing this will hopefully help to push the next CSS recommendation through, possibly in an intermediate step.</p>
<p>Drew McLellan delved into the possibilities of using <a href="http://microformats.org/about/">microformats</a> to throw in an <abbr title="application programming interface">API</abbr> for our sites.</p>
<p>After a break for basking in the Edinburgh sunshine and eating lunch, Christian Heilmann took us through some principles of using Javascript and Ajax in the context of progressive enhancement, giving some great examples. James Edwards was hot on his heels with some warnings from the accessibility perspective - for example, the fact that screen readers partially support javascript means that our checks will detect the support and enable the functionality, but unfortunately they can&#8217;t handle a lot of the things which javascript can do.</p>
<p>Last but (as the old saying goes) by no means least, was Andy Clarke, encouraging us with ways to take things forward. A sneak preview of the new design for <a href="http://www.stuffandnonsense.co.uk">his website</a> revealed his intention of using some of the CSS3 techniques to enhance the presentation in browsers which support them.</p>
<p>After a bit of <abbr title="questions and answers">Q&amp;A</abbr>, we piled off to the bar for a whisky or three. Photos to come&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.makemineatriple.com/2007/04/the-highland-fling/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Link text</title>
		<link>http://www.makemineatriple.com/2007/03/link-text/</link>
		<comments>http://www.makemineatriple.com/2007/03/link-text/#comments</comments>
		<pubDate>Mon, 12 Mar 2007 22:58:07 +0000</pubDate>
		<dc:creator>bryan</dc:creator>
		
		<category><![CDATA[Accessibility]]></category>

		<guid isPermaLink="false">http://www.makemineatriple.com/2007/03/link-text/</guid>
		<description><![CDATA[Imagine having the words "click here" read out to you for every single link]]></description>
			<content:encoded><![CDATA[<p>This one&#8217;s pretty simple actually, so there&#8217;s not much to say about good practice with link text. However, I do keep seeing it being done wrong, so here&#8217;s an outline of the key things to consider.</p>
<p>The first thing to remember is that the link text should &#8220;identify the target of each link&#8221;. In other words, don&#8217;t use text like &#8220;click here&#8221;. Apart from the implication that the user must use a mouse, imagine what a screen reader user would have read out to them on tabbing from link to link and having the link text of each one read out!</p>
<p><span id="more-9"></span> The other aspect to this is that if your link text is misleading about the information available at the other end of the link, you could well waste people&#8217;s time. Consider how you feel when you follow a search result, only to find that the page you ended up on has no useful information.</p>
<p>My theory (just my theory - I&#8217;d be interested to hear other opinions) on the use of &#8220;click here&#8221; as link text is that it originally came about in the early days of the internet, when users were somewhat new to it all, and some of the people building websites tried to help users out by telling them where to click. Of course, the fact that links look / behave like links should is enough. Now we just need to get rid of some rather ingrained bad practice!</p>
<p>There&#8217;s also a slight catch which the <a href="http://www.w3.org/TR/WCAG10-HTML-TECHS/#link-text">advice on the W3C website</a> doesn&#8217;t account for.</p>
<p>The advice given is that the title attribute should be used to help provide additional information about the target of different links, in particular where they share the same link text. This would be most useful for users of screen readers, but what is not so widely known, it seems, is that screen readers do not by default read out the title attribute.</p>
<p>Since the majority of screen reader users do not customise the settings of their readers (there are a couple of reasons for this, and I&#8217;ll be writing a post on screen readers in the near future),  the title attribute is therefore of more limited use than it would first seem.</p>
<p>So, to summarise:</p>
<ul>
<li>Make sure the link text gives your users a good idea of where they&#8217;ll end up.</li>
<li>Don&#8217;t use text like &#8220;click here&#8221;.</li>
<li>Make use of the title attribute where appropriate, but remember that not everyone will get this information.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.makemineatriple.com/2007/03/link-text/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Image alt text</title>
		<link>http://www.makemineatriple.com/2007/02/image_alt/</link>
		<comments>http://www.makemineatriple.com/2007/02/image_alt/#comments</comments>
		<pubDate>Tue, 13 Feb 2007 00:04:21 +0000</pubDate>
		<dc:creator>bryan</dc:creator>
		
		<category><![CDATA[Accessibility]]></category>

		<guid isPermaLink="false">http://www.makemineatriple.com/2007/02/image_alt/</guid>
		<description><![CDATA[Here&#8217;s part one of three in follow-up to the Oxford Geek Night, to elaborate on the points I made about image alt text.
A quick recap (or introduction, if you weren&#8217;t there or haven&#8217;t seen my slides!):
An image&#8217;s alt text is presented to a user if their &#8220;user agent&#8217; (the thing they&#8217;re using to browse web [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s part one of three in follow-up to the <a href="http://oxford.geeknights.net/2007/february-7th/">Oxford Geek Night</a>, to elaborate on the points I made about image alt text.</p>
<p>A quick recap (or introduction, if you weren&#8217;t there or haven&#8217;t seen <a href="/docs/geekNightTalk20070207.pdf">my slides</a>!):</p>
<p>An image&#8217;s alt text is presented to a user if their &#8220;user agent&#8217; (the thing they&#8217;re using to browse web pages) does not display the image. e.g.</p>
<ul>
<li>A text browser is being used</li>
<li>The user is blind and a screen reader reads out the web pages</li>
</ul>
<p>Inclusion of the alt attribute on image (&#8221;&lt;img&gt;&#8221;) tags is <strong>required</strong> by the <a href="http://www.w3.org/TR/html401/struct/objects.html#edef-IMG">W3C specification</a>.</p>
<p><span id="more-8"></span>If you&#8217;re an Internet Explorer user, you&#8217;ll very likely have seen alt text when you mouse over an image. That&#8217;s not actually what alt text is for, and it&#8217;s unfortunately encouraged a bit of bad practice because people have used it for detail which should go into the title attribute.</p>
<h2>Images containing text</h2>
<p>The alt text should say what the image says. For example, if you&#8217;ve got a pretty graphic which is trying to encourage your users to make a donation, then the alt text will be simply &#8220;Make a donation&#8221; or similar. Don&#8217;t describe the picture itself - that&#8217;s irrelevant.</p>
<h2>Decorative images</h2>
<p>When an image is purely decorative, the alt attribute should be left empty. Describing the image to your users is not necessary. Ideally, you will be using <acronym title="Cascading Style Sheets">CSS</acronym> to specify decorative images such as bullet points.</p>
<h2>In summary</h2>
<p>Always consider the context of the image when deciding on the appropriate alt text. Leave it blank if it&#8217;s going to duplicate information or if the image is actually on there to look pretty! The easy way to check whether you&#8217;re doing things correctly is to read out your page, including the alt text for each image, and making sure that it makes sense.</p>
<h2>Other points to consider</h2>
<ul>
<li>If your image contains a large amount of text, then you&#8217;ll probably need to use the longdesc attribute, which would contain a link to the full description. The alt text would be a brief summary to enable a user to decide whether following that link would be worthwhile.</li>
<li>Make your images as accessible as possible. Consider:
<ul>
<li>Colour blind users</li>
<li>Try to keep images clear with reasonably-sized text</li>
</ul>
</li>
</ul>
<p>I hope you find this useful. Comments and questions welcome.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.makemineatriple.com/2007/02/image_alt/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Oxford Geek Nights</title>
		<link>http://www.makemineatriple.com/2007/02/geeknight1/</link>
		<comments>http://www.makemineatriple.com/2007/02/geeknight1/#comments</comments>
		<pubDate>Sat, 10 Feb 2007 01:38:21 +0000</pubDate>
		<dc:creator>bryan</dc:creator>
		
		<category><![CDATA[Accessibility]]></category>

		<category><![CDATA[Talks]]></category>

		<category><![CDATA[Web development]]></category>

		<guid isPermaLink="false">http://www.makemineatriple.com/2007/02/geeknight1/</guid>
		<description><![CDATA[Two nights ago was the first Oxford Geek Night. This was basically a chance for web developers and designers to get together in a mixed business and social context.]]></description>
			<content:encoded><![CDATA[<p>Two nights ago was the first <a href="http://oxford.geeknights.net/2007/february-7th/">Oxford Geek Night</a>. This was basically a chance for web developers and designers to get together in a mixed business and social context.</p>
<p>I did one of the &#8220;microslots&#8221; - a five minute talk on &#8220;Avoiding accessibility pitfalls&#8221;. This is of course a huge area, and one I&#8217;d happily talk for hours about, so I focussed on three areas in which I keep seeing people trip up:</p>
<ol>
<li>Giving appropriate <abbr title="alternate">alt</abbr> text</li>
<li>Correct use of link text</li>
<li>Using markup correctly</li>
</ol>
<p>I&#8217;ll be elaborating on each of these areas in my next few posts; in the meantime, you can <a href="/docs/geekNightTalk20070207.pdf">download my slides</a> as a <acronym title="Portable Document Format">pdf</acronym>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.makemineatriple.com/2007/02/geeknight1/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.574 seconds -->
