testaro 4.2.2 → 4.2.3

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 CHANGED
@@ -258,6 +258,28 @@ The `tenon` test requires two commands:
258
258
  - A command of type `tenonRequest`.
259
259
  - A command of type `test` with `tenon` as the value of `which`.
260
260
 
261
+ Example:
262
+
263
+ ```json
264
+ {
265
+ "type": "tenonRequest",
266
+ "id": "a",
267
+ "withNewContent": true,
268
+ "what": "Tenon API version 2 test request"
269
+ }
270
+ ```
271
+
272
+ followed by
273
+
274
+ ```json
275
+ {
276
+ "type": "test",
277
+ "which": "tenon",
278
+ "id": "a",
279
+ "what": "Tenon API version 2 result retrieval"
280
+ }
281
+ ```
282
+
261
283
  The reason for this is that the Tenon API operates asynchronously. You ask it to perform a test, and it puts your request into a queue. To learn whether Tenon has completed your test, you make a status request. You can continue making status requests until Tenon replies that your test has been completed. Then you submit a request for the test result, and Tenon replies with the result. (As of May 2022, status requests were observed to misreport still-running tests as completed. The `tenon` test works around that.)
262
284
 
263
285
  Tenon says that tests are typically completed in 3 to 6 seconds but that the latency can be longer, depending on demand.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testaro",
3
- "version": "4.2.2",
3
+ "version": "4.2.3",
4
4
  "description": "Automation of accessibility testing",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -141,11 +141,6 @@
141
141
  "which": "wave",
142
142
  "reportType": 4,
143
143
  "what": "WAVE, report-type 4"
144
- },
145
- {
146
- "type": "score",
147
- "which": "asp09",
148
- "what": "5 packages and 16 custom tests, with empirical duplication discounts"
149
144
  }
150
145
  ]
151
146
  }
@@ -0,0 +1,158 @@
1
+ {
2
+ "id": "asp10",
3
+ "what": "AATT, Alfa, Axe, IBM, Tenon, WAVE, and 16 custom tests",
4
+ "strict": true,
5
+ "commands": [
6
+ {
7
+ "type": "launch",
8
+ "which": "webkit",
9
+ "what": "used for tests on which chromium fails on some URLs"
10
+ },
11
+ {
12
+ "type": "url",
13
+ "which": "https://*",
14
+ "what": "any page"
15
+ },
16
+ {
17
+ "type": "tenonRequest",
18
+ "id": "a",
19
+ "withNewContent": true,
20
+ "what": "Tenon API version 2 test request"
21
+ },
22
+ {
23
+ "type": "test",
24
+ "which": "motion",
25
+ "what": "spontaneous change of content",
26
+ "delay": 2400,
27
+ "interval": 2600,
28
+ "count": 5
29
+ },
30
+ {
31
+ "type": "test",
32
+ "which": "axe",
33
+ "withItems": true,
34
+ "rules": [],
35
+ "what": "Axe core, all rules"
36
+ },
37
+ {
38
+ "type": "launch",
39
+ "which": "chromium",
40
+ "what": "used for most tests"
41
+ },
42
+ {
43
+ "type": "url",
44
+ "which": "https://*",
45
+ "what": "any page"
46
+ },
47
+ {
48
+ "type": "test",
49
+ "which": "bulk",
50
+ "what": "count of visible elements"
51
+ },
52
+ {
53
+ "type": "test",
54
+ "which": "embAc",
55
+ "what": "active elements incorrectly embedded in each other",
56
+ "withItems": true
57
+ },
58
+ {
59
+ "type": "test",
60
+ "which": "focAll",
61
+ "what": "Tab-focusability"
62
+ },
63
+ {
64
+ "type": "test",
65
+ "which": "focInd",
66
+ "what": "focus indicators",
67
+ "withItems": true,
68
+ "revealAll": true
69
+ },
70
+ {
71
+ "type": "test",
72
+ "which": "focOp",
73
+ "what": "focusability and operability of elements",
74
+ "withItems": true
75
+ },
76
+ {
77
+ "type": "test",
78
+ "which": "hover",
79
+ "what": "hover-triggered content changes",
80
+ "withItems": true
81
+ },
82
+ {
83
+ "type": "test",
84
+ "which": "labClash",
85
+ "what": "unlabeled and mislabeled form controls",
86
+ "withItems": true
87
+ },
88
+ {
89
+ "type": "test",
90
+ "which": "linkUl",
91
+ "what": "underlining of inline links",
92
+ "withItems": true
93
+ },
94
+ {
95
+ "type": "test",
96
+ "which": "menuNav",
97
+ "what": "keyboard navigation within true-focus menus",
98
+ "withItems": true
99
+ },
100
+ {
101
+ "type": "test",
102
+ "which": "radioSet",
103
+ "what": "grouping of radio buttons in fieldsets",
104
+ "withItems": true
105
+ },
106
+ {
107
+ "type": "test",
108
+ "which": "role",
109
+ "what": "validity and necessity of role assignments"
110
+ },
111
+ {
112
+ "type": "test",
113
+ "which": "styleDiff",
114
+ "what": "style consistency of headings, buttons, and links",
115
+ "withItems": true
116
+ },
117
+ {
118
+ "type": "test",
119
+ "which": "tabNav",
120
+ "what": "keyboard navigation within tab lists",
121
+ "withItems": true
122
+ },
123
+ {
124
+ "type": "test",
125
+ "which": "zIndex",
126
+ "what": "elements with non-auto z indexes",
127
+ "withItems": true
128
+ },
129
+ {
130
+ "type": "test",
131
+ "which": "ibm",
132
+ "withItems": true,
133
+ "what": "IBM Accessibility Checker"
134
+ },
135
+ {
136
+ "type": "test",
137
+ "which": "aatt",
138
+ "what": "AATT with HTML CodeSniffer"
139
+ },
140
+ {
141
+ "type": "test",
142
+ "which": "alfa",
143
+ "what": "Siteimprove alfa"
144
+ },
145
+ {
146
+ "type": "test",
147
+ "which": "wave",
148
+ "reportType": 4,
149
+ "what": "WAVE, report-type 4"
150
+ },
151
+ {
152
+ "type": "test",
153
+ "which": "tenon",
154
+ "id": "a",
155
+ "what": "Tenon API version 2 result retrieval"
156
+ }
157
+ ]
158
+ }
@@ -17,13 +17,13 @@
17
17
  "type": "tenonRequest",
18
18
  "withNewContent": true,
19
19
  "id": "a",
20
- "what": "tenon request"
20
+ "what": "Tenon API version 2 test request"
21
21
  },
22
22
  {
23
23
  "type": "test",
24
24
  "which": "tenon",
25
25
  "id": "a",
26
- "what": "result of prior tenon request"
26
+ "what": "Tenon API version 2 result retrieval"
27
27
  }
28
28
  ]
29
29
  }