W3C home > Mailing lists > Public > w3c-wai-er-ig@w3.org > June 2002

Re: Devising a schema for accessibility testing

From: Nick Kew <nick@webthing.com>
Date: Sun, 30 Jun 2002 21:10:11 +0100 (BST)
To: <w3c-wai-er-ig@w3.org>
Message-ID: <20020630204255.G1187-100000@fenris.webthing.com>

I've been hacking on this today.  I have some valid RDF that
seems to do the job.  I haven't made any effort to reuse
anyone's terms, so any suggestions in that area (and others)
much appreciated.

Does this lot make sense?

Is anyone interested in thinking about generalising it
beyond Valet?

<!-- A test suite defines the set of tests to be applied -->

<valet:testsuite rdf:ID="WCAG1">

<!-- Properties of the testsuite -->

  <valet:url rdf:resource="http://www.w3.org/TR/WCAG10/"/>
	Web Content Accessibility Guidelines, level A
  <rdf:domain rdf:resource="earl:webcontent"/>

<!-- the testsuite applies one or more test -->

<!-- We define an imaginary - but not too far off real - test -->
    <valet:test rdf:ID="test001" >

<!-- The test has some basic properties, as discussed for EARL at the f2f
      <valet:message>Provide a text alternative</valet:message>

<!-- The subject of a test definition is one or more Guideline -->
      <rdf:subject rdf:parseType="Resource">
rdf:resource="http://www.w3.org/TR/WCAG10/#tech-text-equivalent" />

<!-- The test applies some action to the guideline.  In Valet's
     implementation, this is a C++ class derived from an abstract base
     class "Test".  Classes define a method "fails", that returns true or
     false, and that will be applied to each DOM node where the test is
     defined as applicable.   Tests may have other parameters -
     prototyping to-be-defined elsewhere.
           <cpp:params rdf:parseType="Resource">

<!--    The test is applied to one or more HTML element or attribute
        An instance of the element in question will be the EARL subject
        when we apply the test.
      <rdf:object rdf:parseType="Resource">


Nick Kew

Available for contract work - Programming, Unix, Networking, Markup, etc.
Received on Sunday, 30 June 2002 16:10:27 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:30:07 UTC