testilo 43.3.10 → 44.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/README.md +1 -1
- package/package.json +1 -1
- package/procs/analyze/axeFrac.js +6 -0
- package/procs/score/tic.js +1579 -37
- package/procs/util.js +2 -1
- package/script.js +8 -2
package/procs/util.js
CHANGED
|
@@ -41,7 +41,8 @@ const tools = exports.tools = {
|
|
|
41
41
|
ed11y: 'Editoria11y',
|
|
42
42
|
htmlcs: 'HTML CodeSniffer',
|
|
43
43
|
ibm: 'Accessibility Checker',
|
|
44
|
-
nuVal: 'Nu Html Checker',
|
|
44
|
+
nuVal: 'Nu Html Checker API',
|
|
45
|
+
nuVnu: 'Nu Html Checker',
|
|
45
46
|
qualWeb: 'QualWeb',
|
|
46
47
|
testaro: 'Testaro',
|
|
47
48
|
wave: 'WAVE',
|
package/script.js
CHANGED
|
@@ -114,7 +114,7 @@ exports.script = (id, what, deviceID, options = {}) => {
|
|
|
114
114
|
Object.keys(toolData).forEach(ruleID => {
|
|
115
115
|
// Add the rule to the data on tools and rules.
|
|
116
116
|
let rulePrefix = '';
|
|
117
|
-
if (
|
|
117
|
+
if (['nuVal', 'nuVnu'].includes(issueToolID)) {
|
|
118
118
|
rulePrefix = toolData[ruleID].variable ? '~' : '=';
|
|
119
119
|
}
|
|
120
120
|
const fullRuleID = `${rulePrefix}${ruleID}`;
|
|
@@ -219,7 +219,13 @@ exports.script = (id, what, deviceID, options = {}) => {
|
|
|
219
219
|
}
|
|
220
220
|
else if (toolID === 'ibm') {
|
|
221
221
|
toolAct.withItems = true;
|
|
222
|
-
toolAct.withNewContent =
|
|
222
|
+
toolAct.withNewContent = false;
|
|
223
|
+
}
|
|
224
|
+
else if (toolID === 'nuVal') {
|
|
225
|
+
toolAct.withSource = false;
|
|
226
|
+
}
|
|
227
|
+
else if (toolID === 'nuVnu') {
|
|
228
|
+
toolAct.withSource = false;
|
|
223
229
|
}
|
|
224
230
|
else if (toolID === 'qualWeb') {
|
|
225
231
|
toolAct.withNewContent = false;
|