testilo 21.2.0 → 21.2.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testilo",
3
- "version": "21.2.0",
3
+ "version": "21.2.2",
4
4
  "description": "Prepares and processes Testaro reports",
5
5
  "main": "aim.js",
6
6
  "scripts": {
@@ -26,7 +26,7 @@
26
26
  <li>Digested by Testilo with procedure <code>__digester__</code></li>
27
27
  <li>Compared by Testilo with procedure <code>__comparer__</code></li>
28
28
  </ol>
29
- <p>Testaro used nine tools (Alfa, ASLint, Axe, Equal Access, HTML CodeSniffer, Nu Html Checker, Testaro, and WAVE) to perform about 960 automated accessibility tests. Testilo assigned a score to each page, with 0 being perfect.</p>
29
+ <p>Testaro used nine tools (Alfa, ASLint, Axe, Equal Access, HTML CodeSniffer, Nu Html Checker, Testaro, and WAVE) to perform about 915 automated accessibility tests. Testilo assigned a score to each page, with 0 being perfect.</p>
30
30
  <h2>Comparison</h2>
31
31
  <table class="allBorder">
32
32
  <caption>Accessibility scores of web pages</caption>
@@ -38,7 +38,7 @@
38
38
  </tbody>
39
39
  </table>
40
40
  <h2>Disclaimer</h2>
41
- <p>These scores and procedures are not part of any accessibility standard. Other procedures would yield different scores and rank orders among these pages.</p>
41
+ <p>Other procedures would yield different scores and rank orders among these pages.</p>
42
42
  <footer>
43
43
  <p class="date">Produced <time itemprop="datePublished" datetime="__dateISO__">__dateSlash__</time></p>
44
44
  </footer>
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  index
3
- Compares scores in reports scored by tsp37 for use by Testu.
3
+ Compares scores in reports scored by tsp38 for use by Testu.
4
4
  */
5
5
 
6
6
  // ########## IMPORTS
@@ -11,7 +11,7 @@ const fs = require('fs/promises');
11
11
  // CONSTANTS
12
12
 
13
13
  // Digester ID.
14
- const id = 'tcp37';
14
+ const id = 'tcp38';
15
15
  // Newlines with indentations.
16
16
  const joiner = '\n ';
17
17
  const innerJoiner = '\n ';
@@ -65,9 +65,10 @@ const getTableBody = async bodyData => {
65
65
  const populateQuery = async (scoredReports, query) => {
66
66
  const data = await getData(scoredReports);
67
67
  query.pageCount = data.pageCount;
68
- query.scorer = 'tsp37';
69
- query.digester = 'tdp37';
70
- query.comparer = 'tcp37';
68
+ query.script = 'ts37';
69
+ query.scorer = 'tsp38';
70
+ query.digester = 'tdp38';
71
+ query.comparer = 'tcp38';
71
72
  query.tableBody = await getTableBody(data.bodyData);
72
73
  const date = new Date();
73
74
  query.dateISO = date.toISOString().slice(0, 10);
@@ -31,7 +31,7 @@
31
31
  </header>
32
32
  <h2>Introduction</h2>
33
33
  <p>How <a href="https://www.w3.org/WAI/">accessible</a> is the __org__ web page at <a href="__url__"><code>__url__</code></a>?</p>
34
- <p>This digest can help answer that question. Nine different tools (Alfa, ASLint, Axe, Equal Access, HTML CodeSniffer, Nu Html Checker, QualWeb, Testaro, and WAVE) tested the page to check its compliance with their accessibility rules. In all, the tools define about 960 rules, which are classified here into about 300 accessibility issues.</p>
34
+ <p>This digest can help answer that question. Nine different tools (Alfa, ASLint, Axe, Equal Access, HTML CodeSniffer, Nu Html Checker, QualWeb, Testaro, and WAVE) tested the page to check its compliance with their accessibility rules. In all, the tools define about 915 rules, which are classified here into about 300 accessibility issues.</p>
35
35
  <p>The results were interpreted to yield a score, with 0 being ideal. The score for this page was __total__, the sum of __issue__ for issues, __tool__ for tool-by-tool ratings, __prevention__ for the page preventing tools from running, __log__ for browser warnings, and __latency__ for delayed page responses.</p>
36
36
  <h2>Issue summary</h2>
37
37
  <table class="allBorder thirdCellRight">
@@ -4208,7 +4208,6 @@ exports.issues = {
4208
4208
  why: 'Browser processes the document improperly',
4209
4209
  wcag: '4.1.1',
4210
4210
  weight: 3,
4211
- max: 1,
4212
4211
  tools: {
4213
4212
  aslint: {
4214
4213
  elements_not_allowed_in_head: {