testilo 43.3.10 → 44.0.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 +1 -1
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}`;
|