<?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>Learning the World &#187; DOM scripting</title>
	<atom:link href="http://learningtheworld.eu/tag/dom-scripting/feed/" rel="self" type="application/rss+xml" />
	<link>http://learningtheworld.eu</link>
	<description></description>
	<lastBuildDate>Tue, 06 Nov 2012 00:17:33 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.9.1</generator>
	<item>
		<title>Foreground Sprites</title>
		<link>http://learningtheworld.eu/2007/foreground-sprites/</link>
		<comments>http://learningtheworld.eu/2007/foreground-sprites/#comments</comments>
		<pubDate>Thu, 26 Jul 2007 13:00:55 +0000</pubDate>
		<dc:creator><![CDATA[Martin Kliehm]]></dc:creator>
				<category><![CDATA[accessibility]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[css sprites]]></category>
		<category><![CDATA[DOM scripting]]></category>
		<category><![CDATA[foreground sprites]]></category>
		<category><![CDATA[hover]]></category>
		<category><![CDATA[image swapping]]></category>
		<category><![CDATA[img element]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[mouseover]]></category>
		<category><![CDATA[rollover]]></category>

		<guid isPermaLink="false">http://learningtheworld.eu/2007/foreground-sprites/</guid>
		<description><![CDATA[Most rollovers have become obsolete because they can be performed on background images with <strong><acronym title="Cascading Style Sheets">CSS</acronym> sprites</strong>. However, there are those rare cases when there is just an icon without text, like a &#8220;play&#8221; or &#8220;pause&#8221; button. This article discusses how to apply <acronym>CSS</acronym> sprites for foreground images.&#160;[&#8230;]]]></description>
				<content:encoded><![CDATA[<p class="alert"><ins datetime="20080626T200000">Please consider a better solution with <a href="/2008/better-foreground-sprites/">Better Foreground Sprites</a>.</ins></p>

<p>Most rollovers have become obsolete because they can be performed on background images with <strong><a href="http://www.alistapart.com/articles/sprites/"><acronym title="Cascading Style Sheets">CSS</acronym> sprites</a></strong>. If there are hover effects today, they usually come as text on a button background image, or as a text link with an icon next to it.</p>

<p>However, there are those rare cases when there is <strong>just an icon without text</strong>, like a &ldquo;play&rdquo; or &ldquo;pause&rdquo; button, or a magnification glass on an image to signal it can be enlarged. If you want to swap images when the element receives focus or on mouseover, traditionally you are stuck with two options:</p>

<ol>
<li>JavaScript to change the image source, or</li>
<li><acronym>CSS</acronym> sprites to change the position of a background image behind a transparent <code>gif</code> image.</li>
</ol>

<p>I like neither. Using JavaScript and two images with pre-loading seems like a waste of resources when it can be done with <acronym>CSS</acronym> and one image only. Transparent gifs are <em>so</em> 1998, besides the background usually doesn&rsquo;t get printed. So what we need on these occasions are <strong><acronym>CSS</acronym> sprites for foreground images</strong>.</p>

<p>Until recently I thought that can&rsquo;t be done, but then I stumbled upon some code for <a href="http://download.dojotoolkit.org/release-0.9.0beta/dojo-0.9.0beta/dijit/tests/form/test_Checkbox.html">checkbox widgets in Dojo</a>. Naturally they use a lot of JavaScript for the task. Anyway I like my default checkboxes and don&rsquo;t have any urge to make them prettier (I have no doubt our design overlords would enforce <em>aqua</em> icons everywhere), but that made me think. Here&rsquo;s a suggestion:</p>

<p>First a simple sprite which is 50px wide: <img src="/examples/img/icon-enlarge.gif" width="50" height="15" alt="Two icons of a magnification glass" class="example sprite" /></p>

<p>The <acronym title="Hypertext Markup Language">HTML</acronym> code uses the dimensions of a <em>single</em> icon for width and height to allow fast page rendering without reflow:</p>

<ol class="code">
<li><code>&lt;a href=&quot;/big/&quot; class="icon"&gt;</code></li>
<li class="indent"><code>&lt;img src=&quot;/img/icon-enlarge.gif&quot; id=&quot;magnifier&quot; <strong>width=&quot;19&quot; height=&quot;15&quot;</strong> alt=&quot;enlarge image&quot; /&gt;</code></li>
<li><code>&lt;/a&gt;</code></li>
</ol>

<p>The corresponding <acronym>CSS</acronym> sets the link to <code>display: block</code>, uses the single icon dimensions for the container, prevents overflow, and resets the image dimensions to <code>auto</code> to prevent distortion. The actual image swapping is achieved by a negative left margin on hover.</p>

<ol class="code">
<li><code>a.icon {</code></li>
<li class="indent"><code><strong>display: block;</strong></code></li>
<li class="indent"><code><strong>width: 19px;</strong></code></li>
<li class="indent"><code><strong>height: 15px;</strong></code></li>
<li class="indent"><code><strong>overflow: hidden;</strong></code></li>
<li><code>}</code></li>
<li><code>a.icon img {</code></li>
<li class="indent"><code><strong>width: auto;</strong></code></li>
<li class="indent"><code><strong>height: auto;</strong></code></li>
<li class="indent"><code>border: none;</code></li>
<li><code>}</code></li>
<li><code>a.icon:hover img, a.icon:focus img, a.icon img.hover {</code></li>
<li class="indent"><code><strong>margin-left: &minus;31px;</strong></code></li>
<li><code>}</code></li>
</ol>

<p>For the sake of simplicity I ignored how the link would be floated or positioned. Also borders, a background color, or padding to increase the clickable area can be added to the parent element.</p>

<p>For simplicity I chose a link in the example, but the same can be done with a <code>div</code> surrounding an <code>&lt;input type=&quot;image&quot;&nbsp;/&gt;</code>. Then of course you need to define <code>cursor: pointer</code>, and for anything below <acronym title="Internet Explorer">IE</acronym>7 bind the <acronym title="Document Object Model">DOM</acronym> event to the hovering element (<a href="/examples/js/foreground-sprites-ie6.js" type="text/javascript" title="JavaScript source code to fix Internet Explorer">get the source</a>):</p>

<ol class="code">
<li><code>&lt;!--[if lt IE 7]&gt;</code></li>
<li><code>&lt;script type=&quot;text/javascript&quot;&gt;</code></li>
<li><code>oIcon = {</code></li>
<li class="indent"><code>setHoverClass : function() {</code></li>
<li class="indent"><code><span class="indent"><strong>this.className = &#x27;hover&#x27;;</strong></span></code></li>
<li class="indent"><code>},</code></li>
<li class="indent"><code>resetHoverClass : function() {</code></li>
<li class="indent"><code><span class="indent"><strong>this.className = &#x27;&#x27;;</strong></span></code></li>
<li class="indent"><code>}</code></li>
<li><code>};</code></li>
<li><code>var elm = document.getElementById(&#x27;magnifier&#x27;);</code></li>
<li><code>if (elm) {</code></li>
<li class="indent"><code>elm.onmouseover = elm.onfocus = oIcon.setHoverClass;</code></li>
<li class="indent"><code>elm.onmouseout = elm.onblur = oIcon.resetHoverClass;</code></li>
<li><code>}</code></li>
<li><code>&lt;/script&gt;</code></li>
<li><code>&lt;![endif]--&gt;</code></li>
</ol>

<p><strong>Here is a working example</strong>. You know how to adjust the code if you need more than one class on the image.</p>

<p><a href="#" class="icon"><img src="/examples/img/icon-enlarge.gif" id="magnifier" width="19" height="15" alt="enlarge image" /></a></p>

<p>That was nice and easy. It&rsquo;s tested in Firefox&nbsp;2, Opera&nbsp;9, Internet Explorer 5+, and Safari&nbsp;2. Screen readers should be okay with the <code>alt</code> text.</p>

<h3>Discussion</h3>

<p>The trouble begins when people <strong>start turning off browser features</strong>.</p>

<p>People with <strong>disabled images</strong> won&rsquo;t be able to read the alternative text because the visible area is limited by the parent container. That can be detected by comparing the known sprite size with the <code>alt</code> text size. Then the class is set to anything but <code>icon</code> so that the parent container expands.</p>

<p>More severe is when people <strong>disable style sheets</strong> because then they will see a squeezed image with multiple icons. If you are hyper-correct, you could replace the crushed multi-icon image with the correct single icon (you could use the <code>class</code> or <code>rel</code> attribute to define the icon type), but nobody wants to slice images. As a compromise I would suggest to replace the icon with its <code>alt</code> text.</p>

<p>See the <a href="/examples/js/foreground-sprites-access.js" type="text/javascript" title="JavaScript source code for accessibility">script</a> to detect disabled images or <acronym>CSS</acronym>. (Note: it isn&rsquo;t implemented here because I couldn&rsquo;t test it properly on <acronym>IE</acronym>6 with stuff turned off.)</p>

<p>If JavaScript is unavailable, the user is stranded with what we gave him. Also <strong>icons without text are inherently evil</strong> because they can&rsquo;t be enlarged by zoom readers. Did I forget any politically correct disclaimer for obscure use scenarios?</p>

<p>So we ended up with a <acronym>CSS</acronym> only version, but still some JavaScript is needed for the extra effort to provide the same experience to users of <acronym>IE</acronym> 5-6, and some more for certain user scenarios. Wouldn&rsquo;t it be easier to slice and swap foreground images the old way? But then again slicing is a pain, and people already start using background images. <strong>Do people actually turn off <acronym>CSS</acronym> and images?</strong> Or is that another remnant of <acronym title="Web Content Accessibility Guidelines">WCAG</acronym> 1.0 from 1999?</p>
]]></content:encoded>
			<wfw:commentRss>http://learningtheworld.eu/2007/foreground-sprites/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>My @media 2006 Day One</title>
		<link>http://learningtheworld.eu/2006/atmedia-day-one/</link>
		<comments>http://learningtheworld.eu/2006/atmedia-day-one/#comments</comments>
		<pubDate>Wed, 21 Jun 2006 10:22:05 +0000</pubDate>
		<dc:creator><![CDATA[Martin Kliehm]]></dc:creator>
				<category><![CDATA[conferences]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[web standards]]></category>
		<category><![CDATA[@media]]></category>
		<category><![CDATA[accessibility]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[atmedia]]></category>
		<category><![CDATA[atmedia2006]]></category>
		<category><![CDATA[book:isbn=0321472667]]></category>
		<category><![CDATA[book:isbn=0596527330]]></category>
		<category><![CDATA[Chris Wilson]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[DOM scripting]]></category>
		<category><![CDATA[Eric Meyer]]></category>
		<category><![CDATA[IE7]]></category>
		<category><![CDATA[Jan Eric Hellbusch]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Jeffrey Veen]]></category>
		<category><![CDATA[Jens Grochtdreis]]></category>
		<category><![CDATA[Jeremy Keith]]></category>
		<category><![CDATA[london]]></category>
		<category><![CDATA[Tomas Caspers]]></category>
		<category><![CDATA[uk]]></category>
		<category><![CDATA[WCAG 2.0]]></category>

		<guid isPermaLink="false">http://learningtheworld.eu/2006/atmedia-day-one/</guid>
		<description><![CDATA[@media is a web conference in London with a focus on web standards and accessibility, and impossible to google. I missed last year&#8217;s conference, thus I was looking forward to finally meet all the people whose articles, web publications and more recently blogs provided my literature and inspiration for the past seven years or so.&#160;[&#8230;]]]></description>
				<content:encoded><![CDATA[<p><strong><a href="http://www.vivabit.com/atmedia2006/">@media</a> is a web conference in London with a focus on web standards and accessibility, and impossible to google.</strong> I missed last year&rsqou;s conference, thus I was looking forward to finally meet all the people whose articles, web publications and more recently blogs provided my literature and inspiration for the past seven years or so.</p>

<h3>In this post:</h3>

<ul class="toc">
    <li><a href="#meyer">Eric Meyer: Keynote</a></li>
    <li><a href="#keith">Jeremy Keith: Using <acronym title="Document Object Model">DOM</acronym> scripting to plug the holes in <acronym>CSS</acronym></a></li>
    <li><a href="#wilson">Chris Wilson: <acronym title="Microsoft Internet Explorer">IE</acronym>: 7 and beyond</a></li>
    <li><a href="#wcag">The new accessibility guidelines: <acronym title="Web Content Accessibility Guidelines">WCAG</acronym>&nbsp;2.0</a></li>
    <li><a href="#veen">Jeffrey Veen: Designing the next generation of web <abbr title="Applications">apps</abbr></a></li>
</ul>

<h3 id="geek-life">Introducing geeks to a social life</h3>

<p><a href="http://flickr.com/photos/tomascaspers/168221986/in/set-72157594170010626/" title="Larger version of the Johansson/Caspers photo on flickr"><img class="floatleft photo" src="/wp-content/uploads/2006/06/2006-06-14-johansson-caspers" alt="Roger Johansson &amp; Tomas Caspers" width="200" height="110" /></a> There was some socializing the evening before the conference where I met with a couple of Germans, like <span class="vcard"><a href="http://blog.grochtdreis.de" class="url fn" hreflang="de">Jens Grochtdreis</a></span> who initiated the German web standardista group &ldquo;<a href="http://www.webkrauts.de" hreflang="de">Webkrauts</a>&rdquo;, <span class="vcard"><a href="http://www.barrierefreies-webdesign.de" class="url fn" hreflang="de"><span class="given-name">Jan Eric</span> <span class="family-name">Hellbusch</span></a></span> whose website I had noticed before for some master theses about accessibility, or <span class="vcard"><span class="fn">Tomas Caspers</span> who is a member of <acronym title="Web Standards Project">WaSP</acronym> and the mastermind behind the accessibility portal <a href="http://www.einfach-fuer-alle.de" class="url" hreflang="de" xml:lang="de" lang="de">Einfach für alle</a>. Actually I wasn&#8217;t the only one to notice he looks like the lost fifth member of the German punk band &ldquo;Die Toten Hosen&rdquo;?&hellip;</span> Also that&rsquo;s where I met <span class="vcard"><a href="http://www.456bereastreet.com" class="url fn">Roger Johansson</a></span>, whose technical blog <em>456&nbsp;Berea Street</em> is a must-read for <acronym title="Cascading Style Sheets">CSS</acronym> and accessibility aware coders.</p>

<p>So my <strong>first day on @media</strong> began with a walk through polluted London air along surveillance cameras and anti-tank barriers along the Houses of Parliament over to the queue in front of the Queen Elizabeth <abbr title="the second">II</abbr> Conference Center (QE2CC) where we got nice bags and name tags. I would suggest <em>shawls</em> with the @media logo for next year to stand a chance against the bloody cold air conditioning while it was 28&deg;&nbsp;<abbr title="Celsius">C</abbr> outside. <img src="http://learningtheworld.eu/wp-includes/images/smilies/icon_wink.gif" alt=";-)" class="wp-smiley" /> </p>

<h3 id="meyer">Eric Meyer: Keynote</h3>

<p class="vcard"><a href="http://www.flickr.com/photos/chrisjennings/169037394/in/set-72157594168773966/" title="Larger version of the Eric Meyer photo on flickr"><img class="floatleft photo" src="/wp-content/uploads/2006/06/2006-06-15-eric-meyer" alt="Eric Meyer" width="200" height="150" /></a> The conference started with a keynote by <a href="http://meyerweb.com" class="url fn">Eric Meyer</a> with his personal impressions of the last ten years of the web. Quite interesting since I&rsquo;ve been reading his articles on <a href="http://meyerweb.com/eric/writing.html">Web Review</a>, where he published among other things the famous <acronym title="Cascading Style Sheets">CSS</acronym> browser compatibility chart, a great companion in my struggle with 4th generation browsers.</p>

<p>Looking back, he realized the following truths:</p>

<ol>
    <li>Small groups of <strong>dedicated experts <em>can</em> change a lot</strong> (<abbr title="for example">e.g.</abbr> the <a href="http://archive.webstandards.org/css/members.html"><acronym>CSS</acronym> Samurai</a>, or <a href="http://www.tantek.com">Tantek Çelik</a> who introduced doctype switching).</li>
    <li><strong>Free information</strong> is an essential part of any new web technology&rsquo;s adoption.</li>
    <li>You don&rsquo;t hear much anymore from people or companies who kept information as a &ldquo;personal advantage.&rdquo;</li>
    <li>You might be the first who thought about a certain solution. Savour this moment, and then <strong>share it</strong>.</li>
</ol>

<h3 id="keith">Using <acronym title="Document Object Model">DOM</acronym> scripting to plug the holes in <acronym>CSS</acronym></h3>

<p class="vcard"><a href="http://www.flickr.com/photos/martin-kliehm/171514731/in/set-72157594172244478/" title="Larger version of the Jeremy Keith photo on flickr"><img class="floatleft photo" src="/wp-content/uploads/2006/06/2006-06-15-jeremy-keith" alt="Jeremy Keith" width="200" height="150" /></a> As an example, <a href="http://adactio.com" class="url fn">Jeremy Keith</a> introduced the techniques of Buck Owens, the first musician to &ldquo;hack&rdquo; the tinny sound of early radios by replacing the bass with a regular guitar. So his tracks sounded better and got more airtime. Using <acronym>DOM</acronym> scripting to work around incomplete <acronym>CSS</acronym> implementations or to simulate <acronym>CSS</acronym>&nbsp;3 behavior is basically the same, as long as there aren&rsquo;t yet browsers with <q>&ldquo;great bass.&rdquo;</q></p>

<p>Okay, most of the stuff in his <cite><a href="http://domscripting.com/presentations/atmedia2006/slides/" title="Slides for Jeremy&rsquo;s DOM scripting presentation">presentation</a></cite> sounded familiar, and I&rsquo;d rather set zebra stripes on table row backgrounds server side. Still I got some inspiration how to do some things <em>better</em>. For example it never occurred to me to combine selectors like</p>

<ol class="code"><li><code>document.<strong>getElementById</strong>(&quot;id&quot;)<span class="codeSpace">&nbsp;</span>.<strong>getElementsByTagName</strong>(&quot;p&quot;)</code></li></ol>

<p>Or I never thought of using a universal selector in JavaScript:</p>

<p class="block"><code>document.getElementsByTagName(&quot;<strong>*</strong>&quot;)</code></p>

<p>Also the next time I&rsquo;m manipulating an object&rsquo;s class, I promise to do it by writing some reusable functions like</p>

<ol class="code">
    <li><code>document.<strong>getElementByClassName()</strong></code></li>
    <li><code>function <strong>addClass(</strong>element, className<strong>)</strong></code></li>
</ol>

<p>And after I <code>createElement</code> I should set more attributes by setting a <code>className</code> instead of adding each attribute separately.</p>

<p>When he mentioned <acronym>CSS</acronym>&nbsp;3, I learned that Safari is already capable of handling multiple background images. And I liked his introduction of the geeky Star Trek term of a <q>&ldquo;<a href="http://en.wikipedia.org/wiki/Kobayashi_Maru" title="Kobayashi Maru on Wikipedia">Kobayashi Maru scenario</a>&rdquo;</q> for a no-win situation, or his translation of object detection</p>

<ol class="code"><li><code>if (document.getElementById) { }</code></li></ol>

<p>with <q>&ldquo;you must be this high to ride.&rdquo;</q> Rather cool, and a very entertaining presentation.</p>

<h3 id="wilson"><acronym title="Microsoft Internet Explorer">IE</acronym>: 7 and beyond</h3>

<p class="vcard"><a href="http://www.flickr.com/photos/chrisjennings/169144799/in/set-72157594168773966/" title="Larger version of the Chris Wilson photo on flickr"><img class="floatleft photo" src="/wp-content/uploads/2006/06/2006-06-15-chris-wilson-s" alt="Chris Wilson" width="200" height="150" /></a> <cite><a class="url fn" href="http://blogs.msdn.com/cwilso/">Chris Wilson</a></cite> worked on the Mosaic browser (that&rsquo;s, like, <em>Netscape&nbsp;1</em> &mdash; scary, isn&rsquo;t it?) and on <acronym>IE</acronym> ever since version&nbsp;2. Praise him for first implementing <acronym>CSS</acronym> in <acronym>IE</acronym>3, blame him for some nasty bugs he&rsquo;s personally responsible for in <acronym>IE</acronym>6. Also he&rsquo;s the one who wrote <a href="http://blogs.msdn.com/cwilso/archive/2006/05/11/595536.aspx" title="Chris Wilson&rsquo;s blog &ldquo;Microsoft, IE and the Web Standards Project&rdquo;">he will quit</a> (and probably become a professional surfer) the day he loses his passion or <acronym>IE</acronym> gets mothballed again.</p>

<p>After some blatant promotion for all the outstanding new features and fixes in <acronym>IE7</acronym>, things you can read about in the <a href="http://blogs.msdn.com/ie/"><acronym>IE</acronym>Blog</a> if you haven&rsquo;t yet, he came to the interesting facts:</p>

<p>First of all, they are planning the <strong>next two releases</strong> now, and it won&rsquo;t take another five years until <acronym>IE8</acronym> will emerge. Also <a href="http://blogs.msdn.com/ie/archive/2006/05/26/608255.aspx"><acronym>IE7+</acronym></a> for Windows Vista is only marketing speak, what counts is that it has the same features as <acronym>IE7</acronym> for Windows <acronym>XP</acronym>, except for some vista-only security and parental control. <strong><acronym>IE7</acronym> will ship</strong> in <q>&ldquo;second half 2006.&rdquo;</q> More precisely, the Malaysian Vista developer Jabez Gan disclosed earlier that <a href="http://www.msblog.org/?p=692" title="More on MSBlog">December 6</a> will be the release date.</p>

<p>Because of the deep interaction with the operating system they can&rsquo;t push it as a critical <strong>Windows update</strong>, but they will <q>&ldquo;strongly encourage people to update.&rdquo;</q> The <strong>new fonts</strong> won&rsquo;t be deployed with the update, more likely in a separate package, simply because with Unicode support some are too large.</p>

<p>On a technical side they are aware of developer&rsquo;s problems to test on <strong>multiple versions of <acronym>IE</acronym></strong>. Though it is technically hard to have a friendly co-existence of multiple <acronym>IE</acronym>s because they provide the operating system, it should be possible to create side-by-side versions of <em>the browser</em> only. Yay, that&rsquo;s what we want!</p>

<p>Also they would like to support the <strong><acronym title="eXtensible Hypertext Markup Language">XHTML</acronym> <acronym title="Multipurpose Internet Mail Extensions">MIME</acronym> type</strong>, but want to do it right, later. Same is true for <strong>advanced <acronym>DOM</acronym> support</strong>, or passing the <strong>Acid2 test</strong>. What&rsquo;s next for the web? <strong>Mashups</strong>, <strong><acronym title="Really Simple Syndication">RSS</acronym></strong>, <a href="/2006/atmedia-day-two/#tantek" title="See Tantek &Ccedil;elik&rsquo;s session for more information on microformats">microformats</a>, and <strong>XMLHttpRequest</strong> (did you know there&rsquo;s a <a href="http://www.w3.org/TR/XMLHttpRequest/" title="XMLHttpRequest Working Draft"><acronym title="World Wide Web Consortium">W3C</acronym> working draft</a>?). <strong>XForms</strong> is on their radar, but they need to coordinate efforts with other browser vendors.</p>

<p>Besides Chris recommended some tools like an expression finder to spot <acronym>CSS</acronym> hacks, or an application compatibility toolkit, stuff you can download as part of the <a href="http://www.microsoft.com/downloads/details.aspx?familyid=D13EE10D-2718-47F1-AA86-1E32D526383D&#038;displaylang=en">Internet Explorer 7 Readiness Toolkit</a> from Microsoft with a genuine copy or from someplace else without.</p>

<h3 id="wcag">The new accessibility guidelines: <acronym title="Web Content Accessibility Guidelines">WCAG</acronym>&nbsp;2.0</h3>

<p>I had hoped that by visiting the panel about <acronym>WCAG</acronym> ['wu:k&aelig;g] I could avoid having to read <a href="http://www.w3.org/TR/2006/WD-WCAG20-20060427/" title="Working Draft: Web Content Accessibility Guidelines 2.0">the unreadable</a> myself, but I was disappointed. You will read in <a href="/2006/to-hell-with-joe-clark/" title="To Hell With Joe Clark">another post</a> about it. Not much else to tell about that panel, except <acronym>WCAG</acronym>&nbsp;2.0 is probably not <a href="http://www.alistapart.com/articles/tohellwithwcag2" title="Joe Clark&rsquo;s article about WCAG 2.0 in A List Apart">as bad</a> as we have thought. There are <a href="http://accessify.com/2006/06/notes-about-our-media-wcag-20.php" title="Notes about the WCAG 2.0 panel">notes</a> and the <a href="http://accessify.com/presentations/" title="The slides for the WCAG 2.0 panel">slides</a> available on accessify.com.</p>

<h3 id="veen">Designing the next generation of web <abbr title="Applications">apps</abbr></h3>

<p class="vcard"><a href="http://www.flickr.com/photos/chimchim/168820983/in/set-72157594167975089/" title="Larger version of the Jeffrey Veen photo on flickr"><img class="floatleft photo" src="/wp-content/uploads/2006/06/2006-06-15-jeffrey-veen" alt="Jeffrey Veen in s suit with a presentation slide in the background and the words &ldquo;Generation Web Apps&rdquo;" width="200" height="132" /></a> <cite><a href="http://www.veen.com" class="url fn">Jeffrey Veen</a></cite> is the partner of Jesse James Garrett who gets all the attention for coining the term &ldquo;<acronym title="Asynchronous JavaScript and XML"><strong>Ajax</strong></acronym>.&rdquo; Anyway, <acronym>Ajax</acronym> is <em>so</em> going to change our world. Like the automobile, or the Great Depression. Some will get more mobile, some will get greatly depressed when the web becomes inaccessible.</p>

<p>In another panel the speakers agreed that <strong><acronym>Ajax</acronym></strong> can make live easier <strong>as an enhancement</strong> (Jeremy Keith calls it &ldquo;<a href="http://domscripting.com/presentations/xtech2006/" title="Slides by Jeremy Keith about Hijax">Hijax</a>&rdquo;), but shouldn&rsquo;t be a world of pain for the others. Actually I can see some of <a href="http://www.veen.com/nextgen.pdf" title="Jeffrey Veen&rsquo;s slides as PDF" type="application/pdf">Jeff&rsquo;s examples</a> (use Stuart Colville&rsquo;s <a href="http://muffinresearch.co.uk/archives/2006/06/16/media2006-notes-jeffrey-veen-designing-the-next-generation-of-web-apps/" title="Notes about Jeffrey Veen&rsquo;s presentation">notes</a> to understand the slides) as an enhancement. Like giving immediate feedback when input fields in a form validate, while degrading gracefully by giving feedback after a regular submit.</p>

<p>You can enhance understanding by coloring and visualizing rainfall values in a nicely designed table, or you can further enhance it by making it interactive with a fader to choose cities on a map. But I can&rsquo;t imagine how to have both.</p>

<p>In another example he showed a mashup of Google Maps with a Chicago crime database. Nice, but how can that be made accessible? So that people without JavaScript, or screen reader and braille display users <em>with</em> JavaScript can access the raw data table that lies under the visualization?</p>

<p>There was a lot of talk how <strong>today&rsquo;s websites will be tomorrow&rsquo;s web applications</strong>, but like <a href="/2006/atmedia-day-two/#koechley">Nate Koechley</a> put it: You can&rsquo;t just copy one aspect of desktop applications while ignoring the accessible alternatives. Desktop applications are accessible with multiple input devices, like a mouse or a keyboard. Screen readers can get the content. Don&rsquo;t you forget it when developing the <q>&ldquo;next generation off apps.&rdquo;</q> There&rsquo;s more than just good looks.</p>
]]></content:encoded>
			<wfw:commentRss>http://learningtheworld.eu/2006/atmedia-day-one/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
