<?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>post-next -Ted Drake's sketchbook &#187; Accessibility</title>
	<atom:link href="http://www.tdrake.net/category/web-design/accessibility/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tdrake.net</link>
	<description></description>
	<lastBuildDate>Thu, 11 Aug 2011 19:25:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Au Revoir Paris &#8211; Hello India</title>
		<link>http://www.tdrake.net/au-revoir-paris-hello-india/</link>
		<comments>http://www.tdrake.net/au-revoir-paris-hello-india/#comments</comments>
		<pubDate>Tue, 10 Jul 2007 08:46:51 +0000</pubDate>
		<dc:creator>Ted Drake</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[Travel]]></category>
		<category><![CDATA[Yahoo!]]></category>

		<guid isPermaLink="false">http://www.tdrake.net/au-revoir-paris-hello-india/</guid>
		<description><![CDATA[I&#8217;m in the airport, waiting for the flight to Bangalore. Luckily, I get to use the new terminal at Charles De Gaulle. It&#8217;s bright, airy, and has a great wi-fi. Yesterday, I woke up and could see the sun shining. I walked out to get a croissant and it was downright pleasant. Well, I didn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/draket/767910550/"><img src="http://farm2.static.flickr.com/1337/767910550_b8a027a799_m.jpg" alt="Charles De Gaulle airport ceiling" /></a><br />
I&#8217;m in the airport, waiting for the flight to Bangalore.  Luckily, I get to use the new terminal at Charles De Gaulle. It&#8217;s bright, airy, and has a great wi-fi.</p>
<p>Yesterday, I woke up and could see the sun shining. I walked out to get a croissant and it was downright pleasant. Well, I didn&#8217;t need anything more to choose shorts and sandals for the day&#8217;s outfit. Needless to say, the bizarre mixture of weather made this an unfortunate decision. The temperature fluctuated by about 20 degrees from warm to chilly. It rained, it hailed, it left me looking like a circus clown in my sunny California attire. But what the heck, not everyone can be glamorous.</p>
<p><a href="http://www.flickr.com/photos/draket/755657368/"><img src="http://farm2.static.flickr.com/1081/755657368_d865907757_m.jpg" alt="Ted at Felix Cafe" /></a><br />
I&#8217;ve walked so many miles in the past few days that I&#8217;m afraid the ASPCA is going to arrest me for abusing my size 14 dogs. They&#8217;re barking up a storm and could use a day of rest. I&#8217;ve also been swallowing horse pills to avoid malaria and Ghandi&#8217;s revenge in India. Ah, the life of a jet setter.</p>
<p>Garcon! Garcon! bring me another cafe! Pronto!</p>
<p>I&#8217;ll be in Bangalore for a few days to discuss Yahoo! technology and web site accessibility to engineers. I&#8217;m looking forward to hearing some of the other talks, meeting various people, and seeing the city and country. I&#8217;ve got a shopping list started: elephant for Jim, outfit for Hannah&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tdrake.net/au-revoir-paris-hello-india/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Yahoo! Accessibility</title>
		<link>http://www.tdrake.net/yahoo-accessibility/</link>
		<comments>http://www.tdrake.net/yahoo-accessibility/#comments</comments>
		<pubDate>Wed, 04 Jul 2007 02:33:47 +0000</pubDate>
		<dc:creator>Ted Drake</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[Paris]]></category>
		<category><![CDATA[Travel]]></category>
		<category><![CDATA[Yahoo!]]></category>

		<guid isPermaLink="false">http://www.tdrake.net/yahoo-accessibility/</guid>
		<description><![CDATA[Next week is going to be a big week for me and accessibility on Yahoo! There&#8217;s a lot going on, I don&#8217;t know how it will all go down. 1. I am going to Bangalore, India to discuss accessibility at the annual Front End Engineers conference. I&#8217;ve wanted to visit India for a long time [...]]]></description>
			<content:encoded><![CDATA[<p>Next week is going to be a big week for me and accessibility on Yahoo! There&#8217;s a lot going on, I don&#8217;t know how it will all go down.</p>
<p><a href="http://avatars.yahoo.com"><img src="http://www.tdrake.net/wp-content/uploads/2007/07/ted-avatar.png" alt="Avatar for Ted Drake" /></a></p>
<p>1. I am going to Bangalore, India to discuss accessibility at the annual Front End Engineers conference. I&#8217;ve wanted to visit India for a long time and I&#8217;m looking forward to the chance. I&#8217;m also going to Paris and Munich for other Yahoo! business.</p>
<p>2. The Yahoo! Accessibility Stakeholders Group, of which I am a member, is hosting a global campaign to fix alt attributes across the network. Alt attributes are the snippets of text that appear when an image is not displayed. They are critical for those using a screen reader.  Using alt attributes correctly seems to be the most basic element of making a site accessible, unfortunately they are also easily forgotten.</p>
<p>3. Yahoo! Avatars has added the Accessibility Stakeholders Group icon to the clothing options for your avatar (<a href="http://avatars.yahoo.com">http://avatars.yahoo.com</a>) This nifty logo replaces the normal Y in the logo with a braille version.</p>
<p>I&#8217;ll post more as the trip and campaign progress.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tdrake.net/yahoo-accessibility/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Micropatronage for accessibility</title>
		<link>http://www.tdrake.net/micropatronage-for-accessibility/</link>
		<comments>http://www.tdrake.net/micropatronage-for-accessibility/#comments</comments>
		<pubDate>Thu, 09 Nov 2006 16:08:03 +0000</pubDate>
		<dc:creator>Ted Drake</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Television]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.tdrake.net/micropatronage-for-accessibility/</guid>
		<description><![CDATA[Joe Clark has an ambitious project on the docket. The Open &#038; Closed Project hopes to create a new standard for video captioning. It also includes plans to develop better training and certification for those creating captioning. Joe even has plans for developing and implementing new fonts that would make it easier to view the [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Help Joe help the captions" href="http://joeclark.org/micro?sender=TedDrake"><img alt="Patronage: It ainâ��t just for the Medicis anymore" id="image183" src="http://www.tdrake.net/wp-content/uploads/2006/11/patronage-002.png" /></a></p>
<p><a href="http://joeclark.org/">Joe Clark</a> has an ambitious project on the docket. <a href="http://openandclosed.org//">The Open &#038; Closed Project</a> hopes to create a new standard for video captioning. It also includes plans to develop better training and certification for those creating captioning. Joe even has plans for developing and implementing new fonts that would make it easier to view the online and over-the-air captions.</p>
<p>However, Joe needs some help.</p>
<p>This project won&#8217;t run itself and needs funding. He&#8217;s asking us to help him raise the funding. Joe needs <strong>$7,777</strong> to support 4 months of intensive fund-raising and project co-ordination. Can you help him raise this sum? If you have a friend, family member, or acquaintance that is deaf, this project will significantly help their lives.</p>
<p>If you go to the gym and watch the telly while sweating on a treadmill, desperately trying to figure out what the talking head is saying&#8230;.  this project may or may not significantly help your life.  Sometimes, you just don&#8217;t want to know what the idiot on Fox News is saying when some jerk on another treadmill is controlling the remote control&#8230; but I digress.</p>
<p>Visit Joe&#8217;s site and <a href="http://joeclark.org/micro?sender=TedDrake">donate a few bucks</a>. That&#8217;s all it takes. You don&#8217;t have to be a superstar to make captioning real.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tdrake.net/micropatronage-for-accessibility/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I&#8217;m an antidote to bad gay sites</title>
		<link>http://www.tdrake.net/im-an-antidote-to-bad-gay-sites/</link>
		<comments>http://www.tdrake.net/im-an-antidote-to-bad-gay-sites/#comments</comments>
		<pubDate>Thu, 29 Jun 2006 16:09:19 +0000</pubDate>
		<dc:creator>Ted Drake</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Yahoo!]]></category>

		<guid isPermaLink="false">http://www.tdrake.net/im-an-antidote-to-bad-gay-sites/</guid>
		<description><![CDATA[I can&#8217;t wait to call my mom and let her know. She&#8217;ll be soooo proud of her little baby. Seriously, Joe Clark referred to Yahoo! Tech as an antidote to some of the horrible re-designs of gay-game sites. It&#8217;s a bit disjointed but appreciated. We tried to make Yahoo! Tech as accessible as possible. User-testing [...]]]></description>
			<content:encoded><![CDATA[<p>I can&#8217;t wait to call my mom and let her know. She&#8217;ll be soooo proud of her little baby.</p>
<p>Seriously, <a href="http://blog.fawny.org/2006/06/28/unfabulous/">Joe Clark</a> referred to Yahoo! Tech as an antidote to some of the horrible re-designs of gay-game sites.  It&#8217;s a bit disjointed but appreciated.</p>
<p>We tried to make <a href="http://tech.yahoo.com">Yahoo! Tech</a> as accessible as possible.  User-testing with <a href="http://www.victortsaran.com/">Victor Tsaran</a>, Yahoo&#8217;s accessibility guru led us to make many small and large changes to the code. I&#8217;ve written one article about how we made our <a href="http://www.last-child.com/make-flash-accessible-to-screen-readers-in-transparent-window-mode/">home page flash movie accessible</a> and have two more on the way about our <a href="http://tech.yahoo.com/pc/1991379188,1991740311,1991607487,1991642707?full=yes">comparison tables</a> and how we are displaying our <a href="http://tech.yahoo.com/pr/nikon-coolpix-s1/1991740311">ratings and reviews</a>.</p>
<p>Visit <a href="http://www.last-child.com">www.last-child.com</a> for  my notes and articles about web design.  It&#8217;s got the geeky side of me and stay on this site for the well&#8230; less geeky side. Thanks Joe for the nod and the push. Now I&#8217;ll need to get busy on publishing those other articles.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tdrake.net/im-an-antidote-to-bad-gay-sites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Museum Inside Information</title>
		<link>http://www.tdrake.net/museum-inside-information/</link>
		<comments>http://www.tdrake.net/museum-inside-information/#comments</comments>
		<pubDate>Tue, 18 Apr 2006 03:09:10 +0000</pubDate>
		<dc:creator>Ted Drake</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Museums]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.tdrake.net/museum-inside-information/</guid>
		<description><![CDATA[The golden boys and girls of the Museum web site community have put together a new blog to share inside information on what it takes to present a collection online. MuseMatic is a co-ordinated effort between the Museum Computer Network and the American Association of Museum&#8217;s Media and Technology Committee. While the design of the [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://musematic.net/?author=14">golden boys</a> and <a href="http://musematic.net/?author=13">girls</a> of the Museum web site community have put together a new blog to share inside information on what it takes to present a collection online. <a href="http://hangingtogether.org/?p=105">MuseMatic</a> is a co-ordinated effort between the Museum Computer Network and the American Association of Museum&#8217;s <a href="http://www.mediaandtechnology.org/">Media and Technology Committee</a>.  While the design of the blog won&#8217;t impress the standardista community, the informaton within should.</p>
<p>Museums and other non-profits have an amazing collection of misfits, psychopaths, and <dfn title="Susannah Stringam">egotistical maniacs</dfn>. But once you get beyond the marketing departments, you&#8217;ll find people who love what they do and have an earnest desire to share their collections, art, history, and culture with anyone and everyone. Museums have been leading the drive towards accessibility, online interactions, user generated content, and doing so with the tiniest of budgets.</p>
<p>So step behind the scenes. Go past the paintings, the skeletons, and the gift shops.  Share the lessons learned by some of the largest (Getty) and smallest museums around the world.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tdrake.net/museum-inside-information/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Structure equals accessibility</title>
		<link>http://www.tdrake.net/structure-equals-accessibility/</link>
		<comments>http://www.tdrake.net/structure-equals-accessibility/#comments</comments>
		<pubDate>Fri, 03 Mar 2006 04:29:07 +0000</pubDate>
		<dc:creator>Ted Drake</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Yahoo!]]></category>

		<guid isPermaLink="false">http://www.tdrake.net/structure-equals-accessibility/</guid>
		<description><![CDATA[I will be speaking at the Front End Engineering summit tomorrow with Nate K at Yahoo!. First off, it&#8217;s still amazing to me that I just wrote that sentence. If someone told me a year ago that I would not only be working at Yahoo, but also speaking in front of other engineers, I&#8217;d.. I&#8217;d&#8230; [...]]]></description>
			<content:encoded><![CDATA[<p>I will be speaking at the Front End Engineering summit tomorrow with <a href="http://nate.koechley.com/blog/">Nate K</a> at Yahoo!. First off, it&#8217;s still amazing to me that I just wrote that sentence. If someone told me a year ago that I would not only be working at Yahoo, but also speaking in front of other engineers, I&#8217;d.. I&#8217;d&#8230; I don&#8217;t know what I would have thought.</p>
<p>We will be discussing how accessibility is tied to semantic markup in standards-based web design.  It&#8217;s an obvious connection for me.  Accessibility is about offering information to everyone. Semantic markup displays information in the best possible way. One doesn&#8217;t support the other, they are the same.</p>
<p>I will be showing some examples of <a href="http://www.bobbyvandersluis.com/ufo/">UFO flash detection</a>, using table headers, what&#8217;s involved in building an accessible form, and how to use CSS to offer great content and visual design at the same time.</p>
<p>This post is just a tease. I&#8217;ll write some posts about the concepts I&#8217;ve covered but can&#8217;t show the examples until we launch. It&#8217;ll be worth the wait&#8230; I promise.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tdrake.net/structure-equals-accessibility/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Target sued for inaccessible web site</title>
		<link>http://www.tdrake.net/target-sued-for-inaccessible-web-site/</link>
		<comments>http://www.tdrake.net/target-sued-for-inaccessible-web-site/#comments</comments>
		<pubDate>Thu, 09 Feb 2006 17:22:06 +0000</pubDate>
		<dc:creator>Ted Drake</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Standards]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.tdrake.net/target-sued-for-inaccessible-web-site/</guid>
		<description><![CDATA[The National Federation of the Blind has filed a suit against Target stores. The Target web site fails not only basic accessibility issues, i.e. alt attributes, but also uses outdated JavaScript navigation and form actions that make it impossible for people using assistive devices to download internet-exclusive coupons and access the online pharmacy. The NFB [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://www.nfb.org/">National Federation of the Blind</a> has <a title="More information is avaialable at the Web Standards Project web site" href="http://webstandards.org/buzz">filed a suit against Target stores</a>. The <a href="http://www.target.com/gp/homepage.html/ref=gp_br_browse/602-5330678-9817417?%5Fencoding=UTF8">Target</a> web site fails not only  basic accessibility issues, i.e. alt attributes, but also uses outdated JavaScript navigation and form actions that make it impossible for people using assistive devices to download internet-exclusive coupons and access the online pharmacy.</p>
<p>The NFB actually gave Target 10 months to make adjustments to their site before filing the law suit. Unfortunately, big business seems to need these shots in the arm to move in the right direction.</p>
<h3>History of lawsuit-activated advancements</h3>
<p>The <a href="http://www.alistapart.com/stories/alltheaccess">Australian Olympic</a> site was sued for making ticket purchases impossible online to the blind. New York sued several travel sites for their inaccessible sites. Now Target is the new &#8220;target&#8221; and perhaps this will be the straw that breaks the hobbled camel&#8217;s back.</p>
<h3>Just Do It</h3>
<p>It all goes back to being more than a &#8220;web designer&#8221; and thinking about how your site is going to be used by the public. Are you doing something because it &#8220;looks cool&#8221;, &#8220;is quicker&#8221;, or &#8220;is how it&#8217;s always been done&#8221;?  Or are you doing something because it adds intrinsic value, better performance, expands the audience, assists the user, makes it more intuitive, &#8230;</p>
<p>When I add something to a web page, whether it is a link, list, table, or paragraph, I think about how it is going to be used.</p>
<p>Should I put a title on the link? Is the text descriptive enough? Is the list or paragraph the most appropriate structural element? Should the table have a summary? Should I use headers=&#8221;" or will scope=&#8221;col&#8221; be enough?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tdrake.net/target-sued-for-inaccessible-web-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Standards-based jobs available! Do you know CSS, XHTML, and how to use the &lt;dl&gt;?</title>
		<link>http://www.tdrake.net/standards-based-jobs-available-do-you-know-css-xhtml-and-how-to-use-the/</link>
		<comments>http://www.tdrake.net/standards-based-jobs-available-do-you-know-css-xhtml-and-how-to-use-the/#comments</comments>
		<pubDate>Fri, 06 Jan 2006 04:36:11 +0000</pubDate>
		<dc:creator>Ted Drake</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Standards]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[XHMTL]]></category>
		<category><![CDATA[Yahoo!]]></category>

		<guid isPermaLink="false">http://www.tdrake.net/standards-based-jobs-available-do-you-know-css-xhtml-and-how-to-use-the/</guid>
		<description><![CDATA[Ok everyone. If you are ready to enter the high-falootin&#8217; lifestyle of the standards-based web developer, let me know. I know a few places in California looking for qualified programmers. Filling the Vacuum Other standardistas have been talking about the new web professionals, those who know how to create valid, accessible web sites. And those [...]]]></description>
			<content:encoded><![CDATA[<p>Ok everyone. If you are ready to enter the high-falootin&#8217; lifestyle of the standards-based web developer, let me know. I know a few places in California looking for qualified programmers.</p>
<h3>Filling the Vacuum</h3>
<p>Other <a href="http://www.molly.com/2005/12/13/mollys-unabashedly-biased-picks-2005-blogs-design-books-and-achievements/">standardistas</a> have been <a href="http://www.stuffandnonsense.co.uk/archives/accessibility_the_gloves_come_off.html">talking</a> about the <a href="http://blog.fawny.org/2006/01/04/failed/">new web professionals</a>, those who know how to <a href="http://www.tjkdesign.com/">create valid</a>, <a href="http://www.accessify.com/default.asp">accessible</a> web sites. And those who are no longer true pros (who still use tables and invalid markup). What they are not discussing is the vacuum being left behind by the early-adopters. Let&#8217;s take me for example, as I always do enjoy the subject.</p>
<h3>The Ted Factor</h3>
<p>I have created a number of site conversions over the past 2 years. I&#8217;ve also moved up and up from job to job. I&#8217;d finish a conversion, move to the next, finish that, move to the next, etc&#8230; But who ends up maintaining these sites? That is the problem some companies are facing today. You hire someone that builds a standards-based web site and then gets tapped on the shoulder by a bigger company. Now the smaller company needs to hire someone that can work with this new creature.</p>
<p>I got an email today from a former employer. They need someone in San Diego who is ready to work. <a href="http://www.tdrake.net/butch-cassidy-and-the-sundance-kid/">Sundance Kid</a> and I made huge changes to their sites and now they need someone that knows how to continue the work without us. Another former employer has been searching for a web developer for over a year. What do they do? Hire a table hacker that will revert the pages back to tag soup?</p>
<p>Witness the <a href="http://webstandards.org/buzz/archive/2005_11.html#a000590">Disney store</a> makeover in Europe. They went from an accessible, standards-based design to a crappy mess. Why? Possibly it was due to lack of understanding. Perhaps they had nobody that could extend it and they felt more comfortable with the old cut-up images.</p>
<h3>Education, Education, Education, Education&#8230;</h3>
<p>As standards-based web developers, we need to educate others. Take someone under your wing and show them how to use CSS, DOM, or what it means to validate. Don&#8217;t hold it in. Be kind to your fellow workers and employers. If they are not recognizing your abilities, look around. Jobs are out there!</p>
<p>So, this post has rambled enough.  If you are a standards-based developer. Leave a comment, I&#8217;ll respond with information on who to contact. Heck, leave a small resume and perhaps someone else will see this and contact you as well.  The jobs I know of are in Southern California, but I do have certain connections to a very <a href="http://www.yahoo.com">large company</a> in Silicon Valley that is looking for quality developers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tdrake.net/standards-based-jobs-available-do-you-know-css-xhtml-and-how-to-use-the/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>CSS, Accessibility, and DOM for fun and profit</title>
		<link>http://www.tdrake.net/css-accessibility-and-dom-for-fun-and-profit/</link>
		<comments>http://www.tdrake.net/css-accessibility-and-dom-for-fun-and-profit/#comments</comments>
		<pubDate>Tue, 20 Dec 2005 06:32:39 +0000</pubDate>
		<dc:creator>Ted Drake</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[DOM]]></category>
		<category><![CDATA[Standards]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.tdrake.net/?p=96</guid>
		<description><![CDATA[There comes a time when we move from doing something because it&#8217;s fun and exciting to actually having to make some money with it. We all remember the joy of walking the DOM for the first time, challenging the first-child to a match of borders, or even playing peek-a-boo with our precious little title attribute. [...]]]></description>
			<content:encoded><![CDATA[<p>There comes a time when we move from doing something because it&#8217;s fun and exciting to actually having to make some money with it.  We all remember the joy of <a href="http://www.adactio.com/articles/display.php/this_year's_document_object_model">walking the DOM</a> for the first time, challenging the <a href="http://www.blakems.com/archives/000088.html">first-child</a> to a match of borders, or even playing peek-a-boo with our precious little <a href="http://accessify.com/">title</a> attribute.  But when does that playful joy turn into a realization that money sits behind them there divs?</p>
<h3>Looking back fondly</h3>
<p><img src="http://static.flickr.com/37/74967335_e80530e1e2_m.jpg" alt="christmas photo of the Drake family, ca. 1975"/>Several of the standardistas out there have been sharing their <a href="http://www.cameronmoll.com/archives/000690.html">joyful memories</a> of their <a href="http://www.ok-cancel.com/">ventures</a> into the big ol&#8217; world of moolah with nary but a Dreamweaver on their back. <a href="http://24ways.org/">Great advice is out there for the pickins</a>. Sure there&#8217;s a mixture of <a href="http://www.dooce.com/archives/daily/09_26_2005.html">demanding bosses</a>, <a href="http://blog.fawny.org/2005/12/13/shutup/">forever late paycheques</a>, and <a href="http://www.stuffandnonsense.co.uk/archives/of_mice_and_men.html">brain-dead art directors</a>. But ah&#8230;.<a href="http://www.7nights.com/asterisk/archives05/2005/09/blue-flavor-flav">the glory of it all</a>.  </p>
<p> Yes, my dear&#8230; there is a big world of hacks out there for you to climb.  <a href="http://www.tdrake.net/butch-cassidy-and-the-sundance-kid/">Grab a friend</a>  and start climbing, for soon enough you will be on top and have the opportunity to <a href="http://www.zeldman.com">reach down and pull someone else out of the valley of the table-goo</a>.  Ask questions and begin <a href="http://www.tjkdesign.com/">providing answers</a>. Maybe next year, you will be the <a href="http://www.molly.com/2005/12/13/mollys-unabashedly-biased-picks-2005-blogs-design-books-and-achievements/">star</a> on top of the <a href="http://rollyo.com/search.html?prevsid=4886&#038;q=standardista&#038;sid=4886&#038;x=0&#038;y=0">standardista</a> chrismahanakwanza tree.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tdrake.net/css-accessibility-and-dom-for-fun-and-profit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Attribute selectors to provide language information</title>
		<link>http://www.tdrake.net/attribute-selectors-to-provide-language-information/</link>
		<comments>http://www.tdrake.net/attribute-selectors-to-provide-language-information/#comments</comments>
		<pubDate>Thu, 20 Oct 2005 15:25:46 +0000</pubDate>
		<dc:creator>Ted Drake</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.tdrake.net/?p=80</guid>
		<description><![CDATA[Attribute Selectors for International Web Sites Sébastien Guillon, recently wrote a post about using the CSS2 attribute selector and content rule to let visitors know what to expect when clicking on a link to an international web site. Inspired by his approach, I&#8217;ve simplified some of the code and added background images to represent the [...]]]></description>
			<content:encoded><![CDATA[<h3>Attribute Selectors for International Web Sites</h3>
<p><a hreflang="fr-fr" href="http://sebastienguillon.com/journal/2005/10/exploiter-les-langues-avec-les-pseudo-classes-css">Sébastien Guillon</a>, recently wrote a post about using the CSS2 attribute selector and content rule<br />
to let visitors know what to expect when clicking on a link to an international web site. Inspired by his approach, I&#8217;ve simplified some of the code and added background images to<br />
represent the countries.</p>
<p>Guillon&#8217;s original project focused on adding a text description after the link in the site&#8217;s native language. To do this, he used a set of descending selectors to look at the page&#8217;s language declaration and the link&#8217;s hreflang attribute.  I am assuming the site that hosts this CSS is in english. However, it would not be difficult for you to simply change the generated content if your site is written in French, Spanish,<br />
Swahili, etc.</p>
<h3>Sample list of international Yahoo sites</h3>
<h4>Europe</h4>
<ul>
<li><a hreflang="ca" href="http://ct.yahoo.com/">Catalan</a></li>
<li><a hreflang="da-dk" href="http://dk.yahoo.com/">Denmark</a></li>
<li><a hreflang="fr-fr" href="http://fr.yahoo.com/">France</a></li>
<li><a hreflang="de-de" href="http://de.yahoo.com/">Germany</a></li>
<li><a hreflang="el-gr" href="http://gr.yahoo.com/">Greece</a></li>
<li><a hreflang="it-it" href="ithttp://it.yahoo.com/">Italy</a></li>
<li><a hreflang="no-no" href="http://no.yahoo.com/">Norway</a></li>
<li><a hreflang="sp-sp" href="http://es.yahoo.com/">Spain</a></li>
<li><a hreflang="sv-se" href="http://se.yahoo.com/">Sweden</a></li>
<li><a hreflang="en-gb" href="http://uk.yahoo.com/">UK </a></li>
<li><a hreflang="en-ie" href="http://uk.yahoo.com/"> Ireland</a></li>
</ul>
<p>Now look at the <a href="/international.html">final version with new CSS</a>. Internet Explorer users will not see a difference, try <a href="http://www.mozilla.org">Firefox</a> or <a href="http://www.opera.com">Opera</a>.<ins>Internet Explorer 7 beta 2 shows the flags but does not show the generated content.</ins></p>
<h3>The hreflang Attribute</h3>
<p>The hreflang allows the user/browser to define the language of a link&#8217;s targeted page to avoid presenting<br />
unreadable information:</p>
<blockquote cite="http://www.w3.org/TR/html401/struct/links.html#adef-hreflang"><p>The hreflang attribute provides user agents with information about the language of a resource at the end of a link, just as the lang attribute provides information about the language of an element&#8217;s content or attribute values.</p>
<p><cite>W3C.org</cite></p></blockquote>
<p>The hreflang attribute defines the language of the web site you are sending someone to. The language is defined with a two letter abbreviation, such as en, fr, sp&#8230; You can also define the locality of this language by adding the country code to this language.  This is particularly helpful for languages that have dialects. A Mexican site would have this attribute: hreflang=&#8221;sp-mx&#8221;.</p>
<h3>The Attribute Selector</h3>
<p>CSS2 allows us to look for tags that contain specific attributes.  We can look for blockquotes with cite attributes, tables with summaries, table cells with header attributes,<br />
and our little friend, the link with an hreflang attribute.</p>
<p><code><br />
/*English */<br />
a[hreflang="en"]:after, a[hreflang|="en"]:after {content:"\A0(In English)";}<br />
</code></p>
<h3>Breaking it down</h3>
<p>This rule uses a combination of attribute selector and pseudo-class to transform the link from common to fabulous.</p>
<dl>
<dt> a[...]</dt>
<dd>Look for a link with an attribute</dd>
<dt>hreflang=&#8221;en&#8221;</dt>
<dd>The hreflang attribute must include the letters &#8220;en&#8221;. This allows the CSS to work on links that do not define a country variation</dd>
<dt>:after</dt>
<dd>This pseudoselector defines the space after the link</dd>
<dt>{content:&#8221;\A0(In English)&#8221;;}</dt>
<dd>After the link, place the following text: (In English)</dd>
<dt>hreflang|=&#8221;en&#8221;</dt>
<dd>The hreflang attribute must include the letters &#8220;en&#8221; within a hyphenated set, i.e. en-us, en-ca, &#8230;</dd>
</dl>
<h3>Adding the flag</h3>
<p>Now that we&#8217;ve notified the user about what language the link will be in, let&#8217;s tell them the country the site is from. Once again, we will look at the hreflang attribute for this information. This rule is not as neat and tidy. For each country, we are going to look for all of the possible language attributes. For instance, Canadian links could have hreflang=&#8221;fr-ca&#8221; and hreflang=&#8221;en-ca&#8221;.</p>
<p><code><br />
/*Canada */<br />
a[hreflang="en-ca"], a[hreflang="fr-ca"] {background:url(flag-sprite.png) no-repeat 0 0; padding-left:35px;}<br />
</code></p>
<p>This time, we will give links that have Canadian country codes 35px padding to the left side and a background image of the Canadian flag that sits to the<br />
left edge of the link&#8217;s text.  This style sheet is using an image sprite to keep the server requests to a minimum.  See the Alistapart.com article about using<br />
<a href="http://www.alistapart.com/articles/sprites">image sprites</a> for more information on this technique.</p>
<h3 lang="fr">Et Voilà</h3>
<p>There we have it. A set of international links with the country of origin and language clearly defined.  All of this has been made possible by our friends, the<br />
attribute selector, the pseudo-class, and the content style. Tune in next week as we learn how to make a cruise ship out of two<br />
shoe-boxes and an XML schema.</p>
<h3>Fine Print</h3>
<p>This has not been tested in Safari, but it shouldn&#8217;t be a problem. The pretty and useful presentation elements will not appear in IE, NN4, and probably<br />
most alternative devices (My Treo shows the flags but not the added content). I do not know how assistive devices would render these styles, more than likely they would be ignored. This project falls under<br />
the &#8220;build for the best, don&#8217;t hurt the rest™&#8221; protocol.</p>
<h3>Resources</h3>
<ul>
<li><a href="http://www.w3.org/TR/REC-CSS2/selector.html">W3C Selectors</a></li>
<li><a hreflang="fr-fr" href="http://sebastienguillon.com/journal/2005/10/exploiter-les-langues-avec-les-pseudo-classes-css">Exploiter les langues avec les pseudo-classes CSS</a></li>
<li><a href="http://www.stuffandnonsense.co.uk/archives/css_a_tribute_to_selectors.html">A tribute to selectors</a> &#8211; Andy Clarke</li>
<li><a href="http://www.meyerweb.com/eric/articles/webrev/200008b.html">Attribute Selectors Part II</a> &#8211; Eric Meyers</li>
<li><a href="http://rollyo.com/search.html?q=hreflang&#038;sid=4886&#038;start=16">hreflang resources</a> &#8211; Standardistas</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.tdrake.net/attribute-selectors-to-provide-language-information/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

