<?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>nascentguruism &#187; Tim Huegdon</title>
	<atom:link href="http://nascentguruism.com/journal/category/tim-huegdon/feed" rel="self" type="application/rss+xml" />
	<link>http://nascentguruism.com</link>
	<description></description>
	<lastBuildDate>Tue, 13 Apr 2010 22:45:06 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Search, and ye shall&#160;fail</title>
		<link>http://nascentguruism.com/journal/search-and-ye-shall-fail</link>
		<comments>http://nascentguruism.com/journal/search-and-ye-shall-fail#comments</comments>
		<pubDate>Fri, 11 May 2007 10:46:21 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Alex Lee]]></category>
		<category><![CDATA[Ann McMeekin]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[graceful degredation]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Mark Norman Francis]]></category>
		<category><![CDATA[Mike Davies]]></category>
		<category><![CDATA[Norm!]]></category>
		<category><![CDATA[progressive enhancement]]></category>
		<category><![CDATA[Tim Huegdon]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[Yahoo!]]></category>
		<category><![CDATA[Yahoo! TV]]></category>

		<guid isPermaLink="false">http://nascentguruism.com/journal/search-and-ye-shall-fail</guid>
		<description><![CDATA[in which our illustrious leader solves the problems with current web search interfaces]]></description>
				<content:encoded><![CDATA[<p>There&#8217;s an accepted solution for channelled searching: offer a textbox input and a submit button, supported by a series of links to each channel of the search. The links will typically have JavaScript layered onto them (in theory, at least) to rewrite the form&#8217;s target, so that the user may refine their search before submitting it. This behaviour can be seen on <a href="http://yahoo.com/">Yahoo! <abbr title="United States" class="caps">US</abbr></a>, <a href="http://uk.yahoo.com/">Yahoo! <abbr title="United Kingdom" class="caps">UK</abbr> and Ireland</a>, <a href="http://msn.com/"><abbr title="Microsoft Network" class="caps">MSN</abbr></a>, and yes, even <a href="http://google.com/">Google</a>.</p>

<p>It <em>must</em> be the best solution, mustn&#8217;t it, if all these sites use similar techniques?</p>

<h2>The objective of my affection</h2>

<p>If we step back for a moment, to examine the user&#8217;s needs, we can see two objectives for the average searcher: <strong>find something</strong> and [<ins>perhaps</ins>] make it <em>of this type</em>.</p>

<p>The &#8216;something&#8217; for which the user is searching is, in their mind, the foremost concern. <em>Everything else</em> is secondary. When searching, a user&#8217;s first instinct will almost always be to enter their search terms (and why should it be otherwise?). Everything about a search interface is geared toward this: the keyword input has the most visual weight on the screen &#8212; on a typical search index page &#8212; and the most prominent position &#8212; either near dead-centre or in the head of the page, depending on the type of page.</p>

<p>The accepted solution, happily, cedes to this under all circumstances.</p>

<p>The second objective, then, is the type of results that will satisfy the search. The introduction of this second objective is where user behaviour will begin to deviate: depending on their priorities and personal inclinations, users&#8217; execution of this may take place before, after, or even <em>during</em> the steps to meet the primary objective. Unlike the emphasis placed on the keyword input, the type of results to return should be &#8212; and, typically, are &#8212; de-emphasised where possible, but be present &#8212; and have their presence known &#8212; should the user require them (either to confirm their beliefs or to make a change).</p>

<h2>Humbled</h2>

<p>But the accepted solution only pays lip-service to this more complex interaction: for any user without JavaScript, the only acknowledged paths for them to change the channel in which they are searching is to select it before they begin their search or, assuming that the search engine alters the links based on the latest query, directly after (and before they attempt to manipulate their search further). </p>

<p>By using JavaScript to bludgeon links into selecting from a choice of mutually exclusive channels, the user experience of what <em>should</em> be a simple search form is broken for many users when they attempt to interact with it in a way that seems natural to them. To compound this issue further, the use of links means that screen reader users may <em>never</em> be able to use this functionality, as links within the form will never be announced when they are entering their search terms.</p>

<p>The problem is that whomever has implemented these solutions (or their forebears) had the mindset of &#8216;HTML is static, JavaScript is dynamic&#8217; &#8212; or simply didn&#8217;t care enough to question the accepted norm &#8212; and so overlooked what was staring them right in the face: HTML already has a perfectly good input device for selecting one and only one item from a collection:</p>

<p>The humble radio-button.</p>

<p>Given a little semantic markup and CSS (with a smattering of JavaScript to add extra styling hooks), it&#8217;s entirely possible to style a group of radio-buttons in a more visually apt way to indicate that it is filtering the search input, whilst offering a far more interactive experience to <em>all</em> users of the site, not just those with JavaScript.</p>

<p>So I did.</p>

<p>That&#8217;s what you can see in action on the new <a href="http://uk.tv.yahoo.com/">Yahoo! <abrr title="United Kingdom" class="caps">UK</abrr> and Ireland <abbr title="Television" class="caps">TV</abbr></a> (along with <a href="http://fr.tv.yahoo.com/" title="Yahoo! France Télé">France</a>, <a href="http://de.tv.yahoo.com/" title="Yahoo! Deutschland TV">Germany</a>, <a href="http://it.tv.yahoo.com/" title="YahoO! Italia TV">Italy</a>, and <a href="http://es.tv.yahoo.com/" title="Yahoo! España TV">Spain</a>).</p>

<h2>Implementation notes</h2>

<p>As noted above, the main components of the form are a list of radio-buttons, a textbox, and a submit button. Of particular note is the way the radio-buttons are scripted and styled, and the structure of the radio-button labels relative to the form&#8217;s <code>&lt;legend&gt;</code>. Further, implementing the search this way requires that the server-side script be able to handle the new field being passed its way appropriately.</p>

<h3>Scripted style</h3>

<p>For all users, the core functionality of the radio-buttons is available, with these styled as an inline list for users with CSS enabled. The JavaScript, when enabled, will simply add a class to the root of the list, along with an extra <code>&lt;span&gt;</code> to allow styling of the labels in accordance with the design. When the radio-buttons receive focus the &#8216;selected&#8217; class is moved to the new selection. This activity takes place on focus, mark you, and not click: click events fire on the <em>originating</em> control which, when navigating with the keyboard, will mean the <em>previously selected</em> radio-button.</p>

<h3>A <code>&lt;legend&gt;</code> in its own life-time</h3>

<p>It was brought to my attention that a form&#8217;s <code>&lt;legend&gt;</code> will, by default, be announced before each and every form field by screen readers. To make this as unobtrusive as possible, each radio-button&#8217;s <code>&lt;label&gt;</code> is worded such that it makes the most possible sense when preceded by the legend text. In English, for example, the radio-buttons will be announced as &#8216;Search… the web&#8217;, &#8216;Search… for images&#8217;, and so forth (where &#8216;Search&#8217; is the form&#8217;s  <code>&lt;legend&gt;</code>).</p>

<p>The radio-buttons&#8217; full text, though, would not make sense in a visual context: they should be presented as tabs titled &#8216;Web&#8217;, &#8216;Images&#8217;, and so on. To achieve this, the visually inappropriate portions of the <code>&lt;label&gt;</code> are wrapped in <code>&lt;span&gt;</code>s and positioned outside the browser&#8217;s viewport &#8212; along with the form&#8217;s legend and the radio-buttons themselves &#8212; such that they may still be accessed by screen readers and the like.</p>

<p>Furthermore, because the radio-buttons are still present in the content of the page, keyboard users may navigate the form fully through the keyboard (using arrow keys to move between items radio-buttons in a collection).</p>

<p><ins>Once again, this can all be seen in action on the new <a href="http://uk.tv.yahoo.com/">Yahoo! <abrr title="United Kingdom" class="caps">UK</abrr> and Ireland <abbr title="Television" class="caps">TV</abbr></a> (along with <a href="http://fr.tv.yahoo.com/" title="Yahoo! France Télé">France</a>, <a href="http://de.tv.yahoo.com/" title="Yahoo! Deutschland TV">Germany</a>, <a href="http://it.tv.yahoo.com/" title="YahoO! Italia TV">Italy</a>, and <a href="http://es.tv.yahoo.com/" title="Yahoo! España TV">Spain</a>). [Links added at Mike's suggestion]</ins></p>

<h2>Thanks</h2>

<p>I can by no means take full responsibility for the successful implementation of this concept, though: I&#8217;d particularly like to thank <a href="http://cackhanded.net/" title="Mark Norman Francis's Cackhanded.net" rel="friend met co-worker">Norm!</a>, <a href="http://www.isolani.co.uk/" title="Mike Davies's isolani" rel="friend met co-worker">Mike Davies</a>, <a href="http://www.csensedesign.co.uk/" title="Alex Lee: in the arms of strangers" rel="friend met co-worker">Alex Lee</a> (our designer), <a href="http://nefariousdesigns.co.uk/" title="Tim Huegdon's Nefarious Designs" rel="friend met co-worker">Tim Huegdon</a>, and <a href="http://www.pixeldiva.co.uk/" title="Ann McMeekin: pixeldiva" rel="friend met co-worker">Ann McMeekin</a> (of the <a href="http://www.rnib.org.uk/"><abbr title="Royal National Institute of the Blind" class="caps">RNIB</abbr></a>) for all their help, advice, and patience (particularly when I got things working and made lots of excited noises at them), and this wouldn&#8217;t have ever been a reality on Yahoo! TV for Europe if it hadn&#8217;t been for the receptive, responsive attitude of the engineers working on Yahoo! Search for&nbsp;Europe.</p>]]></content:encoded>
			<wfw:commentRss>http://nascentguruism.com/journal/search-and-ye-shall-fail/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Unrelenting</title>
		<link>http://nascentguruism.com/journal/unrelenting</link>
		<comments>http://nascentguruism.com/journal/unrelenting#comments</comments>
		<pubDate>Thu, 22 Feb 2007 11:19:54 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[@media]]></category>
		<category><![CDATA[barcamp]]></category>
		<category><![CDATA[Chris Kaminski]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[d.Construct]]></category>
		<category><![CDATA[dConstruct]]></category>
		<category><![CDATA[Mark Norman Francis]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[Norm!]]></category>
		<category><![CDATA[Reading Festival]]></category>
		<category><![CDATA[SXSW]]></category>
		<category><![CDATA[Tim Huegdon]]></category>
		<category><![CDATA[travel]]></category>

		<guid isPermaLink="false">http://nascentguruism.com/journal/unrelenting</guid>
		<description><![CDATA[in which our host attempts to kindle a spark for blogging by talking about past, present, and future]]></description>
				<content:encoded><![CDATA[<p>Where did the last six months go?</p>

<p>It doesn&#8217;t seem like it was that long ago that I was <a href="/journal/camp" title="&lsquot;Camp&rsquot; on nascentguruism">getting excited</a> in the build-up to <a href="http://www.readingfestival.com/" title="Reading Festival">Reading</a>, <a href="http://barcamp.org/BarCampLondon">BarCampLondon</a>, and <a href="http://2006.dconstruct.org/">d.Construct &#8217;06</a> (all three of which were incredibly fun).</p>

<p>Since then, I&#8217;ve managed to get a job at <a href="http://uk.yahoo.com/">Yahoo! Europe</a> as a web developer, become a regular at <a href="http://pubstandards.co.uk/">Pub Standards</a>, <a href="/journal/happy-new" title="&lsquot;Happy New&rsquot; on nascentguruism">launch a new design</a> for this site (and let it languish, despite my best intentions), and attend a <a href="http://barcamp.org/BarCampLondon2" title="BarCampLondon2">second BarCamp</a>, as well as going to various gigs (to name but a small fraction). </p>

<p>I had thought that I&#8217;d experience a quick flurry of activity before things returned to normal. How wrong I was: my definition of normal has been altered to include working with some of the <a href="http://cackhanded.net/" title="Norm!, King of the Britons" rel="friend met co-worker">best</a>, <a href="http://nefariousdesigns.co.uk/" title="Tim Huegdon" rel="friend met co-worker">brightest</a>, and <a href="http://setmajer.com/" title="Chris Fucking Kaminski" rel="friend met co-worker">most influential</a> people I could ever care to work with, having an influence on potentially thousands of people&#8217;s browsing experiences, almost 4 hours of commuting every day (most of which is spent on public transport), and a general feeling of awe at everything my life has become in this short period of time.</p>

<p>Everything seems to be happening at an unrelenting pace now: <a href="http://2007.sxsw.com/"><abbr title="South by South-West 2007">SxSW07</abbr></a> is just around the corner, <a href="http://www.vivabit.com/atmedia2007/" title="@media 2007">@media</a> won&#8217;t be far behind that, with d.Construct &#8217;07 sure to follow. BarCamps will probably be plentiful this year, too, and I&#8217;m going to try to go to <a href="http://www.readingfestival.com/" title="Reading Festival">Reading</a> again, as well as (hopefully) taking an <a href="http://www.outwardbound.org.uk/Individual/Expeditions/WelshExpedition.htm">Outward Bound &#8216;adventure&#8217;</a>. Because of this I&#8217;m making loads of new friends and seeing old ones more often, too.</p>

<p>I&#8217;m busy as hell, but I couldn&#8217;t be&nbsp;happier.</p>]]></content:encoded>
			<wfw:commentRss>http://nascentguruism.com/journal/unrelenting/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
