testilo 3.12.0 → 3.12.2
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/digest/dp16a/index.html +1 -1
- package/procs/score/sp16a.js +2 -4
- package/procs/score/sp17a.js +6099 -0
package/package.json
CHANGED
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
</div>
|
|
28
28
|
</header>
|
|
29
29
|
<h2>Introduction</h2>
|
|
30
|
-
<p>The <a href="https://www.npmjs.com/package/testaro">Testaro</a> application used its <code>tp16</code> testing procedure to test the <a href="https://www.w3.org/WAI/fundamentals/accessibility-intro/"><dfn>accessibility</dfn></a> (barrier-free design and coding) of the __org__ web page at <a href="__url__">__url__</a> on __dateSlash__. The procedure performed
|
|
30
|
+
<p>The <a href="https://www.npmjs.com/package/testaro">Testaro</a> application used its <code>tp16</code> testing procedure to test the <a href="https://www.w3.org/WAI/fundamentals/accessibility-intro/"><dfn>accessibility</dfn></a> (barrier-free design and coding) of the __org__ web page at <a href="__url__">__url__</a> on __dateSlash__. The procedure performed 1229 tests. Of these, 23 are custom tests or <q>quasi-tests</q> by Testaro, and the others belong to these eight other packages (programs that perform collections of tests):</p>
|
|
31
31
|
<ul>
|
|
32
32
|
<li><a href="https://github.com/Siteimprove/alfa">Alfa</a> by Siteimprove</li>
|
|
33
33
|
<li><a href="https://www.npmjs.com/package/axe-core">Axe-core</a> by Deque</li>
|
package/procs/score/sp16a.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
|
|
2
|
+
sp16a
|
|
3
3
|
Testilo score proc 16a
|
|
4
4
|
|
|
5
5
|
Computes scores from Testaro script tp16 and adds them to a report.
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
// CONSTANTS
|
|
35
35
|
|
|
36
36
|
// ID of this proc.
|
|
37
|
-
const scoreProcID = '
|
|
37
|
+
const scoreProcID = 'sp16a';
|
|
38
38
|
// Configuration disclosures.
|
|
39
39
|
const logWeights = {
|
|
40
40
|
logCount: 0.5,
|
|
@@ -64,8 +64,6 @@ const preventionWeights = {
|
|
|
64
64
|
testaro: 50,
|
|
65
65
|
other: 100
|
|
66
66
|
};
|
|
67
|
-
// Preweighted packages, i.e. those whose test weights are trusted.
|
|
68
|
-
const preWeightedPackages = ['axe', 'tenon', 'testaro'];
|
|
69
67
|
// Non-Testaro packages.
|
|
70
68
|
const otherPackages = ['alfa', 'axe', 'continuum', 'htmlcs', 'ibm', 'nuVal', 'tenon', 'wave'];
|
|
71
69
|
// Test groups.
|