<?xml version="1.0" encoding="utf-8"?>
<testCaseDescription xmlns:uri="http://www.w3.org/2006/uri#" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:tcd="http://bentoweb.org/refs/TCDL1.1" xmlns:html="http://www.w3.org/1999/xhtml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:earlwd="http://www.w3.org/WAI/ER/EARL/nmg-strawman#" xmlns:btw="http://bentoweb.org/refs/TCDL2.0/"
xmlns:http="http://www.w3.org/2006/http#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns="http://bentoweb.org/refs/TCDL2.0/" id="sc1.3.1_l1_045"
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>All input elements should have an explicit associated label</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>&#194;&#169; 1994-2008 
        <html:a href="http://www.w3.org/">
            <html:acronym title="World Wide Web Consortium">W3C</html:acronym>
        </html:a>
        <html:sup>&#194;&#174;</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:06:14 $</dc:date>
        <status>unconfirmed</status>
        <version>$Revision: 1.12 $</version>
    </formalMetadata>
    <technologies>
        <technicalSpec xlink:href="http://www.w3.org/TR/xhtml1/" handle="XHTML10" mediatype="application/xhtml+xml">
        <specName><html:acronym>XHTML</html:acronym>&#8482; 1.0 The Extensible HyperText Markup Language (Second Edition)</specName>
            <testElements>
                <testElement>
                    <elementName localname="input" namespace="http://www.w3.org/1999/xhtml" />
                    <specReference xlink:href="http://www.w3.org/TR/1999/REC-html401-19991224/interact/forms.html#edef-INPUT">The INPUT element</specReference>
                </testElement>
                <testElement>
                    <elementName localname="label" namespace="http://www.w3.org/1999/xhtml" />
                    <specReference xlink:href="http://www.w3.org/TR/1999/REC-html401-19991224/interact/forms.html#edef-LABEL">The LABEL element</specReference>
                </testElement>
            </testElements>
        </technicalSpec>
    </technologies>
    <testCase>
        <dc:description xsi:type="btw:dcHtmlInline">
            <html:code>input</html:code>
            <html:code>type="checkbox"</html:code>
        </dc:description>
        <purpose>
            <p>The test case is intended to pass as the 
            <html:code>input</html:code>has an associated explicit 
            <html:code>label</html:code>.</p>
        </purpose>
        <files>
            <file>
                <http:GetRequest>
                    <http:requestURI>
                        <http:absoluteURI>../testfiles/sc1.3.1_l1_045.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_20060427_1.3_content-structure-separation-programmatic">
            <locations expectedResult="pass">
                <location techrefs="H44">
                    <earlwd:lineCharLen>
                        <earlwd:line>11</earlwd:line>
                        <earlwd:char>33</earlwd:char>
                    </earlwd:lineCharLen>
                    <earlwd:xPath>
                        <earlwd:expression>/h:html/h:body/h:form/h:p/h:label[@for]</earlwd:expression>
                    </earlwd:xPath>
                </location>
                <location techrefs="H44">
                    <earlwd:lineCharLen>
                        <earlwd:line>12</earlwd:line>
                        <earlwd:char>49</earlwd:char>
                    </earlwd:lineCharLen>
                    <earlwd:xPath>
                        <earlwd:expression>/h:html/h:body/h:form/h:p/h:input[@type='checkbox']</earlwd:expression>
                    </earlwd:xPath>
                </location>
            </locations>
            <techniques>
                <technique id="H44" xlink:href="http://www.w3.org/TR/2007/WD-WCAG20-TECHS-20070517/#H44" />
            </techniques>
            <techComment>
                <p>
                <html:code>input</html:code>element has an explicit associated 
                <html:code>label</html:code>.</p>
            </techComment>
        </rule>
    </rules>
    <namespaceMappings>
        <namespace nsPrefix="h" nsURI="http://www.w3.org/1999/xhtml" />
    </namespaceMappings>
</testCaseDescription>
