badges.html 20.2 KB
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <style type="text/css" media="all">
    @import "/QA/2006/01/blogstyle.css";
    </style>
    <meta name="keywords" content='' />
    <meta name="description" content="Currently, the most active discussion thread on the HTML working group's public mailing list, public-html, is one regarding the issue of whether in HTML5 the alt attribute should always be required on images. And Henri Sivonen is among the most..." />
    <meta name="revision" content="$Id: badges.html,v 1.47 2011/12/16 03:02:48 gerald Exp $" />    
   <link rel="alternate" type="application/atom+xml" title="Atom" href="http://www.w3.org/QA/atom.xml" />
   <link rel="alternate" type="application/rss+xml" title="RSS 1.0" href="http://www.w3.org/QA/news.rss" />   
   <title>A validator is not an accessibility evaluation tool? - W3C Blog</title>

   <link rel="start" href="http://www.w3.org/QA/" title="Home" />
   <link rel="prev" href="http://www.w3.org/QA/2008/04/unescape-html-entities-python.html" title="Unescape HTML Entities in Python" />
   <link rel="next" href="http://www.w3.org/QA/2008/04/proposed_activity_for_video_on.html" title="Proposed Activity for Video on the Web" />

   <!--
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
         xmlns:dc="http://purl.org/dc/elements/1.1/">
<rdf:Description
    rdf:about="http://www.w3.org/QA/2008/04/badges.html"
    trackback:ping="http://www.w3.org/QA/sununga/mt-tb.cgi/156"
    dc:title="A validator is not an accessibility evaluation tool?"
    dc:identifier="http://www.w3.org/QA/2008/04/badges.html"
    dc:subject="HTML"
    dc:description="Currently, the most active discussion thread on the HTML working group&apos;s public mailing list, public-html, is one regarding the issue of whether in HTML5 the alt attribute should always be required on images. And Henri Sivonen is among the most..."
    dc:creator="Michael(tm) Smith"
    dc:date="2008-04-14T02:19:31+00:00" />
</rdf:RDF>
-->

    <!-- <script type="text/javascript" src="http://www.w3.org/QA/mt.js"></script>-->

</head>
<body class="layout-one-column">
      <div id="banner">
      <h1 id="title">
	<a href="http://www.w3.org/"><img height="48" alt="W3C" id="logo" src="http://www.w3.org/Icons/WWW/w3c_home_nb" /></a>
W3C Blog
</h1>
    </div>
    
    <ul class="navbar" id="menu">
        <li><strong><a href="/QA/" title="W3C Blog Home">[ W3C Blog ]</a></strong></li>
        <li><a href="/QA/Library/" title="Documents and Publications on Web and Quality">Documents</a></li>
        <li><a href="/QA/Tools/" accesskey="3" title="Validators and other Tools">Tools</a></li>
        <li><a href="/2007/12/qa-blog-help/index#feedback">Feedback</a></li>
    </ul>
<div id="searchbox">
<form method="get" action="http://www.google.com/custom" enctype="application/x-www-form-urlencoded">
<p id="formbox"><input type="text" size="15" class="textfield" name="q" accesskey="E" maxlength="255" /> <input type="submit" class="submitfield" value="Search" id="goButton" name="sa" accesskey="G" /> <input type="hidden" name="cof" value="T:black;LW:72;ALC:#ff3300;L:http://www.w3.org/Icons/w3c_home;LC:#000099;LH:48;BGC:white;AH:left;VLC:#660066;GL:0;AWFID:0b9847e42caf283e;" /><input type="hidden" id="searchW3C" name="sitesearch" checked="checked" value="www.w3.org/QA" /><input type="hidden" name="domains" value="www.w3.org/QA" /></p>
</form>
</div>


    <div id="main"><!-- This DIV encapsulates everything in this page - necessary for the positioning -->

                     <p class="content-nav">
                        <a href="http://www.w3.org/QA/2008/04/unescape-html-entities-python.html">&laquo; Unescape HTML Entities in Python</a> |
                        <a href="http://www.w3.org/QA/">Main</a>
                        | <a href="http://www.w3.org/QA/2008/04/proposed_activity_for_video_on.html">Proposed Activity for Video on the Web &raquo;</a>
                     </p>

                        <h2 class="entry-header">A validator is not an accessibility evaluation tool?</h2>
                           <div class="entry-body">
                              <p>Currently, the most active discussion thread on the HTML working group's public mailing list, public-html, is one regarding the issue of whether in HTML5 the <code>alt</code> attribute should always be required on images. And Henri Sivonen is among the most active participants in that discussion, posting to that thread (among other messages), the following:</p>

