-
Notifications
You must be signed in to change notification settings - Fork 44
WCAG2: add tests on an higher level: by success criterion #129
Comments
This could be a test loop for SC 1.2.2 captions (http://www.w3.org/TR/UNDERSTANDING-WCAG20/media-equiv-captions.html)
|
This depends on #101. Can we introduce a group tag? And then each group needs logic e.g. if 1 of 3 passes, then the Success Criterion is met; or all 3 must pass for the Success Criterion to pass. |
And then what happens if the testability is less than one. |
Instead of just an array of techniques in our guideline definitions, we could instead have: x.x.x:
techniques:
and:
-T1
-T2
-T3
or:
-T4
-T5 With nested and/or groups it could get a little complicated though. Perhaps it would be best for us to first do the work of identifying all the logic in techniques first, the above approach would work fine in there is no need for nested logic. |
I'll introduce the SuccessCriterion object against this issue. |
Working in branch issue-129 |
The evolving Pull Request: |
WCAG2 defines several techniques to comply to a success criterion. Most of the time one of the techniques is enough, sometimes a combination or two techniques, or depending on a situation.
We could integrate alle the tests in one big test, or we can add a test on SC level that delegates portions to other tests.
The last option is conform EARL (TestRequierement and TestCase). It gives more flexibility.
http://www.w3.org/TR/EARL10-Schema/#TestCriterion
The text was updated successfully, but these errors were encountered: