testilo 51.0.1 → 51.1.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/tic.js +170 -6
package/package.json
CHANGED
package/procs/score/tic.js
CHANGED
|
@@ -527,6 +527,11 @@ exports.issues = {
|
|
|
527
527
|
variable: false,
|
|
528
528
|
quality: 1,
|
|
529
529
|
what: 'id attribute value is not unique'
|
|
530
|
+
},
|
|
531
|
+
'QW-BP30': {
|
|
532
|
+
variable: false,
|
|
533
|
+
quality: 1,
|
|
534
|
+
what: 'id attribute value is shared with another element'
|
|
530
535
|
}
|
|
531
536
|
}
|
|
532
537
|
}
|
|
@@ -632,6 +637,11 @@ exports.issues = {
|
|
|
632
637
|
}
|
|
633
638
|
},
|
|
634
639
|
htmlcs: {
|
|
640
|
+
'E-WCAG2AAA.Principle4.Guideline4_1.4_1_2.H91.InputCheckbox.Name': {
|
|
641
|
+
variable: false,
|
|
642
|
+
quality: 1,
|
|
643
|
+
what: 'checkbox input has no label element or title, aria-label, or aria-labelledby attribute'
|
|
644
|
+
},
|
|
635
645
|
'E-WCAG2AAA.Principle4.Guideline4_1.4_1_2.H91.InputEmail.Name': {
|
|
636
646
|
variable: false,
|
|
637
647
|
quality: 1,
|
|
@@ -1942,14 +1952,14 @@ exports.issues = {
|
|
|
1942
1952
|
weight: 1,
|
|
1943
1953
|
tools: {
|
|
1944
1954
|
nuVal: {
|
|
1945
|
-
'^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.*$': {
|
|
1946
1956
|
variable: true,
|
|
1947
1957
|
quality: 1,
|
|
1948
1958
|
what: 'Element with a non-labelable role has an aria-label attribute'
|
|
1949
1959
|
}
|
|
1950
1960
|
},
|
|
1951
1961
|
nuVnu: {
|
|
1952
|
-
'^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.*$': {
|
|
1953
1963
|
variable: true,
|
|
1954
1964
|
quality: 1,
|
|
1955
1965
|
what: 'Element with a non-labelable role has an aria-label attribute'
|
|
@@ -2065,6 +2075,11 @@ exports.issues = {
|
|
|
2065
2075
|
variable: false,
|
|
2066
2076
|
quality: 1,
|
|
2067
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'
|
|
2068
2083
|
}
|
|
2069
2084
|
},
|
|
2070
2085
|
nuVnu: {
|
|
@@ -2072,6 +2087,11 @@ exports.issues = {
|
|
|
2072
2087
|
variable: false,
|
|
2073
2088
|
quality: 1,
|
|
2074
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'
|
|
2075
2095
|
}
|
|
2076
2096
|
},
|
|
2077
2097
|
testaro: {
|
|
@@ -2146,11 +2166,21 @@ exports.issues = {
|
|
|
2146
2166
|
quality: 1,
|
|
2147
2167
|
what: 'Label for attribute references a nonexistent element'
|
|
2148
2168
|
},
|
|
2169
|
+
'W-WCAG2AAA.Principle1.Guideline1_3.1_3_1.H44.NonExistentFragment': {
|
|
2170
|
+
variable: false,
|
|
2171
|
+
quality: 1,
|
|
2172
|
+
what: 'Label for attribute references an element missing from the document fragment'
|
|
2173
|
+
},
|
|
2149
2174
|
'E-AAA.1_3_1.ARIA16,ARIA9': {
|
|
2150
2175
|
variable: false,
|
|
2151
2176
|
quality: 1,
|
|
2152
2177
|
what: 'aria-labelledby attribute references a nonexistent element'
|
|
2153
2178
|
},
|
|
2179
|
+
'W-WCAG2AAA.Principle1.Guideline1_3.1_3_1.ARIA16,ARIA9': {
|
|
2180
|
+
variable: false,
|
|
2181
|
+
quality: 1,
|
|
2182
|
+
what: 'aria-labelledby attribute references a nonexistent element'
|
|
2183
|
+
},
|
|
2154
2184
|
'E-AAA.4_1_2.ARIA16,ARIA9': {
|
|
2155
2185
|
variable: false,
|
|
2156
2186
|
quality: 1,
|
|
@@ -2167,6 +2197,11 @@ exports.issues = {
|
|
|
2167
2197
|
variable: false,
|
|
2168
2198
|
quality: 1,
|
|
2169
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'
|
|
2170
2205
|
}
|
|
2171
2206
|
},
|
|
2172
2207
|
nuVnu: {
|
|
@@ -2179,6 +2214,11 @@ exports.issues = {
|
|
|
2179
2214
|
variable: false,
|
|
2180
2215
|
quality: 1,
|
|
2181
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'
|
|
2182
2222
|
}
|
|
2183
2223
|
},
|
|
2184
2224
|
wave: {
|
|
@@ -2283,6 +2323,11 @@ exports.issues = {
|
|
|
2283
2323
|
quality: 1,
|
|
2284
2324
|
what: 'a element has an id attribute but no href attribute or text'
|
|
2285
2325
|
},
|
|
2326
|
+
'W-WCAG2AAA.Principle4.Guideline4_1.4_1_2.H91.A.Empty': {
|
|
2327
|
+
variable: false,
|
|
2328
|
+
quality: 1,
|
|
2329
|
+
what: 'a element has an id attribute but no href attribute or text'
|
|
2330
|
+
},
|
|
2286
2331
|
'E-AAA.4_1_2.H91.A.EmptyNoId': {
|
|
2287
2332
|
variable: false,
|
|
2288
2333
|
quality: 1,
|
|
@@ -2406,6 +2451,11 @@ exports.issues = {
|
|
|
2406
2451
|
variable: false,
|
|
2407
2452
|
quality: 1,
|
|
2408
2453
|
what: 'Link has text but no href, id, or name attribute'
|
|
2454
|
+
},
|
|
2455
|
+
'W-WCAG2AAA.Principle4.Guideline4_1.4_1_2.H91.A.Placeholder': {
|
|
2456
|
+
variable: false,
|
|
2457
|
+
quality: 1,
|
|
2458
|
+
what: 'Link has text but no href, id, or name attribute'
|
|
2409
2459
|
}
|
|
2410
2460
|
}
|
|
2411
2461
|
}
|
|
@@ -2514,6 +2564,11 @@ exports.issues = {
|
|
|
2514
2564
|
variable: false,
|
|
2515
2565
|
quality: 1,
|
|
2516
2566
|
what: 'Link is misused as a link destination'
|
|
2567
|
+
},
|
|
2568
|
+
'W-WCAG2AAA.Principle4.Guideline4_1.4_1_2.H91.A.NoHref': {
|
|
2569
|
+
variable: false,
|
|
2570
|
+
quality: 1,
|
|
2571
|
+
what: 'Link is misused as an in-page link destination'
|
|
2517
2572
|
}
|
|
2518
2573
|
},
|
|
2519
2574
|
nuVal: {
|
|
@@ -3816,6 +3871,11 @@ exports.issues = {
|
|
|
3816
3871
|
variable: false,
|
|
3817
3872
|
quality: 1,
|
|
3818
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'
|
|
3819
3879
|
}
|
|
3820
3880
|
},
|
|
3821
3881
|
nuVnu: {
|
|
@@ -3843,6 +3903,11 @@ exports.issues = {
|
|
|
3843
3903
|
variable: false,
|
|
3844
3904
|
quality: 1,
|
|
3845
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'
|
|
3846
3911
|
}
|
|
3847
3912
|
}
|
|
3848
3913
|
}
|
|
@@ -3858,6 +3923,11 @@ exports.issues = {
|
|
|
3858
3923
|
variable: false,
|
|
3859
3924
|
quality: 1,
|
|
3860
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'
|
|
3861
3931
|
}
|
|
3862
3932
|
},
|
|
3863
3933
|
nuVnu: {
|
|
@@ -3865,6 +3935,11 @@ exports.issues = {
|
|
|
3865
3935
|
variable: false,
|
|
3866
3936
|
quality: 1,
|
|
3867
3937
|
what: 'Element is script with type=speculationrules but its href_matches value is not a string'
|
|
3938
|
+
},
|
|
3939
|
+
'Each rule in the prefetch array must only contain the properties source, urls, where, and eagerness.': {
|
|
3940
|
+
variable: false,
|
|
3941
|
+
quality: 1,
|
|
3942
|
+
what: 'Element is script with type=speculationrules but its prefetch array has invalid property names'
|
|
3868
3943
|
}
|
|
3869
3944
|
}
|
|
3870
3945
|
}
|
|
@@ -4143,6 +4218,11 @@ exports.issues = {
|
|
|
4143
4218
|
variable: true,
|
|
4144
4219
|
quality: 1,
|
|
4145
4220
|
what: 'Table cell has a role attribute'
|
|
4221
|
+
},
|
|
4222
|
+
'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.': {
|
|
4223
|
+
variable: false,
|
|
4224
|
+
quality: 1,
|
|
4225
|
+
what: 'element is li in a list but has no listitem role'
|
|
4146
4226
|
}
|
|
4147
4227
|
},
|
|
4148
4228
|
nuVnu: {
|
|
@@ -4155,6 +4235,11 @@ exports.issues = {
|
|
|
4155
4235
|
variable: true,
|
|
4156
4236
|
quality: 1,
|
|
4157
4237
|
what: 'Table cell has a role attribute'
|
|
4238
|
+
},
|
|
4239
|
+
'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.': {
|
|
4240
|
+
variable: false,
|
|
4241
|
+
quality: 1,
|
|
4242
|
+
what: 'element is li in a list but has no listitem role'
|
|
4158
4243
|
}
|
|
4159
4244
|
}
|
|
4160
4245
|
}
|
|
@@ -4903,6 +4988,11 @@ exports.issues = {
|
|
|
4903
4988
|
variable: false,
|
|
4904
4989
|
quality: 1,
|
|
4905
4990
|
what: 'Element has the max attribute but also the aria-valuemax attribute'
|
|
4991
|
+
},
|
|
4992
|
+
'The aria-valuemin attribute must not be used on an element which has a min attribute.': {
|
|
4993
|
+
variable: false,
|
|
4994
|
+
quality: 1,
|
|
4995
|
+
what: 'Element has the min attribute but also the aria-valuemin attribute'
|
|
4906
4996
|
}
|
|
4907
4997
|
},
|
|
4908
4998
|
nuVnu: {
|
|
@@ -4915,6 +5005,11 @@ exports.issues = {
|
|
|
4915
5005
|
variable: false,
|
|
4916
5006
|
quality: 1,
|
|
4917
5007
|
what: 'Element has the max attribute but also the aria-valuemax attribute'
|
|
5008
|
+
},
|
|
5009
|
+
'The aria-valuemin attribute must not be used on an element which has a min attribute.': {
|
|
5010
|
+
variable: false,
|
|
5011
|
+
quality: 1,
|
|
5012
|
+
what: 'Element has the min attribute but also the aria-valuemin attribute'
|
|
4918
5013
|
}
|
|
4919
5014
|
}
|
|
4920
5015
|
}
|
|
@@ -6729,6 +6824,11 @@ exports.issues = {
|
|
|
6729
6824
|
variable: false,
|
|
6730
6825
|
quality: 1,
|
|
6731
6826
|
what: 'Select element value has no accessible name'
|
|
6827
|
+
},
|
|
6828
|
+
'W-WCAG2AAA.Principle4.Guideline4_1.4_1_2.H91.Select.Value': {
|
|
6829
|
+
variable: false,
|
|
6830
|
+
quality: 1,
|
|
6831
|
+
what: 'Select element value has no accessible name'
|
|
6732
6832
|
}
|
|
6733
6833
|
},
|
|
6734
6834
|
wave: {
|
|
@@ -9322,6 +9422,41 @@ exports.issues = {
|
|
|
9322
9422
|
what: 'Element is blink'
|
|
9323
9423
|
}
|
|
9324
9424
|
},
|
|
9425
|
+
axe: {
|
|
9426
|
+
blink: {
|
|
9427
|
+
variable: false,
|
|
9428
|
+
quality: 1,
|
|
9429
|
+
what: 'Element, blink, is deprecated'
|
|
9430
|
+
}
|
|
9431
|
+
},
|
|
9432
|
+
htmlcs: {
|
|
9433
|
+
'E-WCAG2AAA.Principle2.Guideline2_2.2_2_2.F47': {
|
|
9434
|
+
variable: false,
|
|
9435
|
+
quality: 1,
|
|
9436
|
+
what: 'Element is blink, so cannot be stopped within five seconds'
|
|
9437
|
+
}
|
|
9438
|
+
},
|
|
9439
|
+
ibm: {
|
|
9440
|
+
blink_elem_deprecated: {
|
|
9441
|
+
variable: false,
|
|
9442
|
+
quality: 1,
|
|
9443
|
+
what: 'Element, blink, is deprecated'
|
|
9444
|
+
}
|
|
9445
|
+
},
|
|
9446
|
+
nuVal: {
|
|
9447
|
+
'The blink element is obsolete. Use CSS instead.': {
|
|
9448
|
+
variable: false,
|
|
9449
|
+
quality: 1,
|
|
9450
|
+
what: 'Element, blink, is obsolete'
|
|
9451
|
+
}
|
|
9452
|
+
},
|
|
9453
|
+
nuVnu: {
|
|
9454
|
+
'The blink element is obsolete. Use CSS instead.': {
|
|
9455
|
+
variable: false,
|
|
9456
|
+
quality: 1,
|
|
9457
|
+
what: 'Element, blink, is obsolete'
|
|
9458
|
+
}
|
|
9459
|
+
},
|
|
9325
9460
|
qualWeb: {
|
|
9326
9461
|
'QW-WCAG-T13': {
|
|
9327
9462
|
variable: false,
|
|
@@ -9333,6 +9468,13 @@ exports.issues = {
|
|
|
9333
9468
|
quality: 1,
|
|
9334
9469
|
what: 'text-decoration:blink is used without a mechanism to stop it in less than five seconds'
|
|
9335
9470
|
}
|
|
9471
|
+
},
|
|
9472
|
+
wave: {
|
|
9473
|
+
blink: {
|
|
9474
|
+
variable: false,
|
|
9475
|
+
quality: 1,
|
|
9476
|
+
what: 'Element, blink, is deprecated'
|
|
9477
|
+
}
|
|
9336
9478
|
}
|
|
9337
9479
|
}
|
|
9338
9480
|
},
|
|
@@ -10203,6 +10345,28 @@ exports.issues = {
|
|
|
10203
10345
|
}
|
|
10204
10346
|
}
|
|
10205
10347
|
},
|
|
10348
|
+
nonElement: {
|
|
10349
|
+
summary: 'element unknown',
|
|
10350
|
+
why: 'Document includes an unknown element that the browser cannot process',
|
|
10351
|
+
wcag: '4.1',
|
|
10352
|
+
weight: 4,
|
|
10353
|
+
tools: {
|
|
10354
|
+
nuVal: {
|
|
10355
|
+
'^The .+ element is a completely-unknown element that is not allowed anywhere in any HTML content.+$': {
|
|
10356
|
+
variable: true,
|
|
10357
|
+
quality: 1,
|
|
10358
|
+
what: 'Element is unknown'
|
|
10359
|
+
}
|
|
10360
|
+
},
|
|
10361
|
+
nuVnu: {
|
|
10362
|
+
'^The .+ element is a completely-unknown element that is not allowed anywhere in any HTML content.+$': {
|
|
10363
|
+
variable: true,
|
|
10364
|
+
quality: 1,
|
|
10365
|
+
what: 'Element is unknown'
|
|
10366
|
+
}
|
|
10367
|
+
}
|
|
10368
|
+
}
|
|
10369
|
+
},
|
|
10206
10370
|
elementObsolete: {
|
|
10207
10371
|
summary: 'element obsolete',
|
|
10208
10372
|
why: 'Document includes obsolete code that the browser may fail to process',
|
|
@@ -11339,8 +11503,8 @@ exports.issues = {
|
|
|
11339
11503
|
quality: 1,
|
|
11340
11504
|
what: 'Encoding declaration names an unsupported character encoding'
|
|
11341
11505
|
},
|
|
11342
|
-
'Text run is not in Unicode Normalization Form C
|
|
11343
|
-
variable:
|
|
11506
|
+
'^Text run is not in Unicode Normalization Form C.+$': {
|
|
11507
|
+
variable: true,
|
|
11344
11508
|
quality: 1,
|
|
11345
11509
|
what: 'Text run is not in Unicode Normalization Form C'
|
|
11346
11510
|
},
|
|
@@ -11361,8 +11525,8 @@ exports.issues = {
|
|
|
11361
11525
|
quality: 1,
|
|
11362
11526
|
what: 'Encoding declaration names an unsupported character encoding'
|
|
11363
11527
|
},
|
|
11364
|
-
'Text run is not in Unicode Normalization Form C
|
|
11365
|
-
variable:
|
|
11528
|
+
'^Text run is not in Unicode Normalization Form C.+$': {
|
|
11529
|
+
variable: true,
|
|
11366
11530
|
quality: 1,
|
|
11367
11531
|
what: 'Text run is not in Unicode Normalization Form C'
|
|
11368
11532
|
},
|