<?xml version="1.0" encoding="UTF-8"?>

<?xml-stylesheet href="earl-xform.css" type="text/css"?>

<html:html  xml:lang="en" 
                    xmlns="http://www.w3.org/2002/xforms/cr" 
	xmlns:ev="http://www.w3.org/2001/xml-events" 
	xmlns:html="http://www.w3.org/1999/xhtml" 
	xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:earl="http://www.w3.org/WAI/ER/EARL/nmg-strawman#">

  <html:head>
    <html:title>Earl evaluation in XForms - Basic version</html:title>
    <model id="foaf">
      <instance src="./earlinst.rdf" id="default"/>
      <bind nodeset="earl:WebContent/earl:date" calculate="now()"/>
      <submission action="./earlResult.rdf" id="submit1" method="put"/> 
    </model>
   <html:link html:href="style/swad-europe.css" html:rel="stylesheet" html:type="text/css"/>
   <html:link html:href="earlform.es.xml" html:rel="Alternate" html:hreflang="es"/>
  <html:style html:type="text/css">
div.item { color: #005a9c;
           font-size: 80%; }
span.title { font-style: bold }
span.date { font-style: italics }
.status {background-color: #FFFF00; color: #000000}</html:style>
</html:head>

<html:body>
<html:h1><html:a html:href="/" html:accesskey="W"><html:img
html:src="../../images/w3c_home.png" html:width="72" html:height="48" html:alt="W3C"
html:align="right"/></html:a>
 <html:a html:href="../../Overview.html"><html:img html:alt="SWAD-Europe"
html:src="../../images/Image9.png" html:width="100" html:height="100" html:align="right"
html:style="width:100px;height:100px"/></html:a>
<html:a html:href="http://www.cordis.lu/ist/"><html:img html:src="../../images/istlogo-thumb.gif"
html:align="right" html:alt="EU IST logo"/></html:a>
WCAG 1.0 evaluation in EARL</html:h1>
  <html:p>This tool was developed by <html:a html:href="http://www.w3.org/People/Charles">Charles McCathieNevile</html:a> as part of the SWAD-Europe project. It helps you to record an evaluation of a document's accessibility according to WCAG 1.0 and record the results in <html:a html:href="http://www.w3.org/TR/EARL10" hreflang="en">EARL</html:a></html:p>
  <html:p>Still to do:</html:p>

  <html:ul>
    <html:li>User Interface - suggestions welcome</html:li>

      <html:li>Modularise the input requirements so specific tests can be swapped in and out. <html:a html:href="priEarlForm.xml">Done!</html:a></html:li>
      <html:li>link to further information / instructions</html:li>
      <html:li>a nicer style sheet</html:li>
    <html:li>Factor out the guidelines so different guidelines can be used - <html:a html:href="makeEarlBase.xml">Working on this</html:a></html:li>
    <html:li>Post to annotea interface (and update W3C EARL server to accept this EARL schema) - <html:a html:href="newEarlform.xml">Done!</html:a></html:li>
  </html:ul>
<html:h2>About you.</html:h2>
<html:p>Because different people and tools might make different judgements, EARL requires some way of identifying who makes a particular claim.</html:p>


    <group class="section">
      <input ref="instance('default')/earl:Assertor/earl:name" class="uri">
        <label>Your name</label>
      </input>
      <input ref="earl:Assertor/earl:email/@rdf:resource" class="uri">
        <label>Your email address</label>
      </input>
    </group>

<html:h2>The document you are evaluating</html:h2>
<html:p>Please give the URI for the document being evaluated, and the date that you tested it (as a simple way of being able to check if the document changed since then).</html:p>

    <group class="section">
      <input ref="earl:WebContent/earl:reprOf/@rdf:resource" class="uri">
        <label>The document URI</label>
      </input>
      <input ref="earl:WebContent/earl:date" class="uri">
        <label>The date ot the evaluation</label>
      </input>
    </group>

<html:h2>The evaluation results</html:h2>
<html:p>This is pretty basic at the moment - you can select different values or leave it as not tested...</html:p>

    <repeat nodeset="earl:Assertion" id="results">
      <group class="section">
          <output ref="earl:testcase/earl:TestCase/dc:title[@xml:lang='en']"/>
       <select1 appearance="minimal" ref="earl:result/@rdf:type">
            <item>
              <value>http://www.w3.org/WAI/ER/EARL/nmg-strawman#notTested</value>
              <label>Not tested</label>
           </item>
            <item>
              <value>http://www.w3.org/WAI/ER/EARL/nmg-strawman#pass</value>
              <label>Passes the requirement</label >
           </item>
            <item>
              <value>http://www.w3.org/WAI/ER/EARL/nmg-strawman#fail</value>
              <label>Fails the requirement</label >
           </item>
            <item>
              <value>http://www.w3.org/WAI/ER/EARL/nmg-strawman#notApplicable</value>
              <label>The requirement is not applicable</label >
           </item>
            <item>
              <value>http://www.w3.org/WAI/ER/EARL/nmg-strawman#cannotTell</value>
              <label>I cannot tell</label >
           </item>
         </select1>
       </group>
      <group class="uri">
        <textarea ref="earl:message" class="messageBody">
          <label>Comments</label>
          <hint>Enter any additional comments here</hint>
        </textarea>
      </group>
     </repeat>
      <group>
        <submit submission="submit1">
          <label>Generate the RDF</label> 
        </submit>
      </group>			
  </html:body>
</html:html>

