testilo 20.0.0 → 20.0.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/tic38.js +37 -63
- package/procs/score/tsp38.js +1 -1
package/package.json
CHANGED
package/procs/score/tic38.js
CHANGED
|
@@ -66,6 +66,16 @@ exports.issues = {
|
|
|
66
66
|
variable: false,
|
|
67
67
|
quality: 0,
|
|
68
68
|
what: 'CSS media query locks display orientation [unreliable]'
|
|
69
|
+
},
|
|
70
|
+
'frame-tested': {
|
|
71
|
+
variable: false,
|
|
72
|
+
quality: 0.2,
|
|
73
|
+
what: 'Some content is in an iframe and so may not be testable for accessibility [speculative]'
|
|
74
|
+
},
|
|
75
|
+
'hidden-content': {
|
|
76
|
+
variable: false,
|
|
77
|
+
quality: 1,
|
|
78
|
+
what: 'Some content is hidden and so may not be testable for accessibility [speculative]'
|
|
69
79
|
}
|
|
70
80
|
}
|
|
71
81
|
},
|
|
@@ -97,6 +107,26 @@ exports.issues = {
|
|
|
97
107
|
quality: 0,
|
|
98
108
|
what: 'Document has no landmark with non-repeated content [invalid]'
|
|
99
109
|
},
|
|
110
|
+
'QW-ACT-R64': {
|
|
111
|
+
variable: false,
|
|
112
|
+
quality: 1,
|
|
113
|
+
what: 'Document has no heading for non-repeated content'
|
|
114
|
+
},
|
|
115
|
+
'QW-ACT-R73': {
|
|
116
|
+
variable: false,
|
|
117
|
+
quality: 1,
|
|
118
|
+
what: 'Block of repeated content is not collapsible [invalid]'
|
|
119
|
+
},
|
|
120
|
+
'QW-ACT-R74': {
|
|
121
|
+
variable: false,
|
|
122
|
+
quality: 1,
|
|
123
|
+
what: 'Document has no instrument to move focus to non-repeated content [invalid]'
|
|
124
|
+
},
|
|
125
|
+
'QW-ACT-R75': {
|
|
126
|
+
variable: false,
|
|
127
|
+
quality: 1,
|
|
128
|
+
what: 'Blocks of repeated content cannot be bypassed [invalid]'
|
|
129
|
+
},
|
|
100
130
|
'QW-WCAG-T4': {
|
|
101
131
|
variable: false,
|
|
102
132
|
quality: 0,
|
|
@@ -116,6 +146,11 @@ exports.issues = {
|
|
|
116
146
|
variable: false,
|
|
117
147
|
quality: 0,
|
|
118
148
|
what: 'Link text is not supplemented with a title attribute [invalid]'
|
|
149
|
+
},
|
|
150
|
+
'QW-WCAG-T23': {
|
|
151
|
+
variable: false,
|
|
152
|
+
quality: 1,
|
|
153
|
+
what: 'No link at the top of the page goes directly to the main content area [invalid]'
|
|
119
154
|
}
|
|
120
155
|
}
|
|
121
156
|
}
|
|
@@ -2430,7 +2465,6 @@ exports.issues = {
|
|
|
2430
2465
|
why: 'User must read sideways after rotating a device',
|
|
2431
2466
|
wcag: '1.3.4',
|
|
2432
2467
|
weight: 4,
|
|
2433
|
-
max: 1,
|
|
2434
2468
|
tools: {
|
|
2435
2469
|
aslint: {
|
|
2436
2470
|
orientation: {
|
|
@@ -6734,22 +6768,6 @@ exports.issues = {
|
|
|
6734
6768
|
}
|
|
6735
6769
|
}
|
|
6736
6770
|
},
|
|
6737
|
-
hiddenContentRisk: {
|
|
6738
|
-
summary: 'hidden content possibly not testable',
|
|
6739
|
-
why: 'Some barriers in the document may be undetected',
|
|
6740
|
-
wcag: '4.1',
|
|
6741
|
-
weight: 1,
|
|
6742
|
-
max: 1,
|
|
6743
|
-
tools: {
|
|
6744
|
-
axe: {
|
|
6745
|
-
'hidden-content': {
|
|
6746
|
-
variable: false,
|
|
6747
|
-
quality: 1,
|
|
6748
|
-
what: 'Some content is hidden and so may not be testable for accessibility'
|
|
6749
|
-
}
|
|
6750
|
-
}
|
|
6751
|
-
}
|
|
6752
|
-
},
|
|
6753
6771
|
negativeIndent: {
|
|
6754
6772
|
summary: 'negative text-indent',
|
|
6755
6773
|
why: 'Helper may hide content from the user',
|
|
@@ -6765,22 +6783,6 @@ exports.issues = {
|
|
|
6765
6783
|
}
|
|
6766
6784
|
}
|
|
6767
6785
|
},
|
|
6768
|
-
frameContentRisk: {
|
|
6769
|
-
summary: 'iframe content possibly not testable',
|
|
6770
|
-
why: 'Some barriers in the document may be undetected',
|
|
6771
|
-
wcag: '4.1',
|
|
6772
|
-
weight: 1,
|
|
6773
|
-
max: 1,
|
|
6774
|
-
tools: {
|
|
6775
|
-
axe: {
|
|
6776
|
-
'frame-tested': {
|
|
6777
|
-
variable: false,
|
|
6778
|
-
quality: 0.2,
|
|
6779
|
-
what: 'Some content is in an iframe and so may not be testable for accessibility'
|
|
6780
|
-
}
|
|
6781
|
-
}
|
|
6782
|
-
}
|
|
6783
|
-
},
|
|
6784
6786
|
frameSandboxRisk: {
|
|
6785
6787
|
summary: 'iframe sandbox attributes risky',
|
|
6786
6788
|
why: 'Document may be unsafe to use',
|
|
@@ -7274,7 +7276,6 @@ exports.issues = {
|
|
|
7274
7276
|
why: 'User cannot easily distinguish items of different types',
|
|
7275
7277
|
wcag: '3.2.4',
|
|
7276
7278
|
weight: 1,
|
|
7277
|
-
max: 9,
|
|
7278
7279
|
tools: {
|
|
7279
7280
|
testaro: {
|
|
7280
7281
|
styleDiff: {
|
|
@@ -7686,7 +7687,7 @@ exports.issues = {
|
|
|
7686
7687
|
why: 'Keyboard-only user cannot easily reach the specific content of the document',
|
|
7687
7688
|
wcag: '2.4.1',
|
|
7688
7689
|
weight: 3,
|
|
7689
|
-
max:
|
|
7690
|
+
max: 2,
|
|
7690
7691
|
tools: {
|
|
7691
7692
|
axe: {
|
|
7692
7693
|
bypass: {
|
|
@@ -7712,18 +7713,6 @@ exports.issues = {
|
|
|
7712
7713
|
what: 'Page provides no way to quickly navigate to the main content'
|
|
7713
7714
|
}
|
|
7714
7715
|
},
|
|
7715
|
-
qualWeb: {
|
|
7716
|
-
'QW-ACT-R64': {
|
|
7717
|
-
variable: false,
|
|
7718
|
-
quality: 1,
|
|
7719
|
-
what: 'Document has no heading for non-repeated content'
|
|
7720
|
-
},
|
|
7721
|
-
'QW-ACT-R75': {
|
|
7722
|
-
variable: false,
|
|
7723
|
-
quality: 1,
|
|
7724
|
-
what: 'Blocks of repeated content cannot be bypassed'
|
|
7725
|
-
}
|
|
7726
|
-
},
|
|
7727
7716
|
wave: {
|
|
7728
7717
|
link_skip_broken: {
|
|
7729
7718
|
variable: false,
|
|
@@ -7738,7 +7727,7 @@ exports.issues = {
|
|
|
7738
7727
|
why: 'Keyboard-only user may be unable easily to reach the specific content of the document',
|
|
7739
7728
|
wcag: '2.4.1',
|
|
7740
7729
|
weight: 1,
|
|
7741
|
-
max:
|
|
7730
|
+
max: 2,
|
|
7742
7731
|
tools: {
|
|
7743
7732
|
alfa: {
|
|
7744
7733
|
'r87': {
|
|
@@ -7753,21 +7742,6 @@ exports.issues = {
|
|
|
7753
7742
|
quality: 1,
|
|
7754
7743
|
what: 'First focusable element is not a link to the non-repeated content'
|
|
7755
7744
|
},
|
|
7756
|
-
'QW-ACT-R73': {
|
|
7757
|
-
variable: false,
|
|
7758
|
-
quality: 1,
|
|
7759
|
-
what: 'Block of repeated content is not collapsible'
|
|
7760
|
-
},
|
|
7761
|
-
'QW-ACT-R74': {
|
|
7762
|
-
variable: false,
|
|
7763
|
-
quality: 1,
|
|
7764
|
-
what: 'Document has no instrument to move focus to non-repeated content'
|
|
7765
|
-
},
|
|
7766
|
-
'QW-WCAG-T23': {
|
|
7767
|
-
variable: false,
|
|
7768
|
-
quality: 1,
|
|
7769
|
-
what: 'No link at the top of the page that goes directly to the main content area'
|
|
7770
|
-
},
|
|
7771
7745
|
'QW-BP17': {
|
|
7772
7746
|
variable: false,
|
|
7773
7747
|
quality: 1,
|
package/procs/score/tsp38.js
CHANGED
|
@@ -213,7 +213,7 @@ exports.scorer = report => {
|
|
|
213
213
|
const issueData = details.issue[issueName];
|
|
214
214
|
// For each tool with any complaints for the issue:
|
|
215
215
|
Object.keys(issueData.tools).forEach(toolID => {
|
|
216
|
-
// Get the sum of the weighted counts of its issue rules.
|
|
216
|
+
// Get the sum of the quality-weighted counts of its issue rules.
|
|
217
217
|
let weightedCount = 0;
|
|
218
218
|
Object.values(issueData.tools[toolID]).forEach(ruleData => {
|
|
219
219
|
weightedCount += ruleData.quality * ruleData.complaints.countTotal;
|