<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.1.2" -->
<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/"
	>

<channel>
	<title>fadtastic - a multi-author web design trends journal</title>
	<link>http://fadtastic.net</link>
	<description>thoughts on &#124; comments about &#124; examples of  } web design trends.</description>
	<pubDate>Thu, 24 Dec 2009 23:12:49 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.1.2</generator>
	<language>en</language>
			<item>
		<title>Proper Use of ALT and TITLE Attributes</title>
		<link>http://fadtastic.net/2007/04/19/proper-use-of-alt-and-title-attributes/</link>
		<comments>http://fadtastic.net/2007/04/19/proper-use-of-alt-and-title-attributes/#comments</comments>
		<pubDate>Thu, 19 Apr 2007 18:17:59 +0000</pubDate>
		<dc:creator>Ted Goas</dc:creator>
		
		<category><![CDATA[Code]]></category>

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

		<guid isPermaLink="false">http://fadtastic.net/2007/04/19/proper-use-of-alt-and-title-attributes/</guid>
		<description><![CDATA[Different Practices Exist on The Web, Which Is The Right Way?
The World Wide Web Consortium requires all images and links in a webpage to have an ALT attribute and TITLE attribute respectively. Making web pages Accessible and usable is an important part of the creation process. Overall, using ALT and TITLE attributes on everything eliminates [...]]]></description>
			<content:encoded><![CDATA[<h2>Different Practices Exist on The Web, Which Is The Right Way?</h2>
<p>The <a href="http://www.w3c.org" title="THe W3C creates and maintains standards for web markup">World Wide Web Consortium</a> requires all images and links in a webpage to have an ALT attribute and TITLE attribute respectively. Making web pages <a href="http://www.w3.org/TR/WCAG20/" title="Web Content Accessibility Guidelines 2.0">Accessible</a> and usable is an important part of the creation process. Overall, <a href="http://webstandardsgroup.org/features/joe-clark.cfm#titles" title="Joe Clark Talks about TITLE attributes - Question #6, paragraph 4">using ALT and TITLE attributes on everything eliminates almost all accessibility problems</a> on many web pages. ALT and TITLE attributes also improve user experience and help assistive technology translate content for users with physical and sensory disabilities.</p>
<p>So far we&#8217;ve established two things: 1. It&#8217;s good to have ALT attributes and TITLE attributes defined in markup because 2. it helps improve the experience of all users when it comes to page content. But having the attributes tags in place is not enough on its own. What should web authors write in these tags? While the W3C publishes its recommendations for each, a variety of different practices are currently being practiced on the web.</p>
<h2>The ALT Attribute for Images</h2>
<p><a href="http://www.w3.org/TR/html4/struct/objects.html#h-13.8" title="The W3C statement on specifying ALT attributes">The W3C states</a> that alternate text is &#8220;for user agents that cannot display images, forms, or applets, this attribute specifies alternate text.&#8221; ALT attributes &#8220;let authors specify alternate text to serve as content when the element cannot be rendered normally.&#8221; This attribute can be inserted into IMG, AREA, and INPUT elements. In this article, we&#8217;ll focus on its use with IMG tags, possibly its most common use. If an image file cannot be displayed, at least users can see its ALT text. What kind of content should go into an image&#8217;s ALT attribute?</p>
<h3>Good Practices</h3>
<ul>
<li>Adding a caption describing the vital subject(s) of the image</li>
<li>Adding the title of the image</li>
<li>Adding an image citation / photo credit</li>
<li>Keeping it short, choosing only essential words (using the <a href="http://www.w3.org/TR/html401/struct/objects.html#adef-longdesc-IMG" title="W3C statement on the LONGDESC attribute">LONGDESC</a> attribute for longer descriptions)</li>
</ul>
<h3>Not So Good Practices</h3>
<ul>
<li>Using the image&#8217;s file name</li>
<li>Adding additional text that, by itself, does not describe the image accurately</li>
<li>Adding empty quotes (except for elements like bullets - empty quotes are actually recommended by the W3C in cases like this)</li>
</ul>
<p>The contents of an ALT attribute should NOT be a tooltip (even though IE displays it like this, which it shouldn&#8217;t). The text should be short (less than 100 words, as per WCAG 2.0). The text should also be relevant to the primary content so users may use it INSTEAD of the image and still gain the image&#8217;s value. In this case, it&#8217;s an accessibility thing rather than a usability thing.</p>
<h2>The TITLE attribute for Links</h2>
<p><a href="http://www.w3.org/TR/html4/struct/global.html#h-7.4.3" title="The W3C statement on specifying TITLE attributes">The W3C states</a> that a TITLE attribute is meant to offer &#8220;advisory information about the element for which it is set.&#8221; In short, the TITLE attribute should add additional information that compliments the linked text.</p>
<h3>Good Practices</h3>
<ul>
<li>Adding additional text or caption describing the link</li>
<li>Adding a citation for the URL (link source, title of original article, author, all of these&#8230;)</li>
<li>Keeping it somewhat short</li>
</ul>
<h3>Not So Good Practices</h3>
<ul>
<li>Adding the exact text in the accompanying the link (this kind of a moot point since the title attribute essentially adds no new information in this case)</li>
<li>Adding empty quotes</li>
<li>Relying on plugins like <a href="http://www.snap.com" title="Snap Link Preview Plugin">Snap</a> (these often rely on JavaScript and insert invalid markup into a web page. Some browsers don&#8217;t support them at all)</li>
</ul>
<p>Content in the TITLE should add to the text inside the links, not just reiterate it. TITLE attributes should be more descriptive than ALT attributes, but not a paragraph (such as in LONGDESC attribute).</p>
<h2>What Does It All Mean?</h2>
<p><a href="http://www.456bereastreet.com/archive/200412/the_alt_and_title_attributes/" title="456 Berea Street - The alt and title attributes">Roger Johansson wrote a great piece</a> on this subject in 2004. To conclude this article, I&#8217;d like to quote his summary.</p>
<blockquote><p>Alternate text is not meant to be used as a tool tip, or more specifically, to provide additional information about an image. The title attribute, on the other hand, is meant to provide additional information about an element&#8230;. Many people seem to confuse these two attributes&#8230;</p></blockquote>
<p>It&#8217;s important for web designers and developers to know how to write good ALT and TITLE attributes. Practices like these should be employed into each web page element as it&#8217;s created. <a href="http://www.456bereastreet.com/archive/200704/adding_vs_not_removing_accessibility/" title="456 Berea Street - Adding vs. not removing accessibility">As Roger notes</a>, we should be including accessibility features when initially creating web pages rather than going back to add it later.</p>
<p>Personally, I am glad I did some research for this article. I&#8217;ll be the first to admit that I have not followed these guidelines 100%. I learned something and hope to learn more from reader comments.</p>
<h2>More Reading</h2>
<ul>
<li><a href="http://www.gawds.org/show.php?contentid=28" title="Guild of Accessible Web Designers">GAWD - Writing Good ALT Text</a></li>
<li><a href="http://www.7nights.com/asterisk/archive/2004/07/title-attribute-your-take" title="D. Keith Robinson's Article on TITLE attributes, great comments!">D. Keith Robinson&#8217;s Take on Title Attributes</a></li>
<li><a href="http://www.useit.com/alertbox/980111.html" title="Jakob Nielsen's Alertbox">Using Link Titles to Help Users Predict Where They Are Going</a></li>
<li><a href="http://joeclark.org/book/sashay/serialization/Chapter06.html" title="Excerpt from Joe Clark's Book, Ch. 6">The Image Problem</a> and <a href="http://joeclark.org/book/sashay/serialization/Chapter07.html" title="Excerpt from Joe Clark's Book, Ch. 7">Text and Links</a></li>
</ul>
<p class="akst_link"><a href="http://fadtastic.net/?p=373&amp;akst_action=share-this"  title="E-mail this, post to del.icio.us, etc." id="akst_link_373" class="akst_share_link" rel="nofollow">Share This</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://fadtastic.net/2007/04/19/proper-use-of-alt-and-title-attributes/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Leading By Example</title>
		<link>http://fadtastic.net/2007/04/04/leading-by-example/</link>
		<comments>http://fadtastic.net/2007/04/04/leading-by-example/#comments</comments>
		<pubDate>Wed, 04 Apr 2007 11:04:36 +0000</pubDate>
		<dc:creator>Ted Goas</dc:creator>
		
		<category><![CDATA[Standards]]></category>

		<guid isPermaLink="false">http://fadtastic.net/2007/04/04/leading-by-example/</guid>
		<description><![CDATA[The World Wide Web Consortium Promotes Standards for Web Markup. But Do Its Members Practice What They Preach?
As most within the web community know, the World Wide Web Consortium, or W3C, is &#8220;an international consortium where member organizations, a full-time staff, and the public work together to develop Web standards,&#8221; quoted from their site. Their [...]]]></description>
			<content:encoded><![CDATA[<h2>The World Wide Web Consortium Promotes Standards for Web Markup. But Do Its Members Practice What They Preach?</h2>
<p>As most within the web community know, the <a href="http://www.w3.org/" title="W3C">World Wide Web Consortium</a>, or W3C, is &#8220;an international consortium where <a href="http://www.w3.org/Consortium/Member/List" title="Current W3C Members">member organizations</a>, a full-time staff, and the public work together to develop Web standards,&#8221; <a href="http://www.w3.org/Consortium/" title="W3C Consortium">quoted from their site</a>. Their mission is to &#8220;to lead the World Wide Web to its full  potential by developing protocols and guidelines that ensure long-term  growth for the Web.&#8221;</p>
<p>The W3C has been <a href="http://www.w3.org/TR/#Recommendations" title="W3C Recommedations">publishing recommendations</a> for web standards since 1994. While it is not limited to, these recommendations include ones for <a href="http://www.w3.org/MarkUp/" title="Markup">web markup</a> (including HTML and XHTML). Using valid code in the recommended standard structure ensures interoperability (technical compatibility between systems), functionality, consistency, accessibility, and a host of other benefits.</p>
<p>One would think that W3C member organizations are on the forefront of web standardization efforts and practice what they preach. I&#8217;ve come across research by others and conducted my own research to help answer this question.</p>
<p> <a href="http://fadtastic.net/2007/04/04/leading-by-example/#more-355" class="more-link">(more&#8230;)</a></p>
<p class="akst_link"><a href="http://fadtastic.net/?p=355&amp;akst_action=share-this"  title="E-mail this, post to del.icio.us, etc." id="akst_link_355" class="akst_share_link" rel="nofollow">Share This</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://fadtastic.net/2007/04/04/leading-by-example/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
