<?xml version="1.0" encoding="UTF-8"?>
<testCaseDescription xmlns:earlwd="http://www.w3.org/WAI/ER/EARL/nmg-strawman#"
    xmlns:http="http://www.w3.org/2006/http#"
    xmlns:uri="http://www.w3.org/2006/uri#"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:btw="http://bentoweb.org/refs/TCDL2.0/"
    xmlns:tcd="http://bentoweb.org/refs/TCDL1.1"
    xmlns="http://bentoweb.org/refs/TCDL2.0/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:xlink="http://www.w3.org/1999/xlink"
    xmlns:html="http://www.w3.org/1999/xhtml"
    id="sc1.1.1_l1_005"
    xsi:schemaLocation="http://bentoweb.org/refs/TCDL2.0/ http://bentoweb.org/refs/schemas/tcdl2.0.xsd http://purl.org/dc/elements/1.1/ http://dublincore.org/schemas/xmls/qdc/2006/01/06/dc.xsd http://www.w3.org/1999/xhtml http://www.w3.org/2004/07/xhtml/xhtml1-strict.xsd http://www.w3.org/1999/xlink http://bentoweb.org/refs/schemas/xlink.xsd http://www.w3.org/2006/http# http://bentoweb.org/refs/schemas/http.xsd http://www.w3.org/2006/uri# http://bentoweb.org/refs/schemas/uri.xsd http://www.w3.org/WAI/ER/EARL/nmg-strawman# http://bentoweb.org/refs/schemas/earlwd.xsd">
  <formalMetadata>
    <title>Alternative text for image link (thumbnail): correct alt attribute</title>
    <dc:creator xsi:type="btw:dcHtmlInline">Developed by <html:a href="http://www.w3.org/"><html:acronym title="World Wide Web Consortium">W3C</html:acronym></html:a>/<html:a href="http://www.w3.org/WAI/"><html:acronym title="Web Accessibility Initiative">WAI</html:acronym></html:a>'s <html:a href="http://www.w3.org/WAI/ER/">Evaluation and Repair Tools Working Group</html:a> (ERT WG). We invite comments and discussion. Please address your feedback to <html:a href="mailto:public-wai-ert-tests@w3.org">public-wai-ert-tests@w3.org</html:a>, a mailing list with a <html:a href="http://lists.w3.org/Archives/Public/public-wai-ert-tsdtf/">public archive</html:a>.</dc:creator>
    <dc:language>en</dc:language>
    <dc:rights xsi:type="btw:dcHtmlInline"><html:a rel="Copyright" href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</html:a> © 1994-2008 <html:a href="http://www.w3.org/"><html:acronym title="World Wide Web Consortium">W3C</html:acronym></html:a><html:sup>®</html:sup> (<html:a href="http://www.csail.mit.edu/"><html:acronym title="Massachusetts Institute of Technology">MIT</html:acronym></html:a>, <html:a href="http://www.ercim.org/"><html:acronym title="European Research Consortium for Informatics and Mathematics">ERCIM</html:acronym></html:a>, <html:a href="http://www.keio.ac.jp/">Keio</html:a>), All Rights Reserved. <html:acronym title="World Wide Web Consortium">W3C</html:acronym><html:a href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</html:a>, <html:a href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</html:a>, <html:a rel="Copyright" href="http://www.w3.org/Consortium/Legal/copyright-documents">document use</html:a> and <html:a rel="Copyright" href="http://www.w3.org/Consortium/Legal/copyright-software">software licensing</html:a> rules apply. Your interactions with this site are in accordance with our <html:a href="http://www.w3.org/Consortium/Legal/privacy-statement#Public">public</html:a> and <html:a href="http://www.w3.org/Consortium/Legal/privacy-statement#Members">Member</html:a> privacy statements.</dc:rights>
    <dc:date xsi:type="btw:btwDate">$Date: 2009/04/29 09:05:59 $</dc:date>
    <status>unconfirmed</status>
    <version>$Revision: 1.10 $</version>
  </formalMetadata>
  <technologies>
    <technicalSpec xlink:href="http://www.w3.org/TR/xhtml1/" handle="XHTML10" mediatype="application/xhtml+xml">
      <specName><html:acronym>XHTML</html:acronym>™ 1.0 The Extensible HyperText Markup Language (Second Edition)</specName>
      <testElements>
        <testElement>
          <elementName localname="img" namespace="http://www.w3.org/1999/xhtml"/>
          <specReference xlink:href="http://www.w3.org/TR/1999/REC-html401-19991224/struct/objects.html#adef-alt">How to specify alternate text</specReference>
        </testElement>
      </testElements>
    </technicalSpec>
  </technologies>
  <testCase>
    <dc:description xsi:type="btw:dcHtmlInline">A document with image link (an image used as a link): the image is a thumbnail for a larger image; this larger image is the destination of the link. The <html:code>img</html:code> element has a (correct) <html:code>alt</html:code> attribute that conveys the same information as the image and identifies the destination of the link. (Neither the link nor the image have a <html:code>title</html:code> attribute.)</dc:description>
    <purpose>
      <p>This test case is intended to pass because the text alternative conveys the same information as the image and identifies the destination of the link.
        (The accessibility of the target of the link is not part of this test case.)
      </p>
    </purpose>
    <files>
      <file>
        <http:GetRequest>
          <http:requestURI>
            <http:absoluteURI>../testfiles/sc1.1.1_l1_005.html</http:absoluteURI>
          </http:requestURI>
          <http:version>1.1</http:version>
        </http:GetRequest>
      </file>
    </files>
  </testCase>
  <rules>
    <rule xlink:href="http://bentoweb.org/refs/rulesets.xml#WCAG2_20070517_1.1_text-equiv-all">
      <locations expectedResult="pass">
        <location techrefs="H37 ">
          <earlwd:lineCharLen>
            <earlwd:line>10</earlwd:line>
            <earlwd:char>123</earlwd:char>
          </earlwd:lineCharLen>
          <earlwd:xPath>
            <earlwd:expression>/h:html/h:body/h:p/h:a/h:img/@alt</earlwd:expression>
          </earlwd:xPath>
        </location>
      </locations>
      <techniques>
        <technique id="H37" xlink:href="http://www.w3.org/TR/2007/WD-WCAG20-TECHS-20070517/#H37"/>
      </techniques>
      <techComment>
        <p>The <html:code>img</html:code> element has an <html:code>alt</html:code> attribute.</p>
        <p>This test case maps to technique <html:span class="technique">H37: Using alt attributes on img elements</html:span>.</p>
      </techComment>
    </rule>
  </rules>
  <namespaceMappings>
    <namespace nsPrefix="h" nsURI="http://www.w3.org/1999/xhtml"/>
  </namespaceMappings>
</testCaseDescription>