<blockquote><a href="http://lists.w3.org/Archives/Public/public-html/2008Apr/0322.html">http://lists.w3.org/Archives/Public/public-html/2008Apr/0322.html</a></blockquote>
<blockquote><a href="http://lists.w3.org/Archives/Public/public-html/2008Apr/0333.html">http://lists.w3.org/Archives/Public/public-html/2008Apr/0333.html</a></blockquote>

<p>The question of whether or not <code>alt</code> should always be required is an issue that affects the behavior of validators, so it shouldn't be much of a surprise to see Henri taking interest in the discussion around it, because he maintains a validator (more precisely, a conformance-checking tool) called <a href="http://validator.nu/">Validator.nu</a> that he's spent a lot of time developing and that he clearly wants to be a beneficial and serviceable as possible to the people who take time to use it.</p>

<p>Among the assertions that Henri makes in his postings to that thread is the following:</p>

<blockquote>An HTML5 validator isn't an accessibility evaluation tool--or at least  
I think it shouldn't be.</blockquote>

<p>He goes on to compare the purpose of a validator to that of a spell checker, and in a later message, adds this:</p>
 
<blockquote><p>A validator cannot check that a page is semantically correct. It can't  
properly check for accessibility, either.</p>
<p>We should dispel misconceptions about what validators do instead of  
catering to the misconceptions.</p>
</blockquote>

<p>And to clarify what he intends Validator.nu to be useful (and not useful) for, he adds this:</p>

<blockquote>The validator I develop is not a stamping tool. It is a tool that  
helps authors detect mistakes that they didn't intend to make, so that  
they don't need to spend time wondering about the effects about their  
unintentional doings. For example, the validator I develop helps  
author detect that the alt attribute was typoed as 'atl', which is  
useful, because atl wouldn't work... I'm not interested in developing a formal stamp. I am interested in developing a development tool.</blockquote>

<p>The assertion that earning a "this page is valid" stamp or badge should not be an end goal (or any kind of goal at all) for users of a validator or conformance checker is something that Henri has stated consistently since the earliest public versions of Validator.nu were available (and that others have been stating for quite a long time also) -- as is the assertion that a validator should be a development tool, not a tool for advocacy. Henri states that most succinctly is a section of the Validator.nu FAQ:</p>

<blockquote>Validation is a tool for you as a page author -- not something your readers need to verify.</blockquote>

<p>To make a somewhat ham-handed analogy of my own: Consider the case of when you create a document with a word processor like Microsoft Word or whatever and you run in through that application's built-in spell-checking and grammar-checking tools to find and fix any spelling or grammar problems. You're using those tools as an author to ensure that the document doesn't contain any unintentional errors before you share it with others. And after you use them, you would never consider embedding a badge in the page to indicate that it's free from spelling and grammar errors -- because the fact that it is free from such is something of real value to you as an author, it's of no value to have it highlighted to all your readers, and not something you want or need your readers to verify.</p>

<p>Anyway, that (bad) analogy aside, I think Henri and most other reasonable people would agree that there is great value in encouraging authors to produce valid content, and beyond that, to encourage authors to be familiar with best-practice accessibility and usability guidelines and to try to follow them to the best of their ability. The main difference of opinion here is around what role (if any) validators should be expected to have in encouraging authors to do those things.</p>
                           </div>
                           <div id="more" class="entry-more">
                              
                           </div>
                       <p class="postinfo">Filed by <a href="">Michael(tm) Smith</a> on April 14, 2008  2:19 AM in <a href="http://www.w3.org/QA/archive/technology/html/">HTML</a><br />
<span class="separator">|</span> <a class="permalink" href="http://www.w3.org/QA/2008/04/badges.html">Permalink</a>
                                 | <a href="http://www.w3.org/QA/2008/04/badges.html#comments">Comments (6)</a>
                                 | <a href="http://www.w3.org/QA/2008/04/badges.html#trackback">TrackBacks (0)</a>
</p>



<h3 class="comments-header" id="comments">Comments</h3>
<div class="comment" id="comment-132608">
<p class="comment-meta" id="c132608">
<span class="comment-meta-author"><strong>Patrick H. Lauke </strong></span>
<span class="comment-meta-date"><a href="#c132608">#</a> 2008-04-14</span>
</p>
<div class="comment-bulk">
<p>unless i'm misunderstanding, though, this sidesteps the core of the discussion: the validator is supposed to validate against HTML5...now the question is should HTML5 mandate ALT. if it turns out that HTML5 doesn't mandate ALT, then Henri is absolutely right that his validator shouldn't flag it either. if HTML5 does, though, then the validator needs to flag up a missing ALT. or have i got the wrong end of the (unwiedly, lengthy, partly philosophical, often heated) stick?</p>

</div>
</div>


