testilo 21.2.2 → 21.2.4
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/tic38.js +20 -50
package/package.json
CHANGED
package/procs/score/tic38.js
CHANGED
|
@@ -34,11 +34,21 @@ exports.issues = {
|
|
|
34
34
|
quality: 0,
|
|
35
35
|
what: 'Text has contrast less than 4.5:1 [speculative]'
|
|
36
36
|
},
|
|
37
|
+
css_images_convey_information: {
|
|
38
|
+
variable: false,
|
|
39
|
+
quality: 1,
|
|
40
|
+
what: 'Background image may be informative [speculative]'
|
|
41
|
+
},
|
|
37
42
|
flickering: {
|
|
38
43
|
variable: false,
|
|
39
44
|
quality: 0,
|
|
40
45
|
what: 'Excessive flashing may exist [speculative]'
|
|
41
46
|
},
|
|
47
|
+
links_language_destination: {
|
|
48
|
+
variable: false,
|
|
49
|
+
quality: 1,
|
|
50
|
+
what: 'Link destination has a named host and may be in an unexpected language [speculative]'
|
|
51
|
+
},
|
|
42
52
|
meaningful_content_sequence: {
|
|
43
53
|
variable: false,
|
|
44
54
|
quality: 0,
|
|
@@ -63,6 +73,11 @@ exports.issues = {
|
|
|
63
73
|
variable: false,
|
|
64
74
|
quality: 0,
|
|
65
75
|
what: 'Page may require horizontal scrolling [speculative]'
|
|
76
|
+
},
|
|
77
|
+
text_color_convey_information: {
|
|
78
|
+
variable: false,
|
|
79
|
+
quality: 1,
|
|
80
|
+
what: 'Color may give information not given also by text [speculative]'
|
|
66
81
|
}
|
|
67
82
|
},
|
|
68
83
|
axe: {
|
|
@@ -638,21 +653,6 @@ exports.issues = {
|
|
|
638
653
|
}
|
|
639
654
|
}
|
|
640
655
|
},
|
|
641
|
-
colorRisk: {
|
|
642
|
-
summary: 'info may be only color-represented',
|
|
643
|
-
why: 'User may be unable to get help understanding document information',
|
|
644
|
-
wcag: '1.4.1',
|
|
645
|
-
weight: 1,
|
|
646
|
-
tools: {
|
|
647
|
-
aslint: {
|
|
648
|
-
text_color_convey_information: {
|
|
649
|
-
variable: false,
|
|
650
|
-
quality: 1,
|
|
651
|
-
what: 'Color may give information not given also by text'
|
|
652
|
-
}
|
|
653
|
-
}
|
|
654
|
-
}
|
|
655
|
-
},
|
|
656
656
|
imageNoSource: {
|
|
657
657
|
summary: 'image has no src',
|
|
658
658
|
why: 'Image to be shown cannot be found',
|
|
@@ -810,21 +810,6 @@ exports.issues = {
|
|
|
810
810
|
}
|
|
811
811
|
}
|
|
812
812
|
},
|
|
813
|
-
backgroundImageRisk: {
|
|
814
|
-
summary: 'background image possibly informative',
|
|
815
|
-
why: 'Helper ignores an image that may be informative',
|
|
816
|
-
wcag: '1.1.1',
|
|
817
|
-
weight: 1,
|
|
818
|
-
tools: {
|
|
819
|
-
aslint: {
|
|
820
|
-
css_images_convey_information: {
|
|
821
|
-
variable: false,
|
|
822
|
-
quality: 1,
|
|
823
|
-
what: 'Background image may be informative'
|
|
824
|
-
}
|
|
825
|
-
}
|
|
826
|
-
}
|
|
827
|
-
},
|
|
828
813
|
decorativeElementExposed: {
|
|
829
814
|
summary: 'decorative element exposed',
|
|
830
815
|
why: 'Helper alerts a user to an uninformative image',
|
|
@@ -1365,17 +1350,17 @@ exports.issues = {
|
|
|
1365
1350
|
}
|
|
1366
1351
|
}
|
|
1367
1352
|
},
|
|
1368
|
-
|
|
1369
|
-
summary: 'label contains
|
|
1353
|
+
controlIDInLabelBad: {
|
|
1354
|
+
summary: 'label contains control with nonmatching ID',
|
|
1370
1355
|
why: 'User cannot get help understanding an item in a form',
|
|
1371
1356
|
wcag: '1.3.1',
|
|
1372
1357
|
weight: 4,
|
|
1373
1358
|
tools: {
|
|
1374
1359
|
nuVal: {
|
|
1375
|
-
'Any
|
|
1376
|
-
variable:
|
|
1360
|
+
'^Any .+ descendant of a label element with a for attribute must have an ID value that matches that for attribute.*$': {
|
|
1361
|
+
variable: true,
|
|
1377
1362
|
quality: 1,
|
|
1378
|
-
what: 'label element has a
|
|
1363
|
+
what: 'label element has a labelable descendant whose ID differs from the for attribute of the label'
|
|
1379
1364
|
}
|
|
1380
1365
|
}
|
|
1381
1366
|
}
|
|
@@ -1944,21 +1929,6 @@ exports.issues = {
|
|
|
1944
1929
|
}
|
|
1945
1930
|
}
|
|
1946
1931
|
},
|
|
1947
|
-
linkExternalRisk: {
|
|
1948
|
-
summary: 'destination language change possibly unstated',
|
|
1949
|
-
why: 'User may be confused by the content after following a link',
|
|
1950
|
-
wcag: '2.4.4',
|
|
1951
|
-
weight: 1,
|
|
1952
|
-
tools: {
|
|
1953
|
-
aslint: {
|
|
1954
|
-
links_language_destination: {
|
|
1955
|
-
variable: false,
|
|
1956
|
-
quality: 1,
|
|
1957
|
-
what: 'Link destination has a named host and may be in an unexpected language'
|
|
1958
|
-
}
|
|
1959
|
-
}
|
|
1960
|
-
}
|
|
1961
|
-
},
|
|
1962
1932
|
linksNoNav: {
|
|
1963
1933
|
summary: 'links not grouped as nav',
|
|
1964
1934
|
why: 'User cannot get help identifying links as a navigation tool',
|