testilo 51.0.2 → 51.1.1
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/tic.js +112 -6
package/package.json
CHANGED
package/procs/score/tic.js
CHANGED
|
@@ -1952,14 +1952,14 @@ exports.issues = {
|
|
|
1952
1952
|
weight: 1,
|
|
1953
1953
|
tools: {
|
|
1954
1954
|
nuVal: {
|
|
1955
|
-
'^The aria-label attribute must not be specified on any .* element unless the element has a role value other than caption, code, deletion, emphasis, generic, insertion, paragraph, presentation, strong, subscript, or superscript.*$': {
|
|
1955
|
+
'^The aria-label.* attribute must not be specified on any .* element unless the element has a role value other than caption, code, deletion, emphasis, generic, insertion, paragraph, presentation, strong, subscript, or superscript.*$': {
|
|
1956
1956
|
variable: true,
|
|
1957
1957
|
quality: 1,
|
|
1958
1958
|
what: 'Element with a non-labelable role has an aria-label attribute'
|
|
1959
1959
|
}
|
|
1960
1960
|
},
|
|
1961
1961
|
nuVnu: {
|
|
1962
|
-
'^The aria-label attribute must not be specified on any .* element unless the element has a role value other than caption, code, deletion, emphasis, generic, insertion, paragraph, presentation, strong, subscript, or superscript.*$': {
|
|
1962
|
+
'^The aria-label.* attribute must not be specified on any .* element unless the element has a role value other than caption, code, deletion, emphasis, generic, insertion, paragraph, presentation, strong, subscript, or superscript.*$': {
|
|
1963
1963
|
variable: true,
|
|
1964
1964
|
quality: 1,
|
|
1965
1965
|
what: 'Element with a non-labelable role has an aria-label attribute'
|
|
@@ -2075,6 +2075,11 @@ exports.issues = {
|
|
|
2075
2075
|
variable: false,
|
|
2076
2076
|
quality: 1,
|
|
2077
2077
|
what: 'aria-describedby attribute references an element not in the document'
|
|
2078
|
+
},
|
|
2079
|
+
'^The aria-describedby attribute references .+, which is not the ID of any element in this document.+$': {
|
|
2080
|
+
variable: true,
|
|
2081
|
+
quality: 1,
|
|
2082
|
+
what: 'aria-describedby attribute references an element not in the document'
|
|
2078
2083
|
}
|
|
2079
2084
|
},
|
|
2080
2085
|
nuVnu: {
|
|
@@ -2082,6 +2087,11 @@ exports.issues = {
|
|
|
2082
2087
|
variable: false,
|
|
2083
2088
|
quality: 1,
|
|
2084
2089
|
what: 'aria-describedby attribute references an element not in the document'
|
|
2090
|
+
},
|
|
2091
|
+
'^The aria-describedby attribute references .+, which is not the ID of any element in this document.+$': {
|
|
2092
|
+
variable: true,
|
|
2093
|
+
quality: 1,
|
|
2094
|
+
what: 'aria-describedby attribute references an element not in the document'
|
|
2085
2095
|
}
|
|
2086
2096
|
},
|
|
2087
2097
|
testaro: {
|
|
@@ -2187,6 +2197,11 @@ exports.issues = {
|
|
|
2187
2197
|
variable: false,
|
|
2188
2198
|
quality: 1,
|
|
2189
2199
|
what: 'aria-labelledby attribute references an element not in the document'
|
|
2200
|
+
},
|
|
2201
|
+
'^The aria-labelledby attribute references .+, which is not the ID of any element in this document.+$': {
|
|
2202
|
+
variable: true,
|
|
2203
|
+
quality: 1,
|
|
2204
|
+
what: 'aria-labelledby attribute references an element not in the document'
|
|
2190
2205
|
}
|
|
2191
2206
|
},
|
|
2192
2207
|
nuVnu: {
|
|
@@ -2199,6 +2214,11 @@ exports.issues = {
|
|
|
2199
2214
|
variable: false,
|
|
2200
2215
|
quality: 1,
|
|
2201
2216
|
what: 'aria-labelledby attribute references an element not in the document'
|
|
2217
|
+
},
|
|
2218
|
+
'^The aria-labelledby attribute references .+, which is not the ID of any element in this document.+$': {
|
|
2219
|
+
variable: true,
|
|
2220
|
+
quality: 1,
|
|
2221
|
+
what: 'aria-labelledby attribute references an element not in the document'
|
|
2202
2222
|
}
|
|
2203
2223
|
},
|
|
2204
2224
|
wave: {
|
|
@@ -3851,6 +3871,11 @@ exports.issues = {
|
|
|
3851
3871
|
variable: false,
|
|
3852
3872
|
quality: 1,
|
|
3853
3873
|
what: 'Element is not eligible for an async attribute but has one'
|
|
3874
|
+
},
|
|
3875
|
+
'A script element with a type attribute whose value is neither a JavaScript MIME type, module, importmap, nor speculationrules (i.e., a data block) must not have a src attribute.': {
|
|
3876
|
+
variable: false,
|
|
3877
|
+
quality: 1,
|
|
3878
|
+
what: 'Element is not eligible for a src attribute but has one'
|
|
3854
3879
|
}
|
|
3855
3880
|
},
|
|
3856
3881
|
nuVnu: {
|
|
@@ -3878,6 +3903,11 @@ exports.issues = {
|
|
|
3878
3903
|
variable: false,
|
|
3879
3904
|
quality: 1,
|
|
3880
3905
|
what: 'Element is not eligible for an async attribute but has one'
|
|
3906
|
+
},
|
|
3907
|
+
'A script element with a type attribute whose value is neither a JavaScript MIME type, module, importmap, nor speculationrules (i.e., a data block) must not have a src attribute.': {
|
|
3908
|
+
variable: false,
|
|
3909
|
+
quality: 1,
|
|
3910
|
+
what: 'Element is not eligible for a src attribute but has one'
|
|
3881
3911
|
}
|
|
3882
3912
|
}
|
|
3883
3913
|
}
|
|
@@ -3893,6 +3923,16 @@ exports.issues = {
|
|
|
3893
3923
|
variable: false,
|
|
3894
3924
|
quality: 1,
|
|
3895
3925
|
what: 'Element is script with type=speculationrules but its href_matches value is not a string'
|
|
3926
|
+
},
|
|
3927
|
+
'Each rule in the prefetch array must only contain the properties source, urls, where, and eagerness.': {
|
|
3928
|
+
variable: false,
|
|
3929
|
+
quality: 1,
|
|
3930
|
+
what: 'Element is script with type=speculationrules but its prefetch array has invalid property names'
|
|
3931
|
+
},
|
|
3932
|
+
'A script element with a type attribute whose value is speculationrules must contain a JSON object with at least one of the properties prefetch or prerender.': {
|
|
3933
|
+
variable: false,
|
|
3934
|
+
quality: 1,
|
|
3935
|
+
what: 'Element is script with type=speculationrules but has no JSON object with a prefetch or prerender property'
|
|
3896
3936
|
}
|
|
3897
3937
|
},
|
|
3898
3938
|
nuVnu: {
|
|
@@ -3900,6 +3940,16 @@ exports.issues = {
|
|
|
3900
3940
|
variable: false,
|
|
3901
3941
|
quality: 1,
|
|
3902
3942
|
what: 'Element is script with type=speculationrules but its href_matches value is not a string'
|
|
3943
|
+
},
|
|
3944
|
+
'Each rule in the prefetch array must only contain the properties source, urls, where, and eagerness.': {
|
|
3945
|
+
variable: false,
|
|
3946
|
+
quality: 1,
|
|
3947
|
+
what: 'Element is script with type=speculationrules but its prefetch array has invalid property names'
|
|
3948
|
+
},
|
|
3949
|
+
'A script element with a type attribute whose value is speculationrules must contain a JSON object with at least one of the properties prefetch or prerender.': {
|
|
3950
|
+
variable: false,
|
|
3951
|
+
quality: 1,
|
|
3952
|
+
what: 'Element is script with type=speculationrules but has no JSON object with a prefetch or prerender property'
|
|
3903
3953
|
}
|
|
3904
3954
|
}
|
|
3905
3955
|
}
|
|
@@ -4178,6 +4228,11 @@ exports.issues = {
|
|
|
4178
4228
|
variable: true,
|
|
4179
4229
|
quality: 1,
|
|
4180
4230
|
what: 'Table cell has a role attribute'
|
|
4231
|
+
},
|
|
4232
|
+
'An li element that is a descendant of a ul, ol, or menu element with no explicit role value, or a descendant of a role=list element, must not have any role value other than listitem.': {
|
|
4233
|
+
variable: false,
|
|
4234
|
+
quality: 1,
|
|
4235
|
+
what: 'element is li in a list but has no listitem role'
|
|
4181
4236
|
}
|
|
4182
4237
|
},
|
|
4183
4238
|
nuVnu: {
|
|
@@ -4190,6 +4245,11 @@ exports.issues = {
|
|
|
4190
4245
|
variable: true,
|
|
4191
4246
|
quality: 1,
|
|
4192
4247
|
what: 'Table cell has a role attribute'
|
|
4248
|
+
},
|
|
4249
|
+
'An li element that is a descendant of a ul, ol, or menu element with no explicit role value, or a descendant of a role=list element, must not have any role value other than listitem.': {
|
|
4250
|
+
variable: false,
|
|
4251
|
+
quality: 1,
|
|
4252
|
+
what: 'element is li in a list but has no listitem role'
|
|
4193
4253
|
}
|
|
4194
4254
|
}
|
|
4195
4255
|
}
|
|
@@ -4938,6 +4998,11 @@ exports.issues = {
|
|
|
4938
4998
|
variable: false,
|
|
4939
4999
|
quality: 1,
|
|
4940
5000
|
what: 'Element has the max attribute but also the aria-valuemax attribute'
|
|
5001
|
+
},
|
|
5002
|
+
'The aria-valuemin attribute must not be used on an element which has a min attribute.': {
|
|
5003
|
+
variable: false,
|
|
5004
|
+
quality: 1,
|
|
5005
|
+
what: 'Element has the min attribute but also the aria-valuemin attribute'
|
|
4941
5006
|
}
|
|
4942
5007
|
},
|
|
4943
5008
|
nuVnu: {
|
|
@@ -4950,6 +5015,11 @@ exports.issues = {
|
|
|
4950
5015
|
variable: false,
|
|
4951
5016
|
quality: 1,
|
|
4952
5017
|
what: 'Element has the max attribute but also the aria-valuemax attribute'
|
|
5018
|
+
},
|
|
5019
|
+
'The aria-valuemin attribute must not be used on an element which has a min attribute.': {
|
|
5020
|
+
variable: false,
|
|
5021
|
+
quality: 1,
|
|
5022
|
+
what: 'Element has the min attribute but also the aria-valuemin attribute'
|
|
4953
5023
|
}
|
|
4954
5024
|
}
|
|
4955
5025
|
}
|
|
@@ -9383,6 +9453,20 @@ exports.issues = {
|
|
|
9383
9453
|
what: 'Element, blink, is deprecated'
|
|
9384
9454
|
}
|
|
9385
9455
|
},
|
|
9456
|
+
nuVal: {
|
|
9457
|
+
'The blink element is obsolete. Use CSS instead.': {
|
|
9458
|
+
variable: false,
|
|
9459
|
+
quality: 1,
|
|
9460
|
+
what: 'Element, blink, is obsolete'
|
|
9461
|
+
}
|
|
9462
|
+
},
|
|
9463
|
+
nuVnu: {
|
|
9464
|
+
'The blink element is obsolete. Use CSS instead.': {
|
|
9465
|
+
variable: false,
|
|
9466
|
+
quality: 1,
|
|
9467
|
+
what: 'Element, blink, is obsolete'
|
|
9468
|
+
}
|
|
9469
|
+
},
|
|
9386
9470
|
qualWeb: {
|
|
9387
9471
|
'QW-WCAG-T13': {
|
|
9388
9472
|
variable: false,
|
|
@@ -10271,6 +10355,28 @@ exports.issues = {
|
|
|
10271
10355
|
}
|
|
10272
10356
|
}
|
|
10273
10357
|
},
|
|
10358
|
+
nonElement: {
|
|
10359
|
+
summary: 'element unknown',
|
|
10360
|
+
why: 'Document includes an unknown element that the browser cannot process',
|
|
10361
|
+
wcag: '4.1',
|
|
10362
|
+
weight: 4,
|
|
10363
|
+
tools: {
|
|
10364
|
+
nuVal: {
|
|
10365
|
+
'^The .+ element is a completely-unknown element that is not allowed anywhere in any HTML content.+$': {
|
|
10366
|
+
variable: true,
|
|
10367
|
+
quality: 1,
|
|
10368
|
+
what: 'Element is unknown'
|
|
10369
|
+
}
|
|
10370
|
+
},
|
|
10371
|
+
nuVnu: {
|
|
10372
|
+
'^The .+ element is a completely-unknown element that is not allowed anywhere in any HTML content.+$': {
|
|
10373
|
+
variable: true,
|
|
10374
|
+
quality: 1,
|
|
10375
|
+
what: 'Element is unknown'
|
|
10376
|
+
}
|
|
10377
|
+
}
|
|
10378
|
+
}
|
|
10379
|
+
},
|
|
10274
10380
|
elementObsolete: {
|
|
10275
10381
|
summary: 'element obsolete',
|
|
10276
10382
|
why: 'Document includes obsolete code that the browser may fail to process',
|
|
@@ -11407,8 +11513,8 @@ exports.issues = {
|
|
|
11407
11513
|
quality: 1,
|
|
11408
11514
|
what: 'Encoding declaration names an unsupported character encoding'
|
|
11409
11515
|
},
|
|
11410
|
-
'Text run is not in Unicode Normalization Form C
|
|
11411
|
-
variable:
|
|
11516
|
+
'^Text run is not in Unicode Normalization Form C.+$': {
|
|
11517
|
+
variable: true,
|
|
11412
11518
|
quality: 1,
|
|
11413
11519
|
what: 'Text run is not in Unicode Normalization Form C'
|
|
11414
11520
|
},
|
|
@@ -11429,8 +11535,8 @@ exports.issues = {
|
|
|
11429
11535
|
quality: 1,
|
|
11430
11536
|
what: 'Encoding declaration names an unsupported character encoding'
|
|
11431
11537
|
},
|
|
11432
|
-
'Text run is not in Unicode Normalization Form C
|
|
11433
|
-
variable:
|
|
11538
|
+
'^Text run is not in Unicode Normalization Form C.+$': {
|
|
11539
|
+
variable: true,
|
|
11434
11540
|
quality: 1,
|
|
11435
11541
|
what: 'Text run is not in Unicode Normalization Form C'
|
|
11436
11542
|
},
|