<div class="comment" id="comment-132712">
<p class="comment-meta" id="c132712">
<span class="comment-meta-author"><strong>Dana Lee Ling </strong></span>
<span class="comment-meta-date"><a href="#c132712">#</a> 2008-04-15</span>
</p>
<div class="comment-bulk">
<p>I agree completely with Henri on the purpose and use of a validator. I think Michael's analogy is right on the money. Patrick notes a particular conflict that even if HTML5 mandates alt, will still not be resolved. The conflict, as I have experienced it, is the change in the way alt is to be used in HTML5 and the interaction with WCAG checkers. HTML5 clarifies that title is to carry the tool-tip information and that alt should be a stand-alone sentence that makes sense in context in the absence of the image. This generates alt tags that are deemed too long by WCAG. This leaves me with the choice of conforming to the HTML5 guidelines or the WCAG 2.0 guidelines, but not both. Currently I choose to conform to WCAG 2.0 short alt tags when working on a 4.01 strict page. On HTML5 pages I randomly vary between sentence-long alt tags that contextually replace the image and short tool-tip-like image descriptors. </p>

</div>
</div>


<div class="comment" id="comment-133038">
<p class="comment-meta" id="c133038">
<span class="comment-meta-author"><strong>Ken Barbalace </strong></span>
<span class="comment-meta-date"><a href="#c133038">#</a> 2008-04-15</span>
</p>
<div class="comment-bulk">
<p>Although I faithfully put in ALT attributes for my images, they are frequently empty (e.g. alt="") as putting anything in the alt attribute would be redundant to the text adjacent to the image (e.g. a linked icon next to link text). There are very legitimate reasons to want there to be no traces or clues about an image's presence provided to users of things like screen readers and dynamic Braille displays.  Another annoying thing about ALT attributes is that if one wants an image description to be displayed to graphical browsers as a "tooltip" caption then one has to use both the ALT attribute and TITLE attribute for images, which is also redundant.</p>

<p>After reading Henri Sivonen's comments and giving some thought to it, I do agree that the ALT attribute should be optional in HTML5. He makes some very good points about the ALT attribute being required only causes developers to create bogus ALT descriptions. He also makes some compelling arguments that HTML5 specifications should stick to technical issues and leave the social engineering to the WCAG.  </p>

<p>Henri is right, the ALT attribute requirement is a failure and this attribute should be made optional.</p>

</div>
</div>


<div class="comment" id="comment-133186">
<p class="comment-meta" id="c133186">
<span class="comment-meta-author"><strong>Jacques Distler </strong></span>
<span class="comment-meta-date"><a href="#c133186">#</a> 2008-04-16</span>
</p>
<div class="comment-bulk">
<p>Well, Ken, you have (inadvertently, I presume) given one of the few cogent arguments <strong>against</strong> Henri's position.</p>

<p>alt="" is supposed to indicate "this image is purely decorative; assistive technology should ignore it." The <em>absence</em> of an alt attribute is supposed to indicate that the image is <em>significant</em>, but no usable alt text is available.</p>

<p>It would be rare for a <em>conforming</em> hand-authored HTML5 document to have &lt;img&gt; elements without an alt attribute. Either the image is significant (in which case, the hand-author supplies suitable alt text) or it isn't (in which case, the author adds an alt="").</p>

<p>You (and, one suspects, millions of less clueful authors) seem to take the proposed HTML5 Spec as a licence to omit the alt attribute for purely decorative images, <em>which is exactly the opposite of what is intended</em>.</p>

<p>And here I thought that those arguing against Henri in the linked-to thread were complete idiots...</p>

</div>
</div>


<div class="comment" id="comment-135389">
<p class="comment-meta" id="c135389">
<span class="comment-meta-author"><strong>Tavis Reddick </strong></span>
<span class="comment-meta-date"><a href="#c135389">#</a> 2008-04-22</span>
</p>
<div class="comment-bulk">
<p>A null value for img@alt is probably worse than a null value for html/head/title, because there is less text to supply context. The alt text is not for a specific group of people, it is for devices, which can then process the text in various ways, including rendering to various media or storing in indexes for search engines.</p>

<p>It isn't necessary for authors (or people who write validators) to always understand the "why" behind markup requirements, or indeed agree with them. The point is that the web is a vast, collective, interconnected system, and connecting poorly-described information to it will (however infinitesimally) reduce the quality of the overall system.</p>

<p>Looking at content from the point of view of a single page is one view of the system; other views can look at collections of elements such as images. And increasingly an author doesn't produce the entire page, but only a portion of the content.</p>

<p>In other words, the author might have no clue about how the content they produce will be used, now or in the future, or what context it might appear in. However, they (or the developers of the generating application) might have a very good of the intended purpose of the image.</p>

<p>It might therefore be more useful to have an attribute containing the purpose(s) or function(s) of the image (there is already a boolean for image map) or other element. This/these could be taken from a controlled vocabulary.</p>

</div>
</div>


<div class="comment" id="comment-137943">
<p class="comment-meta" id="c137943">
<span class="comment-meta-author"><strong>Ed Galligan </strong></span>
<span class="comment-meta-date"><a href="#c137943">#</a> 2008-04-30</span>
</p>
<div class="comment-bulk">
<p>Firstly, on Henri's article.
While the validator is an invaluable developer tool, I personally find the analogy deeply flawed. Correct spelling and grammar are and have for a long time widely accepted as being a good thing. This is thought from a very young age to everyone. Valid html, while considered positive by many, is less widely used, and certainly not something everyone is aware of or familiar with. <i>Valid</i> badges are an advertisement. If the validator is not created to this purpose, what should we use to <i>"Spread Validity"</i>?</p>

<p>Secondly, on <pre>alt</pre>.
Is <pre>&lt;div style="background-image:url('');"/&gt;</pre> not a better way of inserting decorative images without having to worry about <pre>alt=""</pre> (even better again with external style)? Please correct me if I'm oh so wrong on this one, but I never use <pre>img</pre> for decoration. Should I?</p>

</div>
</div>



  <div class="comments-open" id="comments-open">
<h3 class="comments-open-header">Leave a comment</h3>

<div class="comments-open-moderated">
   <p>
   Note: this blog is intended to foster <strong>polite
   on-topic discussions</strong>. Comments failing these
   requirements and spam will not get published. Please,
   enter your real name and email address. Every
   individual comment is reviewed by the W3C staff.
   This may take some time, thank you for your patience.
   </p>
   <p>
   You can use the following HTML markup (a href, b, i, 
   br/, p, strong, em, ul, ol, li, blockquote, pre) 
   and/or <a href="http://daringfireball.net/projects/markdown/syntax">Markdown syntax</a>.</p>
</div>

<div id="comments-open-data">
<form method="post" action="http://www.w3.org/QA/sununga/beach.pl" id="comments-form">
<h4>Your comment</h4>
<div id="comments-open-text">
  <textarea id="comment-text" name="text" rows="20" cols="100"></textarea><br />
<label for="comment-text">Write your comment text here. Remember, keep the discussion on topic and courteous.</label>
</div>

<h4>About you</h4>
<div id="comment-form-name">
  <input type="hidden" name="static" value="1" />
<input type="hidden" name="entry_id" value="166" />
<input type="hidden" name="__lang" value="en" /> 
<label for="comment-author">Your Name</label>
<input id="comment-author" name="author" size="30" value="" />
</div>
<div id="comment-form-email">
<label for="comment-email">Your Email Address</label>
<input id="comment-email" name="email" size="30" value="" />
</div>

<div id="comments-open-footer">
<input type="submit" accesskey="s" name="post" id="comment-submit" value="Submit" />

</div>
</form>
</div>
</div>



<p id="gentime">This page was last generated on $Date: 2011/12/16 03:02:48 $</p> 

      </div><!-- End of "main" DIV. -->

<address>

This blog is written by W3C staff and working group participants,<br />
&nbsp;and maintained by <a href="/People/CMercier/">Coralie Mercier</a>.<br />
Authorized parties may <a href="/QA/new">log in</a> to create a new entry.<br/>
<span id="poweredby">Powered by Movable Type, magpierss and a lot of Web Technology</span>
    </address>


    
    <p class="copyright">
      <a rel="Copyright" href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> &copy; 1994-2011
      <a href="http://www.w3.org/"><acronym title="World Wide Web Consortium">W3C</acronym></a>&reg;
      (<a href="http://www.csail.mit.edu/"><acronym title="Massachusetts Institute of Technology">MIT</acronym></a>,
      <a href="http://www.ercim.eu/"><acronym title="European Research Consortium for Informatics and Mathematics">ERCIM</acronym></a>,
      <a href="http://www.keio.ac.jp/">Keio</a>),
      All Rights Reserved.
      W3C <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>,
      <a href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a>,
      <a rel="Copyright" href="http://www.w3.org/Consortium/Legal/copyright-documents">document use</a>
      and <a rel="Copyright" href="http://www.w3.org/Consortium/Legal/copyright-software">software licensing</a>
      rules apply. Your interactions with this site are in accordance
      with our <a href="http://www.w3.org/Consortium/Legal/privacy-statement#Public">public</a> and
      <a href="http://www.w3.org/Consortium/Legal/privacy-statement#Members">Member</a> privacy
      statements.
    </p>

  </body>
</html>