W3C home > Mailing lists > Public > public-wai-ert@w3.org > March 2005

Re: EARL and describing tests Re: Agenda for F2F at TP

From: Chris Ridpath <chris.ridpath@utoronto.ca>
Date: Tue, 1 Mar 2005 11:01:32 -0500
Message-ID: <005f01c51e77$f0406260$739a968e@traveler>
To: <shadi@w3.org>, "'Charles McCathieNevile'" <charles@sidar.org>
Cc: <public-wai-ert@w3.org>


Thanks for your example and explanation.

Shadi said:
> Our aim is *not* to develop a vocabulary to describe test cases
> but rather to identify some basic assumptions on which EARL is based.
I agree.

Charles said:
> What this doesn't do is decribe how to do the test. I think that it is
> useful to be able to describe procedures for people to follow, and code
> which can automatically run the test, but I don't see that EARL needs to
> do this.
Yes, this is what the test suite is for. For example, the test for missing 
alt attribute is:

All you need to do in your EARL statement is say that you've failed with a 
reference to this test.

> But we do have same basic ability to describe tests. We could use Dublin
> Core (for example) to give more detailed information about who is the
> author of a particular test, when it was developed, etc. To make this
> easy, all we do is keep using RDF.
Yes, but it may be easier just to reference a stable test.

> Nor does it describe the relationship between a group of tests, which I
> think should be done using OWL restrictions rather than inventing
> EARL-specific stuff that does the same thing.
We can now reference an accessibility guideline that contains all the tests 
that are required for conformance to that guideline. Example:

This is just a simple XML file but perhaps we could improve it using another 
technology as you suggested.

Here's how our checker says you have an image without an alt attribute in 

- <earl:Assertion>
  <earl:Subject element="img" line="9" rdf:resource="#subject" 
xpath="/HTML/BODY/P/IMG" />
- <earl:Testcase 
  <earl:testId rdf:resource="1" />
  <earl:message>IMG missing ALT attribute.</earl:message>
- <earl:result 
rdf:resource="http://www.w3.org/WAI/ER/EARL/nmg-strawman#high" />
  <earl:Assertor rdf:resource="#assertor" />
rdf:resource="http://www.w3.org/WAI/ER/EARL/nmg-strawman#automatic" />

I'm happy to hear all the new ideas in the group and hope we can make good 
progress this year.

Received on Tuesday, 1 March 2005 16:03:10 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:55:52 UTC