testaro 5.9.1 → 5.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ Federated accessibility test automation
|
|
|
6
6
|
|
|
7
7
|
Testaro is a collection of collections of web accessibility tests.
|
|
8
8
|
|
|
9
|
-
The purpose of Testaro is to provide programmatic access to
|
|
9
|
+
The purpose of Testaro is to provide programmatic access to 1230 accessibility tests defined in several test packages and in Testaro itself.
|
|
10
10
|
|
|
11
11
|
## System requirements
|
|
12
12
|
|
|
@@ -40,8 +40,8 @@ As of this version, the counts of tests in the packages referenced above were:
|
|
|
40
40
|
- WAVE: 110
|
|
41
41
|
- Nu Html Checker: 147
|
|
42
42
|
- subtotal: 612
|
|
43
|
-
- Testaro tests:
|
|
44
|
-
- grand total:
|
|
43
|
+
- Testaro tests: 24
|
|
44
|
+
- grand total: 1230
|
|
45
45
|
|
|
46
46
|
## Code organization
|
|
47
47
|
|
|
@@ -234,6 +234,14 @@ This command causes Testaro to alter the `display` and `visibility` style proper
|
|
|
234
234
|
|
|
235
235
|
The possible commands of type `test` are enumerated in the `tests` object defined in the `index.js` file.
|
|
236
236
|
|
|
237
|
+
A test performs operations and reports results. The results may or may not directly indicate that a page passes or fails requirements. Typically, accessibility tests report successes and failures. But a test in Testaro is defined less restrictively, so it can report any results. As one example, the Testaro `elements` test reports facts about certain elements on a page, without asserting that those facts are successes or failures.
|
|
238
|
+
|
|
239
|
+
The term “test” has two meanings for Testaro:
|
|
240
|
+
- A command is a test (test command) if its `type` property has the value `test`.
|
|
241
|
+
- A package, such as Continuum, performs multiple tests (packaged tests).
|
|
242
|
+
|
|
243
|
+
Thus, if a command of type `test` runs Continuum, Continuum performs multiple tests and reports their results.
|
|
244
|
+
|
|
237
245
|
###### Examples
|
|
238
246
|
|
|
239
247
|
An example of a **packaged test** is:
|
|
@@ -266,7 +274,7 @@ In this case, Testaro runs the `motion` test with the specified parameters.
|
|
|
266
274
|
|
|
267
275
|
###### Tenon
|
|
268
276
|
|
|
269
|
-
|
|
277
|
+
Most packaged tests require only one command, but the `tenon` test requires two commands:
|
|
270
278
|
- A command of type `tenonRequest`.
|
|
271
279
|
- A command of type `test` with `tenon` as the value of `which`.
|
|
272
280
|
|
|
@@ -342,7 +350,7 @@ The changes in `htmlcs/HTMLCS.js` are:
|
|
|
342
350
|
|
|
343
351
|
###### BBC Accessibility Standards Checker
|
|
344
352
|
|
|
345
|
-
The BBC Accessibility Standards Checker has obsolete dependencies with security vulnerabilities. Therefore, it is not used as a dependency of Testaro. Instead, 6 of its tests are reimplemented, in some
|
|
353
|
+
The BBC Accessibility Standards Checker has obsolete dependencies with security vulnerabilities. Therefore, it is not used as a dependency of Testaro. Instead, 6 of its tests are reimplemented, in some cases with revisions, as Testaro tests. They are drawn from the 18 automated tests of the Checker. The other 12 tests were found too duplicative of other tests to justify reimplementation.
|
|
346
354
|
|
|
347
355
|
##### Branching
|
|
348
356
|
|