- From: Charles McCathieNevile <charles@sidar.org>
- Date: Tue, 26 Apr 2005 19:30:33 +0200
- To: "Chris Ridpath" <chris.ridpath@utoronto.ca>, public-wai-ert@w3.org
This seems feasible to me,except that on the call I think we went in the directionof definig a class earl:Location (instead of earl:thing in yur code). You could also have ... <r:Bag> <r:li> <e:Location r:about="#firstThing"> <!- properties describing the location --> </e:Location> </r:li> <r:li> <e:Location r:about="#secondThing"> <!- properties describing the location --> </e:Location> </r:li> <r:li> <e:Location r:about="#anotherThing"> <!- properties describing the location --> </e:Location> </r:li> </r:Bag> cheers Chaals On Tue, 12 Apr 2005 16:27:13 +0200, Chris Ridpath <chris.ridpath@utoronto.ca> wrote: > <rdf:Bag rdf:about="#foo"> > Getting closer but this is not quite right. I'm trying to identify each > of the rdf:li elements within the rdf:Bag. Putting a dc:title or a > rdf:about attribute on the rdf:li won't work. > I'm thinking of something like (note the 2 earl:thing elements > referenced within the earl:location collection): > <?xml version="1.0" encoding="UTF-8"?> > <rdf:RDF xmlns:dc="http://purl.org/dc/elements/1.1/" > xmlns:earl="http://www.w3.org/WAI/ER/ > EARL/nmg-strawman#" > xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> > <earl:WebContent rdf:about="#subject"> > <earl:reprOf > rdf:resource="http://tile-cridpath.atrc.utoronto.ca/acheck/checks/testfiles/ > 197-5.html"/> > <dc:date > rdf:datatype="http://www.w3.org/2001/XMLSchema#gDateTime">2005-04-08T04:38:43- > 0400</dc:date> > </earl:WebContent> > <earl:Tool rdf:about="#assertor"> > <dc:title>ATRC Accessibility Checker</dc:title> > <dc:source>http://tile-cridpath.atrc.utoronto.ca/acheck/servlet/ShowCheck</dc:source> > <dc:version>0.6.4</dc:version> > </earl:Tool> > <earl:thing rdf:about="#image"> > <earl:line>9</earl:line> > <earl:xpath>/html/body/p/a/img</earl:xpath> > <earl:alt>image</earl:alt> > <earl:src>more.gif</earl:src> > </earl:thing> > <earl:thing rdf:about="#anchor"> > <earl:line>9</earl:line> > <earl:href>spending.html</earl:href> > <earl:xpath>/html/body/p/a</earl:xpath> > </earl:thing> > <earl:Assertion> > <dc:date > rdf:datatype="http://www.w3.org/2001/XMLSchema#gDateTime">2005-04-08T04:38:43- > 0400</dc:date> > <earl:Subject rdf:resource="#subject"/> > <earl:location> > <rdf:Bag> > <rdf:li rdf:resource="#image"/> > <rdf:li rdf:resource="#anchor"/> > </rdf:Bag> > </earl:location> > <earl:testCase > rdf:resource="http://www.w3.org/WAI/GL/WCAG20/tests/test197.html"/> > <earl:result rdf:parseType="Resource"> > <earl:validity > rdf:resource="http://www.w3.org/WAI/ER/EARL/nmg-strawman#fail"/> > <earl:confidence > rdf:resource="http://www.w3.org/WAI/ER/EARL/nmg-strawman#low"/> > <earl:message rdf:parseType="Literal" xml:lang="en">Anchor text may not > identify the link destination.</earl:message> > </earl:result> > <earl:Assertor rdf:resource="#assertor"/> > <earl:mode > rdf:resource="http://www.w3.org/WAI/ER/EARL/nmg-strawman#automatic"/> > </earl:Assertion> > </rdf:RDF> > This shows that the 2 things "image" and "anchor" are used to locate > the accessibility error. I'm not sure this is 100% correct and would > appreciate any comments. > -- Charles McCathieNevile Fundacion Sidar charles@sidar.org +61 409 134 136 http://www.sidar.org
Received on Tuesday, 26 April 2005 17:30:52 UTC