<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/stylesheets/rss.css" type="text/css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Robby on Rails: Tag web</title>
    <link>http://www.robbyonrails.com/articles/tag/web</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>thoughts.sort_by{|t| t[:topic]}.collect </description>
    <item>
      <title>That Checkbox Needs a Label</title>
      <description>&lt;p&gt;As a user of many web applications, I often find myself noticing little things that slow me down. One such thing is the use of checkboxes in web forms. It&amp;#8217;s not the problem of checkboxes itself, it&amp;#8217;s the face that checkboxes require the user to really focus their attention to a fairly small box on the page and perform a click inside. If you&amp;#8217;re filling out a form really quickly, it&amp;#8217;s almost guaranteed that you&amp;#8217;ll take advantage of you your tab key to get through each field quickly. Sometimes there are &lt;code&gt;select&lt;/code&gt; boxes, which require the user to make selections with their mouse. Checkboxes drive me crazy because it requires more time to position the cursor and move on.&lt;/p&gt;


	&lt;p&gt;So, when I see a form like this, I don&amp;#8217;t see it being very quick to interact with.&lt;/p&gt;


	&lt;p&gt;&lt;img src="http://myskitch.com/robbyrussell/missing_label-20071201-222047.jpg" alt="" /&gt;&lt;/p&gt;


	&lt;p&gt;While I&amp;#8217;m not in love with the date selection interface here, my bigger pain has been the checkbox in the form. Why? Because they forgot to use the &lt;code&gt;&amp;lt;label for=""&amp;gt;&lt;/code&gt; HTML tag.&lt;/p&gt;


	&lt;p&gt;What&amp;#8217;s the problem? Well, I don&amp;#8217;t have the convenience of clicking on the label text, which would toggle the corresponding checkbox.&lt;/p&gt;


	&lt;p&gt;&lt;img src="http://myskitch.com/robbyrussell/missing_label-20071201-222751.jpg" alt="" /&gt;&lt;/p&gt;


	&lt;p&gt;I know, many of you know all about this&amp;#8230; but I run into this problem everywhere. This is an accessibility issue for people and really just increases the chances for a frustrating user experience. When you use the label tag properly&amp;#8230; it will provide a larger amount of the screen for people to click, which reduces the chance of not clicking in the right spot. The label tag was designed with this in mind so that people could click &lt;em&gt;close enough&lt;/em&gt; to trigger the desired action.&lt;/p&gt;


	&lt;p&gt;Here is an example of where it becomes really useful.&lt;/p&gt;


	&lt;p&gt;&lt;img src="http://myskitch.com/robbyrussell/good_label_for_usage-20071201-224846.jpg" alt="" /&gt;&lt;/p&gt;


	&lt;p&gt;So, the lesson? Please remember to use the label for tag. :-)&lt;/p&gt;


&lt;pre&gt;&lt;code&gt;
&amp;lt;input type="checkbox" id="remember_me" name="remember_me" value="true" /&amp;gt;
&amp;lt;label for="remember_me"&amp;gt;Remember info?&amp;lt;/label&amp;gt;  
&lt;/code&gt;&lt;/pre&gt;

	&lt;p&gt;This is an easy thing to forget when building web applications. We&amp;#8217;ve forgot and I&amp;#8217;m sure you have too. I just wanted to point it out though because I see this happen so much&amp;#8230; even in new sites.&lt;/p&gt;


	&lt;p&gt;Perhaps you run into similar problems with web applications that can be fixed with just a little more &lt;span class="caps"&gt;HTML&lt;/span&gt;. Care to share your experiences?&lt;/p&gt;


	&lt;p&gt;For more information, read &lt;a href="http://diveintoaccessibility.org/day_28_labeling_form_elements.html"&gt;Labeling form elements&lt;/a&gt;  from the &lt;a href="http://diveintoaccessibility.org/"&gt;Dive Into Accessibility&lt;/a&gt; site.&lt;/p&gt;
</description>
      <pubDate>Sun, 02 Dec 2007 00:43:00 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:efe7de1c-ff24-41f9-9ef0-4cdb23f20523</guid>
      <author>Robby Russell</author>
      <link>http://www.robbyonrails.com/articles/2007/12/02/that-checkbox-needs-a-label</link>
      <category>Programming</category>
      <category>html</category>
      <category>forms</category>
      <category>checkboxes</category>
      <category>interaction</category>
      <category>design</category>
      <category>web</category>
      <category>applications</category>
      <category>usability</category>
      <category>IxD</category>
      <category>accessibility</category>
    </item>
    <item>
      <title>Zeldman on Web Design</title>
      <description>&lt;p&gt;In a new article on &lt;a href="http://alistapart.com"&gt;A List Apart&lt;/a&gt;, Jeffrey Zeldman writes:&lt;/p&gt;


	&lt;blockquote&gt;
		&lt;p&gt;&amp;#8220;Some who don’t understand web design nevertheless have the job of creating websites or supervising web designers and developers. Others who don’t understand web design are nevertheless professionally charged with evaluating it on behalf of the rest of us. Those who understand the least make the most noise. They are the ones leading charges, slamming doors, and throwing money—at all the wrong people and things.&amp;#8221;&lt;/p&gt;
	&lt;/blockquote&gt;


	&lt;p&gt;He goes on to describe Web Design as, &lt;em&gt;&amp;#8220;as the creation of digital environments that facilitate and encourage human activity; reflect or adapt to individual voices and content; and change gracefully over time while always retaining their identity.&amp;#8221;&lt;/em&gt;&lt;/p&gt;


	&lt;p&gt;Read the rest of the article, &lt;a href="http://www.alistapart.com/articles/understandingwebdesign"&gt;Understanding Web Design&lt;/a&gt; on alistapart.com.&lt;/p&gt;
</description>
      <pubDate>Tue, 20 Nov 2007 12:01:00 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:ef61cc5a-dc64-45fd-97cc-598a63a6f23c</guid>
      <author>Robby Russell</author>
      <link>http://www.robbyonrails.com/articles/2007/11/20/zeldman-on-web-design</link>
      <category>design</category>
      <category>web</category>
      <category>zeldman</category>
      <category>quotes</category>
      <category>link</category>
    </item>
  </channel>
</rss>
