testilo 31.1.0 → 31.2.0
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 +1 -1
- package/procs/score/tic40.js +52 -66
package/package.json
CHANGED
package/procs/score/tic40.js
CHANGED
|
@@ -28,6 +28,18 @@ exports.issues = {
|
|
|
28
28
|
wcag: '',
|
|
29
29
|
weight: 0,
|
|
30
30
|
tools: {
|
|
31
|
+
alfa: {
|
|
32
|
+
r66: {
|
|
33
|
+
variable: false,
|
|
34
|
+
quality: 1,
|
|
35
|
+
what: 'Text contrast less than AAA requires [invalid]'
|
|
36
|
+
},
|
|
37
|
+
r69: {
|
|
38
|
+
variable: false,
|
|
39
|
+
quality: 1,
|
|
40
|
+
what: 'Text outside widget has subminimum contrast [invalid, reported as issue 1582]'
|
|
41
|
+
}
|
|
42
|
+
},
|
|
31
43
|
aslint: {
|
|
32
44
|
color_contrast_aa: {
|
|
33
45
|
variable: false,
|
|
@@ -135,6 +147,11 @@ exports.issues = {
|
|
|
135
147
|
}
|
|
136
148
|
},
|
|
137
149
|
nuVal: {
|
|
150
|
+
'Element head is missing a required instance of child element title.': {
|
|
151
|
+
variable: false,
|
|
152
|
+
quality: 1,
|
|
153
|
+
what: 'head element has no child title element [invalid]'
|
|
154
|
+
},
|
|
138
155
|
'Element mediaelementwrapper not allowed as child of element div in this context. (Suppressing further errors from this subtree.)': {
|
|
139
156
|
variable: false,
|
|
140
157
|
quality: 0,
|
|
@@ -145,12 +162,12 @@ exports.issues = {
|
|
|
145
162
|
'QW-ACT-R52': {
|
|
146
163
|
variable: false,
|
|
147
164
|
quality: 0,
|
|
148
|
-
what: 'video element visual-only content has no description track
|
|
165
|
+
what: 'video element visual-only content has no description track [description tracks and this ACT rule have been deprecated]'
|
|
149
166
|
},
|
|
150
167
|
'QW-ACT-R57': {
|
|
151
168
|
variable: false,
|
|
152
169
|
quality: 0,
|
|
153
|
-
what: 'video element visual content has no description track
|
|
170
|
+
what: 'video element visual content has no description track [description tracks and this ACT rule have been deprecated]'
|
|
154
171
|
},
|
|
155
172
|
'QW-ACT-R62': {
|
|
156
173
|
variable: false,
|
|
@@ -165,7 +182,7 @@ exports.issues = {
|
|
|
165
182
|
'QW-ACT-R64': {
|
|
166
183
|
variable: false,
|
|
167
184
|
quality: 0,
|
|
168
|
-
what: 'Document has no heading for non-repeated content'
|
|
185
|
+
what: 'Document has no heading for non-repeated content [invalid]'
|
|
169
186
|
},
|
|
170
187
|
'QW-ACT-R73': {
|
|
171
188
|
variable: false,
|
|
@@ -187,6 +204,36 @@ exports.issues = {
|
|
|
187
204
|
quality: 0,
|
|
188
205
|
what: 'h1-h6 not used to identify headings [invalid]'
|
|
189
206
|
},
|
|
207
|
+
'QW-BP17': {
|
|
208
|
+
variable: false,
|
|
209
|
+
quality: 1,
|
|
210
|
+
what: 'No link at the beginning of a block of repeated content goes to the end of the block [invalid]'
|
|
211
|
+
},
|
|
212
|
+
'QW-BP20': {
|
|
213
|
+
variable: false,
|
|
214
|
+
quality: 1,
|
|
215
|
+
what: 'Document has more than 1 banner landmark [invalid; counts hidden elements]'
|
|
216
|
+
},
|
|
217
|
+
'QW-BP22': {
|
|
218
|
+
variable: false,
|
|
219
|
+
quality: 1,
|
|
220
|
+
what: 'Document has more than 1 element with a main role [invalid]'
|
|
221
|
+
},
|
|
222
|
+
'QW-BP23': {
|
|
223
|
+
variable: false,
|
|
224
|
+
quality: 0.1,
|
|
225
|
+
what: 'Element is not in a true list [invalid]'
|
|
226
|
+
},
|
|
227
|
+
'QW-BP24': {
|
|
228
|
+
variable: false,
|
|
229
|
+
quality: 1,
|
|
230
|
+
what: 'ul or ol element has a child other than li, script, or template [invalid]'
|
|
231
|
+
},
|
|
232
|
+
'QW-BP28': {
|
|
233
|
+
variable: false,
|
|
234
|
+
quality: 1,
|
|
235
|
+
what: 'h1 element missing or used more than once [invalid]'
|
|
236
|
+
},
|
|
190
237
|
'QW-BP29': {
|
|
191
238
|
variable: false,
|
|
192
239
|
quality: 0,
|
|
@@ -3747,13 +3794,6 @@ exports.issues = {
|
|
|
3747
3794
|
wcag: '1.4.3',
|
|
3748
3795
|
weight: 4,
|
|
3749
3796
|
tools: {
|
|
3750
|
-
alfa: {
|
|
3751
|
-
r69: {
|
|
3752
|
-
variable: false,
|
|
3753
|
-
quality: 1,
|
|
3754
|
-
what: 'Text outside widget has subminimum contrast'
|
|
3755
|
-
}
|
|
3756
|
-
},
|
|
3757
3797
|
aslint: {
|
|
3758
3798
|
'color_contrast_state_pseudo_classes_abstract3': {
|
|
3759
3799
|
variable: false,
|
|
@@ -3849,13 +3889,6 @@ exports.issues = {
|
|
|
3849
3889
|
wcag: '1.4.6',
|
|
3850
3890
|
weight: 1,
|
|
3851
3891
|
tools: {
|
|
3852
|
-
alfa: {
|
|
3853
|
-
r66: {
|
|
3854
|
-
variable: false,
|
|
3855
|
-
quality: 1,
|
|
3856
|
-
what: 'Text contrast less than AAA requires'
|
|
3857
|
-
}
|
|
3858
|
-
},
|
|
3859
3892
|
aslint: {
|
|
3860
3893
|
'color_contrast_aaa': {
|
|
3861
3894
|
variable: false,
|
|
@@ -4388,13 +4421,6 @@ exports.issues = {
|
|
|
4388
4421
|
what: 'Page has no title'
|
|
4389
4422
|
}
|
|
4390
4423
|
},
|
|
4391
|
-
nuVal: {
|
|
4392
|
-
'Element head is missing a required instance of child element title.': {
|
|
4393
|
-
variable: false,
|
|
4394
|
-
quality: 1,
|
|
4395
|
-
what: 'head element has no child title element'
|
|
4396
|
-
}
|
|
4397
|
-
},
|
|
4398
4424
|
qualWeb: {
|
|
4399
4425
|
'QW-ACT-R1': {
|
|
4400
4426
|
variable: false,
|
|
@@ -4564,13 +4590,6 @@ exports.issues = {
|
|
|
4564
4590
|
what: 'Page contains more than 1 h1 element'
|
|
4565
4591
|
}
|
|
4566
4592
|
},
|
|
4567
|
-
qualWeb: {
|
|
4568
|
-
'QW-BP28': {
|
|
4569
|
-
variable: false,
|
|
4570
|
-
quality: 1,
|
|
4571
|
-
what: 'h1 element missing or used more than once'
|
|
4572
|
-
}
|
|
4573
|
-
},
|
|
4574
4593
|
wave: {
|
|
4575
4594
|
'h1_missing': {
|
|
4576
4595
|
variable: false,
|
|
@@ -4853,12 +4872,12 @@ exports.issues = {
|
|
|
4853
4872
|
list: {
|
|
4854
4873
|
variable: false,
|
|
4855
4874
|
quality: 1,
|
|
4856
|
-
what: 'List element ul or ol has a child element other than li, script,
|
|
4875
|
+
what: 'List element ul or ol has a child element other than li, script, or template'
|
|
4857
4876
|
},
|
|
4858
4877
|
'definition-list': {
|
|
4859
4878
|
variable: false,
|
|
4860
4879
|
quality: 1,
|
|
4861
|
-
what: 'List element dl has a child element other than properly ordered dt
|
|
4880
|
+
what: 'List element dl has a child element other than properly ordered dt or dt group, script, template, or div'
|
|
4862
4881
|
}
|
|
4863
4882
|
},
|
|
4864
4883
|
nuVal: {
|
|
@@ -4867,13 +4886,6 @@ exports.issues = {
|
|
|
4867
4886
|
quality: 1,
|
|
4868
4887
|
what: 'dl element has no child element'
|
|
4869
4888
|
}
|
|
4870
|
-
},
|
|
4871
|
-
qualWeb: {
|
|
4872
|
-
'QW-BP24': {
|
|
4873
|
-
variable: false,
|
|
4874
|
-
quality: 1,
|
|
4875
|
-
what: 'ul or ol element has a child other than li, script, or template'
|
|
4876
|
-
}
|
|
4877
4889
|
}
|
|
4878
4890
|
}
|
|
4879
4891
|
},
|
|
@@ -4889,13 +4901,6 @@ exports.issues = {
|
|
|
4889
4901
|
quality: 1,
|
|
4890
4902
|
what: 'Element is not contained by a ul or ol element'
|
|
4891
4903
|
}
|
|
4892
|
-
},
|
|
4893
|
-
qualWeb: {
|
|
4894
|
-
'QW-BP23': {
|
|
4895
|
-
variable: false,
|
|
4896
|
-
quality: 0.1,
|
|
4897
|
-
what: 'Element is not in a true list'
|
|
4898
|
-
}
|
|
4899
4904
|
}
|
|
4900
4905
|
}
|
|
4901
4906
|
},
|
|
@@ -6287,13 +6292,6 @@ exports.issues = {
|
|
|
6287
6292
|
quality: 1,
|
|
6288
6293
|
what: 'Page includes more than 1 visible main element'
|
|
6289
6294
|
}
|
|
6290
|
-
},
|
|
6291
|
-
qualWeb: {
|
|
6292
|
-
'QW-BP22': {
|
|
6293
|
-
variable: false,
|
|
6294
|
-
quality: 1,
|
|
6295
|
-
what: 'Document has more than 1 element with a main role'
|
|
6296
|
-
}
|
|
6297
6295
|
}
|
|
6298
6296
|
}
|
|
6299
6297
|
},
|
|
@@ -6317,13 +6315,6 @@ exports.issues = {
|
|
|
6317
6315
|
quality: 1,
|
|
6318
6316
|
what: 'More than one element with a banner role is on the page'
|
|
6319
6317
|
}
|
|
6320
|
-
},
|
|
6321
|
-
qualWeb: {
|
|
6322
|
-
'QW-BP20': {
|
|
6323
|
-
variable: false,
|
|
6324
|
-
quality: 1,
|
|
6325
|
-
what: 'Document has more than 1 banner landmark'
|
|
6326
|
-
}
|
|
6327
6318
|
}
|
|
6328
6319
|
}
|
|
6329
6320
|
},
|
|
@@ -7800,11 +7791,6 @@ exports.issues = {
|
|
|
7800
7791
|
variable: false,
|
|
7801
7792
|
quality: 1,
|
|
7802
7793
|
what: 'First focusable element is not a link to the non-repeated content'
|
|
7803
|
-
},
|
|
7804
|
-
'QW-BP17': {
|
|
7805
|
-
variable: false,
|
|
7806
|
-
quality: 1,
|
|
7807
|
-
what: 'No link at the beginning of a block of repeated content goes to the end of the block'
|
|
7808
7794
|
}
|
|
7809
7795
|
}
|
|
7810
7796
|
}
|