Tests can be grouped into test sets. Test sets typically correspond to particular Web accessibility standards. Each test can be present in any number of test sets (consider HTML syntax checker or overlapping standards like Section 508 and WCAG 1.0).
List of all available test sets can be retrieved with the
wachecker.test.all_test_sets ()
call, which returns sequence of
pairs (
test-set-class-name,
test-set-class)
.
All test sets are instances of the wachecker.test.Test_Set
.
That class defines the following class methods:
name (class_)
description (class_)
tests (class_)
Test classes also define several such class methods. The most important ones are:
name (class_)
description (class_)
location (class_)
wachecker.location.Location
instance pointing to a Web
page defining and describing accessibility issues related to the test,
or None
when there is no such Web page.