testaro 5.16.1 → 5.16.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testaro",
3
- "version": "5.16.1",
3
+ "version": "5.16.2",
4
4
  "description": "Automation of accessibility testing",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -23,6 +23,9 @@
23
23
  ["reallyHidden.document", "=", false],
24
24
  ["reallyHidden.body", "=", false],
25
25
  ["reallyHidden.main", "=", false],
26
+ ["display.document", "=", "block"],
27
+ ["display.body", "=", "block"],
28
+ ["display.main", "=", "block"],
26
29
  ["visHidden.document", "=", false],
27
30
  ["visHidden.body", "=", false],
28
31
  ["visHidden.main", "=", false],
@@ -47,6 +50,7 @@
47
50
  ["reallyHidden.document", "=", false],
48
51
  ["reallyHidden.body", "=", false],
49
52
  ["reallyHidden.main", "=", false],
53
+ ["display.document", "=", "block"],
50
54
  ["visHidden.document", "=", false],
51
55
  ["visHidden.body", "=", false],
52
56
  ["visHidden.main", "=", false],
@@ -71,6 +75,8 @@
71
75
  ["reallyHidden.document", "=", false],
72
76
  ["reallyHidden.body", "=", false],
73
77
  ["reallyHidden.main", "=", false],
78
+ ["display.document", "=", "block"],
79
+ ["display.body", "=", "block"],
74
80
  ["visHidden.document", "=", false],
75
81
  ["visHidden.body", "=", false],
76
82
  ["visHidden.main", "=", false],
@@ -95,6 +101,9 @@
95
101
  ["reallyHidden.document", "=", false],
96
102
  ["reallyHidden.body", "=", false],
97
103
  ["reallyHidden.main", "=", true],
104
+ ["display.document", "=", "block"],
105
+ ["display.body", "=", "block"],
106
+ ["display.main", "=", "none"],
98
107
  ["visHidden.document", "=", false],
99
108
  ["visHidden.body", "=", false],
100
109
  ["visHidden.main", "=", false],
@@ -119,6 +128,9 @@
119
128
  ["reallyHidden.document", "=", false],
120
129
  ["reallyHidden.body", "=", false],
121
130
  ["reallyHidden.main", "=", false],
131
+ ["display.document", "=", "block"],
132
+ ["display.body", "=", "block"],
133
+ ["display.main", "=", "block"],
122
134
  ["visHidden.document", "=", false],
123
135
  ["visHidden.body", "=", false],
124
136
  ["visHidden.main", "=", true],
@@ -143,6 +155,9 @@
143
155
  ["reallyHidden.document", "=", false],
144
156
  ["reallyHidden.body", "=", false],
145
157
  ["reallyHidden.main", "=", false],
158
+ ["display.document", "=", "block"],
159
+ ["display.body", "=", "block"],
160
+ ["display.main", "=", "block"],
146
161
  ["visHidden.document", "=", false],
147
162
  ["visHidden.body", "=", false],
148
163
  ["visHidden.main", "=", false],
@@ -167,6 +182,9 @@
167
182
  ["reallyHidden.document", "=", false],
168
183
  ["reallyHidden.body", "=", false],
169
184
  ["reallyHidden.main", "=", true],
185
+ ["display.document", "=", "block"],
186
+ ["display.body", "=", "block"],
187
+ ["display.main", "=", "none"],
170
188
  ["visHidden.document", "=", false],
171
189
  ["visHidden.body", "=", true],
172
190
  ["visHidden.main", "=", true],
@@ -191,6 +209,9 @@
191
209
  ["reallyHidden.document", "=", true],
192
210
  ["reallyHidden.body", "=", false],
193
211
  ["reallyHidden.main", "=", false],
212
+ ["display.document", "=", "none"],
213
+ ["display.body", "=", "block"],
214
+ ["display.main", "=", "block"],
194
215
  ["visHidden.document", "=", false],
195
216
  ["visHidden.body", "=", true],
196
217
  ["visHidden.main", "=", true],
@@ -215,6 +236,63 @@
215
236
  ["reallyHidden.document", "=", false],
216
237
  ["reallyHidden.body", "=", false],
217
238
  ["reallyHidden.main", "=", false],
