testilo 52.1.4 → 52.1.5
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 +93 -2
package/package.json
CHANGED
package/procs/score/tic.js
CHANGED
|
@@ -669,6 +669,11 @@ exports.issues = {
|
|
|
669
669
|
quality: 1,
|
|
670
670
|
what: 'search input has no label element or title, aria-label, or aria-labelledby attribute'
|
|
671
671
|
},
|
|
672
|
+
'E-WCAG2AAA.Principle4.Guideline4_1.4_1_2.H91.InputFile.Name': {
|
|
673
|
+
variable: false,
|
|
674
|
+
quality: 1,
|
|
675
|
+
what: 'file input has no label element or title, aria-label, or aria-labelledby attribute'
|
|
676
|
+
},
|
|
672
677
|
'E-AAA.4_1_2.H91.Input.Name': {
|
|
673
678
|
variable: false,
|
|
674
679
|
quality: 1,
|
|
@@ -1276,6 +1281,28 @@ exports.issues = {
|
|
|
1276
1281
|
}
|
|
1277
1282
|
}
|
|
1278
1283
|
},
|
|
1284
|
+
imageBanned: {
|
|
1285
|
+
summary: 'image prohibited',
|
|
1286
|
+
why: 'Browser fails to display an image',
|
|
1287
|
+
wcag: '1.4',
|
|
1288
|
+
weight: 3,
|
|
1289
|
+
tools: {
|
|
1290
|
+
nuVal: {
|
|
1291
|
+
'^Resource violates Content Security Policy (meta tag): image .+ blocked by img-src directive.*$': {
|
|
1292
|
+
variable: true,
|
|
1293
|
+
quality: 1,
|
|
1294
|
+
what: 'img-src content attribute blocks an image'
|
|
1295
|
+
}
|
|
1296
|
+
},
|
|
1297
|
+
nuVnu: {
|
|
1298
|
+
'^Resource violates Content Security Policy (meta tag): image .+ blocked by img-src directive.*$': {
|
|
1299
|
+
variable: true,
|
|
1300
|
+
quality: 1,
|
|
1301
|
+
what: 'img-src content attribute blocks an image'
|
|
1302
|
+
}
|
|
1303
|
+
}
|
|
1304
|
+
}
|
|
1305
|
+
},
|
|
1279
1306
|
titleLong: {
|
|
1280
1307
|
summary: 'title long',
|
|
1281
1308
|
why: 'Hovering makes an overly verbose explanation pop up',
|
|
@@ -1834,11 +1861,21 @@ exports.issues = {
|
|
|
1834
1861
|
quality: 1,
|
|
1835
1862
|
what: 'Mousing-out functionality is not available by keyboard?'
|
|
1836
1863
|
},
|
|
1864
|
+
'W-WCAG2AAA.Principle2.Guideline2_1.2_1_1.SCR20.MouseOut': {
|
|
1865
|
+
variable: false,
|
|
1866
|
+
quality: 1,
|
|
1867
|
+
what: 'Mousing-out functionality is not available by keyboard?'
|
|
1868
|
+
},
|
|
1837
1869
|
'W-AAA.2_1_1.SCR20.MouseOver': {
|
|
1838
1870
|
variable: false,
|
|
1839
1871
|
quality: 1,
|
|
1840
1872
|
what: 'Mousing-over functionality is not available by keyboard?'
|
|
1841
1873
|
},
|
|
1874
|
+
'W-WCAG2AAA.Principle2.Guideline2_1.2_1_1.SCR20.MouseOver': {
|
|
1875
|
+
variable: false,
|
|
1876
|
+
quality: 1,
|
|
1877
|
+
what: 'Mousing-over functionality is not available by keyboard?'
|
|
1878
|
+
},
|
|
1842
1879
|
'W-AAA.2_1_1.SCR20.MouseDown': {
|
|
1843
1880
|
variable: false,
|
|
1844
1881
|
quality: 1,
|
|
@@ -3143,14 +3180,14 @@ exports.issues = {
|
|
|
3143
3180
|
}
|
|
3144
3181
|
},
|
|
3145
3182
|
nuVal: {
|
|
3146
|
-
'^An element with role=.+ must be contained in, or owned by, an element with role=.+$': {
|
|
3183
|
+
'^An element with role=.+ must be contained in, or owned by, an element with .*role=.+$': {
|
|
3147
3184
|
variable: true,
|
|
3148
3185
|
quality: 1,
|
|
3149
3186
|
what: 'Element has no required container or owner'
|
|
3150
3187
|
}
|
|
3151
3188
|
},
|
|
3152
3189
|
nuVnu: {
|
|
3153
|
-
'^An element with role=.+ must be contained in, or owned by, an element with role=.+$': {
|
|
3190
|
+
'^An element with role=.+ must be contained in, or owned by, an element with .*role=.+$': {
|
|
3154
3191
|
variable: true,
|
|
3155
3192
|
quality: 1,
|
|
3156
3193
|
what: 'Element has no required container or owner'
|
|
@@ -3889,6 +3926,28 @@ exports.issues = {
|
|
|
3889
3926
|
}
|
|
3890
3927
|
}
|
|
3891
3928
|
},
|
|
3929
|
+
stylesheetBanned: {
|
|
3930
|
+
summary: 'stylesheet prohibited',
|
|
3931
|
+
why: 'Browser displays the document improperly',
|
|
3932
|
+
wcag: '1.4',
|
|
3933
|
+
weight: 3,
|
|
3934
|
+
tools: {
|
|
3935
|
+
nuVal: {
|
|
3936
|
+
'^Resource violates Content Security Policy (meta tag): external stylesheet .+ blocked by style-src directive.*$': {
|
|
3937
|
+
variable: true,
|
|
3938
|
+
quality: 1,
|
|
3939
|
+
what: 'style-src content attribute blocks an external stylesheet'
|
|
3940
|
+
}
|
|
3941
|
+
},
|
|
3942
|
+
nuVnu: {
|
|
3943
|
+
'^Resource violates Content Security Policy (meta tag): external stylesheet .+ blocked by style-src directive.*$': {
|
|
3944
|
+
variable: true,
|
|
3945
|
+
quality: 1,
|
|
3946
|
+
what: 'style-src content attribute blocks an external stylesheet'
|
|
3947
|
+
}
|
|
3948
|
+
}
|
|
3949
|
+
}
|
|
3950
|
+
},
|
|
3892
3951
|
scriptNotDeferrable: {
|
|
3893
3952
|
summary: 'script element invalidly deferred',
|
|
3894
3953
|
why: 'Browser processes the document improperly',
|
|
@@ -3931,6 +3990,28 @@ exports.issues = {
|
|
|
3931
3990
|
}
|
|
3932
3991
|
}
|
|
3933
3992
|
},
|
|
3993
|
+
scriptBanned: {
|
|
3994
|
+
summary: 'script prohibited',
|
|
3995
|
+
why: 'Browser processes the document improperly',
|
|
3996
|
+
wcag: '4.1',
|
|
3997
|
+
weight: 3,
|
|
3998
|
+
tools: {
|
|
3999
|
+
nuVal: {
|
|
4000
|
+
'^Resource violates Content Security Policy (meta tag): external script .+ blocked by script-src directive.': {
|
|
4001
|
+
variable: true,
|
|
4002
|
+
quality: 1,
|
|
4003
|
+
what: 'script-src content attribute blocks a script'
|
|
4004
|
+
}
|
|
4005
|
+
},
|
|
4006
|
+
nuVnu: {
|
|
4007
|
+
'^Resource violates Content Security Policy (meta tag): external script .+ blocked by script-src directive.': {
|
|
4008
|
+
variable: true,
|
|
4009
|
+
quality: 1,
|
|
4010
|
+
what: 'script-src content attribute blocks a script'
|
|
4011
|
+
}
|
|
4012
|
+
}
|
|
4013
|
+
}
|
|
4014
|
+
},
|
|
3934
4015
|
scriptElementBad: {
|
|
3935
4016
|
summary: 'script element invalid',
|
|
3936
4017
|
why: 'Browser processes the document improperly',
|
|
@@ -6333,6 +6414,11 @@ exports.issues = {
|
|
|
6333
6414
|
}
|
|
6334
6415
|
},
|
|
6335
6416
|
nuVal: {
|
|
6417
|
+
'This document has heading elements but none of them has a computed heading level of 1.': {
|
|
6418
|
+
variable: false,
|
|
6419
|
+
quality: 1,
|
|
6420
|
+
what: 'Page contains no h1 element'
|
|
6421
|
+
},
|
|
6336
6422
|
'Consider using the h1 element as a top-level heading only (all h1 elements are treated as top-level headings by many screen readers and other tools).': {
|
|
6337
6423
|
variable: false,
|
|
6338
6424
|
quality: 1,
|
|
@@ -6345,6 +6431,11 @@ exports.issues = {
|
|
|
6345
6431
|
}
|
|
6346
6432
|
},
|
|
6347
6433
|
nuVnu: {
|
|
6434
|
+
'This document has heading elements but none of them has a computed heading level of 1.': {
|
|
6435
|
+
variable: false,
|
|
6436
|
+
quality: 1,
|
|
6437
|
+
what: 'Page contains no h1 element'
|
|
6438
|
+
},
|
|
6348
6439
|
'Consider using the h1 element as a top-level heading only (all h1 elements are treated as top-level headings by many screen readers and other tools).': {
|
|
6349
6440
|
variable: false,
|
|
6350
6441
|
quality: 1,
|