Re: EARL Conformance Statement

Hi Chris,

Chris Ridpath wrote:
> I think we've got all the elements in place using the new EARL so I'll 
> take a try at creating a statement. Shown below is the EARL that states 
> a web page conforms to the WCAG 2. This is valid RDF and I think it 
> conforms to the new EARL schema.

No, it doesn't seem to conform to the latest Editors' Draft (and therefore the current WG decision):


> <!-- the page we're talking about -->
> 
> <earl:WebContent rdf:about="#subject">
> <earl:reprOf rdf:parseType="Resource">
> <dc:location 
> rdf:datatype="xsd:anyURI">http://www.w3.org/WAI/GL/WCAG20/tests/testfiles/1-2.html</dc:location> 
> 
> <dc:date 
> rdf:datatype="http://www.w3.org/2001/XMLSchema#gDateTime">2006-01-06T12:30:17-0500</dc:date> 
> 
> <dc:format rdf:parseType="Literal">text/html</dc:format>
> </earl:reprOf>
> </earl:WebContent>

earl:reprOf has been dropped for http:Request and http:Response pairs. See thread and work by Johannes on this. We will be publishing this as a Working Group Note then referencing it in EARL.


> <!-- the tool that checked it -->
> 
> <earl:software rdf:about="#assertorTool">
> <dc:title rdf:parseType="Literal" xml:lang="en">ATRC Accessibility 
> Checker</dc:title>
> <dct:hasVersion rdf:parseType="Literal">0.7.1</dct:hasVersion>
> <dc:location 
> rdf:datatype="xsd:anyURI">http://checker.atrc.utoronto.ca/servlet/ShowCheck</dc:location> 
> 
> </earl:software>

earl:Software (capital "S") because it is a class, not a property. Also, I prefer to use rdf:id rather than rdf:about for such examples (to make them complete and stand-alone) but I think this can be debated.


> <!-- the tests that were used to check it -->
> 
> <earl:TestRequirement rdf:about="#htmlTestsWcag2Level2">
> <dc:title xml:lang="en">HTML Test Suite For WCAG 2.0 Level 2</dc:title>
> <dc:description xml:lang="en">HTML Accessibility Tests For WCAG 2.0 
> Level 2</dc:title>
> <dc:location>http://example.org/tests/html/</dc:location>
> </earl:TestRequirement>

Yup (except rdf:about as above).


> <!-- the assertion stating it passes -->
> 
> <earl:Assertion>
> <dc:date>2006-01-06T12:30:17-0500</dc:date>
> <earl:Subject rdf:resource="#subject" />
> <earl:result 
> rdf:resource="http://www.w3.org/WAI/ER/EARL/nmg-strawman#pass" />
> <earl:confidence 
> rdf:resource="http://www.w3.org/WAI/ER/EARL/nmg-strawman#high" />
> <earl:requirement rdf:resource="#htmlTestsWcag2Level2" />
> <earl:assertedBy rdf:resource="#assertorTool" />
> <earl:mode 
> rdf:resource="http://www.w3.org/WAI/ER/EARL/nmg-strawman#automatic" />
> </earl:Assertion>

earl:subject (lower case "s") because it is a property of earl:Assertion here. Also, we dropped the "high", "medium", and "low" values for earl:confidence; you need to define your own here.

Another final comment, RDF will not stop you from adding dc:date to an earl:Assertion (or any additional information to any classes in fact) but it is not defined in the current EARL. This means that tools do not have to be able to interpret them (and so it will be dropped most of the time).

Thanks for working on this, it may end up as an example in the EARL 1.0 Guide.

Cheers,
  Shadi


-- 
Shadi Abou-Zahra     Web Accessibility Specialist for Europe | 
Chair & Staff Contact for the Evaluation and Repair Tools WG | 
World Wide Web Consortium (W3C)           http://www.w3.org/ | 
Web Accessibility Initiative (WAI),   http://www.w3.org/WAI/ | 
WAI-TIES Project,                http://www.w3.org/WAI/TIES/ | 
Evaluation and Repair Tools WG,    http://www.w3.org/WAI/ER/ | 
2004, Route des Lucioles - 06560,  Sophia-Antipolis - France | 
Voice: +33(0)4 92 38 50 64          Fax: +33(0)4 92 38 78 22 | 

Received on Saturday, 7 January 2006 08:58:46 UTC