testilo 13.3.1 → 13.3.3
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
|
@@ -29,24 +29,27 @@
|
|
|
29
29
|
</table>
|
|
30
30
|
</header>
|
|
31
31
|
<h2>Introduction</h2>
|
|
32
|
-
<p>This is a digest of results from a battery of accessibility tests.</p>
|
|
33
|
-
<p>
|
|
34
|
-
<p>
|
|
35
|
-
<h2>
|
|
32
|
+
<p>This is a digest of results from a battery of <a href="https://www.w3.org/WAI/">web accessibility</a> tests.</p>
|
|
33
|
+
<p>Ten different <dfn>tools</dfn> (Alfa, Axe, Continuum, Equal Access, HTML CodeSniffer, Nu Html Checker, QualWeb, Tenon, Testaro, and WAVE) tested the web page of __org__ at __url__ to check its compliance with various <dfn>rules</dfn>. There were a total of about 1350 rules, classified into about 250 accessibility <dfn>issues</dfn>.</p>
|
|
34
|
+
<p>The results were interpreted to yield an aggregate score of __total__, where 0 would be <q>perfect</q>.</p>
|
|
35
|
+
<h2>Total score</h2>
|
|
36
|
+
<p>The total score is the sum of five components.</p>
|
|
36
37
|
<table class="allBorder secondCellRight">
|
|
37
38
|
<caption>Score summary</caption>
|
|
38
39
|
<thead>
|
|
39
|
-
<tr><th>Component</th><th>Score</th></tr>
|
|
40
|
+
<tr><th>Component</th><th>Score</th><th>Description</th></tr>
|
|
40
41
|
</thead>
|
|
41
42
|
<tbody class="headersLeft">
|
|
42
|
-
<tr><th>total</th><td>__total__</td></tr>
|
|
43
|
-
<tr><th>issue</th><td>__issue__</td></tr>
|
|
44
|
-
<tr><th>tool</th><td>__tool__</td></tr>
|
|
45
|
-
<tr><th>prevention</th><td>__prevention__</td></tr>
|
|
46
|
-
<tr><th>log</th><td>__log__</td></tr>
|
|
47
|
-
<tr><th>latency</th><td>__latency__</td></tr>
|
|
43
|
+
<tr><th>total</th><td>__total__</td><td>Sum of the component scores</td></tr>
|
|
44
|
+
<tr><th>issue</th><td>__issue__</td><td>Severity and number of reported defects</td></tr>
|
|
45
|
+
<tr><th>tool</th><td>__tool__</td><td>Tool-by-tool defect ratings</td></tr>
|
|
46
|
+
<tr><th>prevention</th><td>__prevention__</td><td>Failed attempts by tools to test the page</td></tr>
|
|
47
|
+
<tr><th>log</th><td>__log__</td><td>Browser warnings about the page</td></tr>
|
|
48
|
+
<tr><th>latency</th><td>__latency__</td><td>Abnormal delay in page responses</td></tr>
|
|
48
49
|
</tbody>
|
|
49
50
|
</table>
|
|
51
|
+
<h2>Issue scores</h2>
|
|
52
|
+
<p>The score of an issue depends on the <dfn>severity</dfn> (user impact and certainty) of the issue and on how many instances were reported (by one or more tools).</p>
|
|
50
53
|
<table class="allBorder secondCellRight">
|
|
51
54
|
<caption>Issue scores</caption>
|
|
52
55
|
<thead>
|
|
@@ -56,8 +59,10 @@
|
|
|
56
59
|
__issueRows__
|
|
57
60
|
</tbody>
|
|
58
61
|
</table>
|
|
59
|
-
<h2>
|
|
62
|
+
<h2>Itemized issues</h2>
|
|
63
|
+
<p>The reported rule violations are itemized below, issue by issue. Additional details can be inspected in the complete report at the end of this page.</p>
|
|
60
64
|
__issueDetailRows__
|
|
65
|
+
<h2>Complete report</h2>
|
|
61
66
|
<pre>__report__</pre>
|
|
62
67
|
<footer>
|
|
63
68
|
<p class="date">Produced <time itemprop="datePublished" datetime="__dateISO__">__dateSlash__</time></p>
|
|
@@ -62,7 +62,7 @@ const populateQuery = (report, query) => {
|
|
|
62
62
|
// Add paragraph groups about the issue details to the query.
|
|
63
63
|
const issueDetailRows = [];
|
|
64
64
|
issueIDs.forEach(issueID => {
|
|
65
|
-
issueDetailRows.push(`<h3>Issue <code>${issueID}</code></h3>`);
|
|
65
|
+
issueDetailRows.push(`<h3 class="bars">Issue <code>${issueID}</code></h3>`);
|
|
66
66
|
issueDetailRows.push(`<p>WCAG: ${issueClasses[issueID].wcag || 'N/A'}</p>`);
|
|
67
67
|
const issueData = details.issue[issueID];
|
|
68
68
|
issueDetailRows.push(`<p>Score: ${issueData.score}</p>`);
|
|
@@ -47,10 +47,30 @@ fieldset {
|
|
|
47
47
|
form {
|
|
48
48
|
margin-top: 1rem;
|
|
49
49
|
}
|
|
50
|
+
h1, h2, h3, h4, h5, h6 {
|
|
51
|
+
margin-bottom: 0;
|
|
52
|
+
}
|
|
50
53
|
h2 {
|
|
54
|
+
font-size: 1.8rem;
|
|
51
55
|
margin: 1rem auto 0.5rem auto;
|
|
52
56
|
color: #006666;
|
|
53
57
|
}
|
|
58
|
+
h3 {
|
|
59
|
+
font-size: 1.6rem;
|
|
60
|
+
}
|
|
61
|
+
h3.bars {
|
|
62
|
+
border-top: solid black 0.1rem;
|
|
63
|
+
padding-top: 0.3rem;
|
|
64
|
+
}
|
|
65
|
+
h4 {
|
|
66
|
+
font-size: 1.4rem;
|
|
67
|
+
}
|
|
68
|
+
h5 {
|
|
69
|
+
font-size: 1.2rem;
|
|
70
|
+
}
|
|
71
|
+
h6 {
|
|
72
|
+
font-size: 1rem;
|
|
73
|
+
}
|
|
54
74
|
input {
|
|
55
75
|
margin: 0.5rem 0;
|
|
56
76
|
font-size: inherit;
|
|
@@ -58,6 +78,9 @@ input {
|
|
|
58
78
|
legend {
|
|
59
79
|
font-weight: 700;
|
|
60
80
|
}
|
|
81
|
+
pre {
|
|
82
|
+
white-space: break-spaces;
|
|
83
|
+
}
|
|
61
84
|
.secondCellRight td:nth-child(2) {
|
|
62
85
|
text-align: right;
|
|
63
86
|
}
|