239
+ ["display.document", "=", "block"],
240
+ ["display.body", "=", "block"],
241
+ ["display.main", "=", "block"],
242
+ ["visHidden.document", "=", false],
243
+ ["visHidden.body", "=", false],
244
+ ["visHidden.main", "=", false],
245
+ ["ariaHidden.document", "=", false],
246
+ ["ariaHidden.body", "=", false],
247
+ ["ariaHidden.main", "=", false]
248
+ ]
249
+ },
250
+ {
251
+ "type": "url",
252
+ "which": "__targets__/allHidden/noneDoc.html",
253
+ "what": "page with mixed hidden states"
254
+ },
255
+ {
256
+ "type": "test",
257
+ "which": "allHidden",
258
+ "what": "entirely or mainly hidden page",
259
+ "expect": [
260
+ ["hidden.document", "=", false],
261
+ ["hidden.body", "=", false],
262
+ ["hidden.main", "=", false],
263
+ ["reallyHidden.document", "=", false],
264
+ ["reallyHidden.body", "=", false],
265
+ ["reallyHidden.main", "=", false],
266
+ ["display.document", "=", "none"],
267
+ ["display.body", "=", "block"],
268
+ ["display.main", "=", "block"],
269
+ ["visHidden.document", "=", false],
270
+ ["visHidden.body", "=", false],
271
+ ["visHidden.main", "=", false],
272
+ ["ariaHidden.document", "=", false],
273
+ ["ariaHidden.body", "=", false],
274
+ ["ariaHidden.main", "=", false]
275
+ ]
276
+ },
277
+ {
278
+ "type": "url",
279
+ "which": "__targets__/allHidden/noneMain.html",
280
+ "what": "page with mixed hidden states"
281
+ },
282
+ {
283
+ "type": "test",
284
+ "which": "allHidden",
285
+ "what": "entirely or mainly hidden page",
286
+ "expect": [
287
+ ["hidden.document", "=", false],
288
+ ["hidden.body", "=", false],
289
+ ["hidden.main", "=", false],
290
+ ["reallyHidden.document", "=", false],
291
+ ["reallyHidden.body", "=", false],
292
+ ["reallyHidden.main", "=", false],
293
+ ["display.document", "=", "block"],
294
+ ["display.body", "=", "block"],
295
+ ["display.main", "=", "none"],
218
296
  ["visHidden.document", "=", false],
219
297
  ["visHidden.body", "=", false],
220
298
  ["visHidden.main", "=", false],
@@ -10,6 +10,7 @@
10
10
  <main hidden>
11
11
  <h1>Page with a hidden main landmark</h1>
12
12
  <p>This page has a hidden main landmark.</p>
13
+ <p>An element with a <code>hidden</code> attribute automatically acquires <code>none</code> as the value of its <code>display</code> style property.</p>
13
14
  </main>
14
15
  </body>
15
16
  </html>
@@ -10,6 +10,7 @@
10
10
  <main hidden>
11
11
  <h1>Page with mixture 0 of hiddenness</h1>
12
12
  <p>This page has an ARIA-hidden document, a visually hidden body, and a hidden main landmark.</p>
13
+ <p>An element with a <code>hidden</code> attribute automatically acquires <code>none</code> as the value of its <code>display</code> style property.</p>
13
14
  </main>
14
15
  </body>
15
16
  </html>
@@ -10,6 +10,7 @@
10
10
  <main aria-hidden="true">
11
11
  <h1>Page with mixture 1 of hiddenness</h1>
12
12
  <p>This page has a hidden document, a visually hidden body, and an ARIA-hidden main landmark.</p>
13
+ <p>An element with a <code>hidden</code> attribute automatically acquires <code>none</code> as the value of its <code>display</code> style property.</p>
13
14
  </main>
14
15
  </body>
15
16
  </html>
@@ -0,0 +1,15 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en-US" style="display: none">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title>Page with none as the display property of the html element</title>
6
+ <meta name="description" content="tester">
7
+ <meta name="viewport" content="width=device-width, initial-scale=1">
8
+ </head>
9
+ <body>
10
+ <main>
11
+ <h1>Page with none as the display property of the html element</h1>
12
+ <p>This page has a document with none as its display style property.</p>
13
+ </main>
14
+ </body>
15
+ </html>
@@ -0,0 +1,15 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en-US">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title>Page with none as the display style property of the main element</title>
6
+ <meta name="description" content="tester">
7
+ <meta name="viewport" content="width=device-width, initial-scale=1">
8
+ </head>
9
+ <body>
10
+ <main style="display: none">
11
+ <h1>Page with none as the display style property of the main element</h1>
12
+ <p>This page has a moin landmark with none as its display style property.</p>
13
+ </main>
14
+ </body>
15
+ </html>