rachnasutra 0.5.2 → 0.6.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/CHANGELOG.md +32 -1
- package/CITATION.cff +2 -2
- package/README.md +4 -4
- package/dist/audit.js +117 -18
- package/dist/baseline.js +52 -0
- package/dist/browser.js +35 -5
- package/dist/cli.js +140 -27
- package/dist/fsutil.js +11 -4
- package/dist/redact.js +17 -7
- package/dist/report.js +51 -17
- package/dist/rules.js +70 -19
- package/dist/verify.js +35 -7
- package/docs/cli-reference.md +16 -3
- package/docs/status.md +2 -2
- package/documents/rachnasutra/00-overview.md +13 -2
- package/documents/rachnasutra/01-executive-summary.md +3 -1
- package/documents/rachnasutra/02-functional-specification.md +1 -1
- package/documents/rachnasutra/03-architecture.md +4 -0
- package/documents/rachnasutra/04-technical-reference.md +12 -7
- package/documents/rachnasutra/05-user-guide.md +53 -3
- package/documents/rachnasutra/07-skills-and-agents.md +2 -0
- package/documents/rachnasutra/08-security-and-privacy.md +2 -1
- package/documents/rachnasutra/10-testing-and-evidence.md +9 -5
- package/documents/rachnasutra/11-deployment-and-ci.md +2 -0
- package/documents/rachnasutra/12-roadmap-and-status.md +2 -2
- package/documents/rachnasutra/13-maintainer-handbook.md +4 -0
- package/documents/rachnasutra/16-validation-and-benchmarks.md +12 -2
- package/documents/rachnasutra/18-quick-tour.md +120 -0
- package/documents/rachnasutra/19-real-world-scenarios.md +251 -0
- package/llms.txt +2 -0
- package/package.json +4 -2
- package/samples/broken-ui/latest.html +96 -73
- package/samples/broken-ui/latest.json +236 -25
- package/samples/broken-ui/latest.md +2 -2
- package/samples/broken-ui/latest.sarif +1 -1
- package/samples/good-ui/latest.html +27 -7
- package/samples/good-ui/latest.json +4 -3
- package/samples/good-ui/latest.md +2 -2
|
@@ -5,25 +5,45 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
6
|
<title>RachnaSutra AI audit report</title>
|
|
7
7
|
<style>
|
|
8
|
-
:root{
|
|
9
|
-
@media (prefers-color-scheme:dark){:root{
|
|
8
|
+
:root{color-scheme:light;--bg:#fbfaf8;--fg:#1d1b19;--muted:#5b564f;--card:#fff;--line:#d9d4cc;--accent:#8a3b12;--hit:#fbeee4;--crit:#8f1d1d;--high:#a1400b;--med:#7a5a00;--low:#245c3a;--info:#33506b}
|
|
9
|
+
@media (prefers-color-scheme:dark){:root{color-scheme:dark;--bg:#141210;--fg:#f2eee8;--muted:#b8b0a5;--card:#1d1a17;--line:#3a352f;--accent:#f0a070;--hit:#3a2a1f;--crit:#ff9a9a;--high:#ffb27a;--med:#f0d070;--low:#8fd6a8;--info:#9cc4e8}}
|
|
10
|
+
:root:has(#t-light:checked),:root:has(#t-mix:checked){color-scheme:light;--bg:#fbfaf8;--fg:#1d1b19;--muted:#5b564f;--card:#fff;--line:#d9d4cc;--accent:#8a3b12;--hit:#fbeee4;--crit:#8f1d1d;--high:#a1400b;--med:#7a5a00;--low:#245c3a;--info:#33506b}
|
|
11
|
+
:root:has(#t-dark:checked),:root:has(#t-mix:checked) .top{color-scheme:dark;--bg:#141210;--fg:#f2eee8;--muted:#b8b0a5;--card:#1d1a17;--line:#3a352f;--accent:#f0a070;--hit:#3a2a1f;--crit:#ff9a9a;--high:#ffb27a;--med:#f0d070;--low:#8fd6a8;--info:#9cc4e8}
|
|
10
12
|
body{margin:0;background:var(--bg);color:var(--fg);font:16px/1.55 system-ui,-apple-system,"Segoe UI",sans-serif}
|
|
11
|
-
main{max-width:70rem;margin:0 auto;padding:
|
|
13
|
+
main,.top>div{max-width:70rem;margin:0 auto;padding:0 1rem}main{padding-bottom:4rem}
|
|
14
|
+
.top{background:var(--bg);color:var(--fg);border-bottom:1px solid var(--line);padding:1.2rem 0 .8rem}
|
|
12
15
|
h1{font-size:1.75rem;margin:.2rem 0}h2{margin-top:2.2rem;font-size:1.25rem;border-bottom:1px solid var(--line);padding-bottom:.3rem}
|
|
16
|
+
fieldset{border:0;padding:0;margin:.6rem 0 0;display:flex;flex-wrap:wrap;gap:.4rem;align-items:center}legend{float:left;font-weight:600;margin-right:.4rem}
|
|
17
|
+
fieldset label{display:inline-flex;align-items:center;gap:.35rem;border:1px solid var(--line);background:var(--card);border-radius:2rem;padding:.25rem .75rem;cursor:pointer}
|
|
18
|
+
fieldset label:has(:checked){border-color:var(--accent)}input{accent-color:var(--accent)}
|
|
13
19
|
.muted{color:var(--muted)}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(8rem,1fr));gap:.75rem}
|
|
14
20
|
.stat{background:var(--card);border:1px solid var(--line);border-radius:.6rem;padding:.7rem}.stat b{display:block;font-size:1.5rem}
|
|
15
21
|
.tablewrap{overflow-x:auto}table{border-collapse:collapse;width:100%;background:var(--card)}th,td{border:1px solid var(--line);padding:.45rem .6rem;text-align:left;vertical-align:top}
|
|
16
|
-
.sev{font-weight:600}.sev-critical{color:var(--crit)}.sev-high{color:var(--high)}.sev-medium{color:var(--med)}.sev-low{color:var(--low)}.sev-info{color:var(--info)}
|
|
22
|
+
.f th{white-space:nowrap}.sev{font-weight:600}.sev-critical{color:var(--crit)}.sev-high{color:var(--high)}.sev-medium{color:var(--med)}.sev-low{color:var(--low)}.sev-info{color:var(--info)}
|
|
17
23
|
.card{background:var(--card);border:1px solid var(--line);border-radius:.6rem;padding:.8rem 1rem;margin:.8rem 0}.card h3{margin:.1rem 0 .4rem;font-size:1.05rem}
|
|
18
24
|
.note{background:var(--card);border:1px solid var(--line);border-radius:.6rem;padding:.8rem 1rem}
|
|
25
|
+
.ctx{border:1px solid var(--line);border-radius:.4rem;padding:.3rem 0;white-space:normal}.ctx>span{display:flex;gap:.8rem;padding:0 .6rem;white-space:pre-wrap}.ctx i{font-style:normal;color:var(--muted);min-width:3ch;text-align:right}.ctx>.hit{background:var(--hit);font-weight:600}
|
|
19
26
|
dt{font-weight:600;margin-top:.5rem}dd{margin:0}code,pre{font-family:ui-monospace,Consolas,monospace;font-size:.88em;white-space:pre-wrap;overflow-wrap:anywhere}pre{margin:.2rem 0}
|
|
20
|
-
a:focus-visible,
|
|
27
|
+
a{color:var(--accent)}a:focus-visible,input:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
|
|
28
|
+
body:has(#f-s-critical:not(:checked)) .f.s-critical{display:none}
|
|
29
|
+
body:has(#f-s-high:not(:checked)) .f.s-high{display:none}
|
|
30
|
+
body:has(#f-s-medium:not(:checked)) .f.s-medium{display:none}
|
|
31
|
+
body:has(#f-s-low:not(:checked)) .f.s-low{display:none}
|
|
32
|
+
body:has(#f-s-info:not(:checked)) .f.s-info{display:none}
|
|
33
|
+
body:has(#f-st-confirmed:not(:checked)) .f.st-confirmed{display:none}
|
|
34
|
+
body:has(#f-st-review-required:not(:checked)) .f.st-review-required{display:none}
|
|
35
|
+
@media print{:root,:root .top{color-scheme:light!important;--bg:#fbfaf8!important;--fg:#1d1b19!important;--muted:#5b564f!important;--card:#fff!important;--line:#d9d4cc!important;--accent:#8a3b12!important;--hit:#fbeee4!important;--crit:#8f1d1d!important;--high:#a1400b!important;--med:#7a5a00!important;--low:#245c3a!important;--info:#33506b!important}
|
|
36
|
+
fieldset,.filter-note{display:none}tr.f.f{display:table-row!important}article.f.f{display:block!important}
|
|
37
|
+
body{font-size:11pt}main,.top>div{max-width:none}.card,tr,.ctx{break-inside:avoid}h2,h3{break-after:avoid}.ctx>.hit{print-color-adjust:exact}}
|
|
21
38
|
</style>
|
|
22
39
|
</head>
|
|
23
40
|
<body>
|
|
24
|
-
<
|
|
41
|
+
<header class="top"><div>
|
|
25
42
|
<h1>RachnaSutra AI audit report</h1>
|
|
26
|
-
<
|
|
43
|
+
<fieldset><legend>Theme</legend><label><input type="radio" name="theme" id="t-auto" checked> Auto</label><label><input type="radio" name="theme" id="t-light"> Light</label><label><input type="radio" name="theme" id="t-dark"> Dark</label><label><input type="radio" name="theme" id="t-mix"> Mix</label></fieldset>
|
|
44
|
+
</div></header>
|
|
45
|
+
<main>
|
|
46
|
+
<p class="muted">Static mode · read-only · 2026-11-28T19:53:44.859Z · rachnasutra 0.6.0</p>
|
|
27
47
|
<h2>How to read this</h2>
|
|
28
48
|
<ul>
|
|
29
49
|
<li><strong>Confirmed</strong> means the tool saw this in the file. Fix it.</li>
|
|
@@ -58,268 +78,271 @@ a:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-of
|
|
|
58
78
|
<tr><th scope="row">Core Web Vitals (lab and field)</th><td>not-run</td><td>No measurement taken.</td></tr>
|
|
59
79
|
</tbody></table></div>
|
|
60
80
|
<h2>Findings</h2>
|
|
81
|
+
<fieldset><legend>Severity</legend><label><input type="checkbox" id="f-s-high" checked> high (8)</label><label><input type="checkbox" id="f-s-medium" checked> medium (8)</label><label><input type="checkbox" id="f-s-low" checked> low (5)</label><label><input type="checkbox" id="f-s-info" checked> info (1)</label></fieldset>
|
|
82
|
+
<fieldset><legend>Status</legend><label><input type="checkbox" id="f-st-confirmed" checked> confirmed (13)</label><label><input type="checkbox" id="f-st-review-required" checked> review-required (9)</label></fieldset>
|
|
83
|
+
<p class="muted filter-note">Filters hide findings in the table and details on this page. Counts and printouts include everything.</p>
|
|
61
84
|
<div class="tablewrap"><table><caption class="muted">All findings, most severe first</caption><thead><tr><th scope="col">ID</th><th scope="col">Severity</th><th scope="col">Rule</th><th scope="col">Title</th><th scope="col">Location</th><th scope="col">Status</th></tr></thead><tbody>
|
|
62
|
-
<tr id="RS-0001"><th scope="row"><a href="#h-RS-0001">RS-0001</a></th><td><span class="sev sev-high">high</span></td><td>RS-A11Y-001</td><td>Image has no alt attribute</td><td><code>index.html:11</code></td><td>confirmed</td></tr>
|
|
63
|
-
<tr id="RS-0002"><th scope="row"><a href="#h-RS-0002">RS-0002</a></th><td><span class="sev sev-high">high</span></td><td>RS-A11Y-003</td><td>Viewport meta disables or limits zoom</td><td><code>index.html:5</code></td><td>confirmed</td></tr>
|
|
64
|
-
<tr id="RS-0003"><th scope="row"><a href="#h-RS-0003">RS-0003</a></th><td><span class="sev sev-high">high</span></td><td>RS-A11Y-004</td><td>Button has no accessible name</td><td><code>index.html:13</code></td><td>confirmed</td></tr>
|
|
65
|
-
<tr id="RS-0004"><th scope="row"><a href="#h-RS-0004">RS-0004</a></th><td><span class="sev sev-high">high</span></td><td>RS-A11Y-005</td><td>Form control has no programmatic label</td><td><code>index.html:16</code></td><td>review-required</td></tr>
|
|
66
|
-
<tr id="RS-0005"><th scope="row"><a href="#h-RS-0005">RS-0005</a></th><td><span class="sev sev-high">high</span></td><td>RS-A11Y-007</td><td>Click handler on non-interactive <div> without role or tabindex</td><td><code>index.html:12</code></td><td>confirmed</td></tr>
|
|
67
|
-
<tr id="RS-0006"><th scope="row"><a href="#h-RS-0006">RS-0006</a></th><td><span class="sev sev-high">high</span></td><td>RS-A11Y-010</td><td>Focus indicator removed (button:focus, a:focus)</td><td><code>styles.css:2</code></td><td>confirmed</td></tr>
|
|
68
|
-
<tr id="RS-0007"><th scope="row"><a href="#h-RS-0007">RS-0007</a></th><td><span class="sev sev-high">high</span></td><td>RS-A11Y-013</td><td>Text contrast 2.32:1 is below 4.5:1 (#aaaaaa on #ffffff)</td><td><code>index.html:20</code></td><td>confirmed</td></tr>
|
|
69
|
-
<tr id="RS-0008"><th scope="row"><a href="#h-RS-0008">RS-0008</a></th><td><span class="sev sev-high">high</span></td><td>RS-A11Y-013</td><td>Text contrast 2.85:1 is below 4.5:1 (#999999 on #ffffff)</td><td><code>styles.css:1</code></td><td>confirmed</td></tr>
|
|
70
|
-
<tr id="RS-0009"><th scope="row"><a href="#h-RS-0009">RS-0009</a></th><td><span class="sev sev-medium">medium</span></td><td>RS-A11Y-002</td><td>Document has no lang attribute</td><td><code>index.html:2</code></td><td>confirmed</td></tr>
|
|
71
|
-
<tr id="RS-0010"><th scope="row"><a href="#h-RS-0010">RS-0010</a></th><td><span class="sev sev-medium">medium</span></td><td>RS-A11Y-006</td><td>Positive tabindex overrides natural focus order</td><td><code>index.html:17</code></td><td>confirmed</td></tr>
|
|
72
|
-
<tr id="RS-0011"><th scope="row"><a href="#h-RS-0011">RS-0011</a></th><td><span class="sev sev-medium">medium</span></td><td>RS-A11Y-008</td><td>Document has no title</td><td><code>index.html:2</code></td><td>confirmed</td></tr>
|
|
73
|
-
<tr id="RS-0012"><th scope="row"><a href="#h-RS-0012">RS-0012</a></th><td><span class="sev sev-medium">medium</span></td><td>RS-A11Y-014</td><td>Interactive target smaller than 24x24 CSS px (.icon-btn)</td><td><code>styles.css:3</code></td><td>review-required</td></tr>
|
|
74
|
-
<tr id="RS-0013"><th scope="row"><a href="#h-RS-0013">RS-0013</a></th><td><span class="sev sev-medium">medium</span></td><td>RS-A11Y-019</td><td>email field has no autocomplete attribute</td><td><code>index.html:16</code></td><td>review-required</td></tr>
|
|
75
|
-
<tr id="RS-0014"><th scope="row"><a href="#h-RS-0014">RS-0014</a></th><td><span class="sev sev-medium">medium</span></td><td>RS-MOT-001</td><td>Animations or transitions exist but no prefers-reduced-motion handling</td><td><code>styles.css:6</code></td><td>confirmed</td></tr>
|
|
76
|
-
<tr id="RS-0015"><th scope="row"><a href="#h-RS-0015">RS-0015</a></th><td><span class="sev sev-medium">medium</span></td><td>RS-RESP-002</td><td>Fixed width 1200px can overflow narrow viewports</td><td><code>styles.css:1</code></td><td>review-required</td></tr>
|
|
77
|
-
<tr id="RS-0016"><th scope="row"><a href="#h-RS-0016">RS-0016</a></th><td><span class="sev sev-medium">medium</span></td><td>RS-RESP-003</td><td>No responsive CSS found (media/container queries, clamp, grid auto-fit, flex-wrap)</td><td><code>styles.css:1</code></td><td>review-required</td></tr>
|
|
78
|
-
<tr id="RS-0017"><th scope="row"><a href="#h-RS-0017">RS-0017</a></th><td><span class="sev sev-low">low</span></td><td>RS-A11Y-009</td><td>Heading level skips from h1 to h3</td><td><code>index.html:10</code></td><td>review-required</td></tr>
|
|
79
|
-
<tr id="RS-0018"><th scope="row"><a href="#h-RS-0018">RS-0018</a></th><td><span class="sev sev-low">low</span></td><td>RS-A11Y-015</td><td>No main landmark</td><td><code>index.html:8</code></td><td>review-required</td></tr>
|
|
80
|
-
<tr id="RS-0019"><th scope="row"><a href="#h-RS-0019">RS-0019</a></th><td><span class="sev sev-low">low</span></td><td>RS-CONT-001</td><td>Vague link text "click here"</td><td><code>index.html:14</code></td><td>confirmed</td></tr>
|
|
81
|
-
<tr id="RS-0020"><th scope="row"><a href="#h-RS-0020">RS-0020</a></th><td><span class="sev sev-low">low</span></td><td>RS-PERF-001</td><td>Image has no explicit width and height</td><td><code>index.html:11</code></td><td>review-required</td></tr>
|
|
82
|
-
<tr id="RS-0021"><th scope="row"><a href="#h-RS-0021">RS-0021</a></th><td><span class="sev sev-low">low</span></td><td>RS-VIS-001</td><td>Very small text (10px)</td><td><code>styles.css:4</code></td><td>confirmed</td></tr>
|
|
83
|
-
<tr id="RS-0022"><th scope="row"><a href="#h-RS-0022">RS-0022</a></th><td><span class="sev sev-info">info</span></td><td>RS-TRUST-001</td><td>Urgency or scarcity wording needs review</td><td><code>index.html:19</code></td><td>review-required</td></tr>
|
|
85
|
+
<tr id="RS-0001" class="f s-high st-confirmed"><th scope="row"><a href="#h-RS-0001">RS-0001</a></th><td><span class="sev sev-high">high</span></td><td>RS-A11Y-001</td><td>Image has no alt attribute</td><td><code>index.html:11</code></td><td>confirmed</td></tr>
|
|
86
|
+
<tr id="RS-0002" class="f s-high st-confirmed"><th scope="row"><a href="#h-RS-0002">RS-0002</a></th><td><span class="sev sev-high">high</span></td><td>RS-A11Y-003</td><td>Viewport meta disables or limits zoom</td><td><code>index.html:5</code></td><td>confirmed</td></tr>
|
|
87
|
+
<tr id="RS-0003" class="f s-high st-confirmed"><th scope="row"><a href="#h-RS-0003">RS-0003</a></th><td><span class="sev sev-high">high</span></td><td>RS-A11Y-004</td><td>Button has no accessible name</td><td><code>index.html:13</code></td><td>confirmed</td></tr>
|
|
88
|
+
<tr id="RS-0004" class="f s-high st-review-required"><th scope="row"><a href="#h-RS-0004">RS-0004</a></th><td><span class="sev sev-high">high</span></td><td>RS-A11Y-005</td><td>Form control has no programmatic label</td><td><code>index.html:16</code></td><td>review-required</td></tr>
|
|
89
|
+
<tr id="RS-0005" class="f s-high st-confirmed"><th scope="row"><a href="#h-RS-0005">RS-0005</a></th><td><span class="sev sev-high">high</span></td><td>RS-A11Y-007</td><td>Click handler on non-interactive <div> without role or tabindex</td><td><code>index.html:12</code></td><td>confirmed</td></tr>
|
|
90
|
+
<tr id="RS-0006" class="f s-high st-confirmed"><th scope="row"><a href="#h-RS-0006">RS-0006</a></th><td><span class="sev sev-high">high</span></td><td>RS-A11Y-010</td><td>Focus indicator removed (button:focus, a:focus)</td><td><code>styles.css:2</code></td><td>confirmed</td></tr>
|
|
91
|
+
<tr id="RS-0007" class="f s-high st-confirmed"><th scope="row"><a href="#h-RS-0007">RS-0007</a></th><td><span class="sev sev-high">high</span></td><td>RS-A11Y-013</td><td>Text contrast 2.32:1 is below 4.5:1 (#aaaaaa on #ffffff)</td><td><code>index.html:20</code></td><td>confirmed</td></tr>
|
|
92
|
+
<tr id="RS-0008" class="f s-high st-confirmed"><th scope="row"><a href="#h-RS-0008">RS-0008</a></th><td><span class="sev sev-high">high</span></td><td>RS-A11Y-013</td><td>Text contrast 2.85:1 is below 4.5:1 (#999999 on #ffffff)</td><td><code>styles.css:1</code></td><td>confirmed</td></tr>
|
|
93
|
+
<tr id="RS-0009" class="f s-medium st-confirmed"><th scope="row"><a href="#h-RS-0009">RS-0009</a></th><td><span class="sev sev-medium">medium</span></td><td>RS-A11Y-002</td><td>Document has no lang attribute</td><td><code>index.html:2</code></td><td>confirmed</td></tr>
|
|
94
|
+
<tr id="RS-0010" class="f s-medium st-confirmed"><th scope="row"><a href="#h-RS-0010">RS-0010</a></th><td><span class="sev sev-medium">medium</span></td><td>RS-A11Y-006</td><td>Positive tabindex overrides natural focus order</td><td><code>index.html:17</code></td><td>confirmed</td></tr>
|
|
95
|
+
<tr id="RS-0011" class="f s-medium st-confirmed"><th scope="row"><a href="#h-RS-0011">RS-0011</a></th><td><span class="sev sev-medium">medium</span></td><td>RS-A11Y-008</td><td>Document has no title</td><td><code>index.html:2</code></td><td>confirmed</td></tr>
|
|
96
|
+
<tr id="RS-0012" class="f s-medium st-review-required"><th scope="row"><a href="#h-RS-0012">RS-0012</a></th><td><span class="sev sev-medium">medium</span></td><td>RS-A11Y-014</td><td>Interactive target smaller than 24x24 CSS px (.icon-btn)</td><td><code>styles.css:3</code></td><td>review-required</td></tr>
|
|
97
|
+
<tr id="RS-0013" class="f s-medium st-review-required"><th scope="row"><a href="#h-RS-0013">RS-0013</a></th><td><span class="sev sev-medium">medium</span></td><td>RS-A11Y-019</td><td>email field has no autocomplete attribute</td><td><code>index.html:16</code></td><td>review-required</td></tr>
|
|
98
|
+
<tr id="RS-0014" class="f s-medium st-confirmed"><th scope="row"><a href="#h-RS-0014">RS-0014</a></th><td><span class="sev sev-medium">medium</span></td><td>RS-MOT-001</td><td>Animations or transitions exist but no prefers-reduced-motion handling</td><td><code>styles.css:6</code></td><td>confirmed</td></tr>
|
|
99
|
+
<tr id="RS-0015" class="f s-medium st-review-required"><th scope="row"><a href="#h-RS-0015">RS-0015</a></th><td><span class="sev sev-medium">medium</span></td><td>RS-RESP-002</td><td>Fixed width 1200px can overflow narrow viewports</td><td><code>styles.css:1</code></td><td>review-required</td></tr>
|
|
100
|
+
<tr id="RS-0016" class="f s-medium st-review-required"><th scope="row"><a href="#h-RS-0016">RS-0016</a></th><td><span class="sev sev-medium">medium</span></td><td>RS-RESP-003</td><td>No responsive CSS found (media/container queries, clamp, grid auto-fit, flex-wrap)</td><td><code>styles.css:1</code></td><td>review-required</td></tr>
|
|
101
|
+
<tr id="RS-0017" class="f s-low st-review-required"><th scope="row"><a href="#h-RS-0017">RS-0017</a></th><td><span class="sev sev-low">low</span></td><td>RS-A11Y-009</td><td>Heading level skips from h1 to h3</td><td><code>index.html:10</code></td><td>review-required</td></tr>
|
|
102
|
+
<tr id="RS-0018" class="f s-low st-review-required"><th scope="row"><a href="#h-RS-0018">RS-0018</a></th><td><span class="sev sev-low">low</span></td><td>RS-A11Y-015</td><td>No main landmark</td><td><code>index.html:8</code></td><td>review-required</td></tr>
|
|
103
|
+
<tr id="RS-0019" class="f s-low st-confirmed"><th scope="row"><a href="#h-RS-0019">RS-0019</a></th><td><span class="sev sev-low">low</span></td><td>RS-CONT-001</td><td>Vague link text "click here"</td><td><code>index.html:14</code></td><td>confirmed</td></tr>
|
|
104
|
+
<tr id="RS-0020" class="f s-low st-review-required"><th scope="row"><a href="#h-RS-0020">RS-0020</a></th><td><span class="sev sev-low">low</span></td><td>RS-PERF-001</td><td>Image has no explicit width and height</td><td><code>index.html:11</code></td><td>review-required</td></tr>
|
|
105
|
+
<tr id="RS-0021" class="f s-low st-confirmed"><th scope="row"><a href="#h-RS-0021">RS-0021</a></th><td><span class="sev sev-low">low</span></td><td>RS-VIS-001</td><td>Very small text (10px)</td><td><code>styles.css:4</code></td><td>confirmed</td></tr>
|
|
106
|
+
<tr id="RS-0022" class="f s-info st-review-required"><th scope="row"><a href="#h-RS-0022">RS-0022</a></th><td><span class="sev sev-info">info</span></td><td>RS-TRUST-001</td><td>Urgency or scarcity wording needs review</td><td><code>index.html:19</code></td><td>review-required</td></tr>
|
|
84
107
|
</tbody></table></div>
|
|
85
108
|
<h2>Details</h2>
|
|
86
|
-
<article class="card" aria-labelledby="h-RS-0001">
|
|
109
|
+
<article class="card f s-high st-confirmed" aria-labelledby="h-RS-0001">
|
|
87
110
|
<h3 id="h-RS-0001">RS-0001 — Image has no alt attribute</h3>
|
|
88
111
|
<dl>
|
|
89
112
|
<dt>Severity / confidence / status</dt><dd>high / high / confirmed</dd>
|
|
90
113
|
<dt>Criterion</dt><dd>WCAG 2.2: 1.1.1 Non-text Content</dd>
|
|
91
|
-
<dt>Evidence</dt><dd><code>index.html:11</code> <
|
|
114
|
+
<dt>Evidence</dt><dd><code>index.html:11</code> <code class="ctx" style="display:block"><span><i>9</i> <h1>Acme Store</h1></span><span><i>10</i> <h3>Featured</h3></span><span class="hit"><i>11</i> <img src="hero.jpg"></span><span><i>12</i> <div class="card" onclick="openCart()">Open cart</div></span><span><i>13</i> <button class="icon-btn"></button></span></code></dd>
|
|
92
115
|
<dt>User impact</dt><dd>Screen-reader users hear the file name or nothing, and lose the information the image carries.</dd>
|
|
93
116
|
<dt>Recommended fix</dt><dd>Add a meaningful alt, or alt="" when the image is purely decorative.</dd>
|
|
94
117
|
<dt>Verification</dt><dd>Re-run `rachnasutra accessibility`, then check the image with a screen reader.</dd>
|
|
95
118
|
<dt>Limitations</dt><dd>Whether the alt text is meaningful needs human review.</dd>
|
|
96
119
|
</dl></article>
|
|
97
|
-
<article class="card" aria-labelledby="h-RS-0002">
|
|
120
|
+
<article class="card f s-high st-confirmed" aria-labelledby="h-RS-0002">
|
|
98
121
|
<h3 id="h-RS-0002">RS-0002 — Viewport meta disables or limits zoom</h3>
|
|
99
122
|
<dl>
|
|
100
123
|
<dt>Severity / confidence / status</dt><dd>high / high / confirmed</dd>
|
|
101
124
|
<dt>Criterion</dt><dd>WCAG 2.2: 1.4.4 Resize Text</dd>
|
|
102
|
-
<dt>Evidence</dt><dd><code>index.html:5</code> <
|
|
125
|
+
<dt>Evidence</dt><dd><code>index.html:5</code> <code class="ctx" style="display:block"><span><i>3</i><head></span><span><i>4</i> <meta charset="utf-8"></span><span class="hit"><i>5</i> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"></span><span><i>6</i> <link rel="stylesheet" href="styles.css"></span><span><i>7</i></head></span></code></dd>
|
|
103
126
|
<dt>User impact</dt><dd>Low-vision users cannot pinch-zoom to read text.</dd>
|
|
104
127
|
<dt>Recommended fix</dt><dd>Remove user-scalable=no and any maximum-scale below 2 from the viewport meta.</dd>
|
|
105
128
|
<dt>Verification</dt><dd>Pinch-zoom the page on a real device or emulator.</dd>
|
|
106
129
|
<dt>Limitations</dt><dd>None for the declared value.</dd>
|
|
107
130
|
</dl></article>
|
|
108
|
-
<article class="card" aria-labelledby="h-RS-0003">
|
|
131
|
+
<article class="card f s-high st-confirmed" aria-labelledby="h-RS-0003">
|
|
109
132
|
<h3 id="h-RS-0003">RS-0003 — Button has no accessible name</h3>
|
|
110
133
|
<dl>
|
|
111
134
|
<dt>Severity / confidence / status</dt><dd>high / high / confirmed</dd>
|
|
112
135
|
<dt>Criterion</dt><dd>WCAG 2.2: 4.1.2 Name, Role, Value</dd>
|
|
113
|
-
<dt>Evidence</dt><dd><code>index.html:13</code> <
|
|
136
|
+
<dt>Evidence</dt><dd><code>index.html:13</code> <code class="ctx" style="display:block"><span><i>11</i> <img src="hero.jpg"></span><span><i>12</i> <div class="card" onclick="openCart()">Open cart</div></span><span class="hit"><i>13</i> <button class="icon-btn"></button></span><span><i>14</i> <a href="/sale">click here</a></span><span><i>15</i> <form></span></code></dd>
|
|
114
137
|
<dt>User impact</dt><dd>Screen-reader users hear only "button" and cannot tell what it does.</dd>
|
|
115
138
|
<dt>Recommended fix</dt><dd>Add visible text or an aria-label describing the action.</dd>
|
|
116
139
|
<dt>Verification</dt><dd>Re-run the audit; check the accessible name in the browser accessibility tree.</dd>
|
|
117
140
|
<dt>Limitations</dt><dd>Content injected at runtime would not be seen by static analysis.</dd>
|
|
118
141
|
</dl></article>
|
|
119
|
-
<article class="card" aria-labelledby="h-RS-0004">
|
|
142
|
+
<article class="card f s-high st-review-required" aria-labelledby="h-RS-0004">
|
|
120
143
|
<h3 id="h-RS-0004">RS-0004 — Form control has no programmatic label</h3>
|
|
121
144
|
<dl>
|
|
122
145
|
<dt>Severity / confidence / status</dt><dd>high / medium / review-required</dd>
|
|
123
146
|
<dt>Criterion</dt><dd>WCAG 2.2: 1.3.1 Info and Relationships, 3.3.2 Labels or Instructions, 4.1.2</dd>
|
|
124
|
-
<dt>Evidence</dt><dd><code>index.html:16</code> <
|
|
147
|
+
<dt>Evidence</dt><dd><code>index.html:16</code> <code class="ctx" style="display:block"><span><i>14</i> <a href="/sale">click here</a></span><span><i>15</i> <form></span><span class="hit"><i>16</i> <input type="email" placeholder="Email"></span><span><i>17</i> <input type="text" tabindex="3" aria-label="Name"></span><span><i>18</i> </form></span></code></dd>
|
|
125
148
|
<dt>User impact</dt><dd>Screen-reader and voice-control users cannot identify the field; a placeholder alone disappears on input.</dd>
|
|
126
149
|
<dt>Recommended fix</dt><dd>Associate a visible <label for> (or wrap the control), or add aria-label when no visible label is possible.</dd>
|
|
127
150
|
<dt>Verification</dt><dd>Click the label to focus the field; check the accessible name in the accessibility tree.</dd>
|
|
128
151
|
<dt>Limitations</dt><dd>Labels supplied by a component wrapper or at runtime are not visible to a static scan.</dd>
|
|
129
152
|
</dl></article>
|
|
130
|
-
<article class="card" aria-labelledby="h-RS-0005">
|
|
153
|
+
<article class="card f s-high st-confirmed" aria-labelledby="h-RS-0005">
|
|
131
154
|
<h3 id="h-RS-0005">RS-0005 — Click handler on non-interactive <div> without role or tabindex</h3>
|
|
132
155
|
<dl>
|
|
133
156
|
<dt>Severity / confidence / status</dt><dd>high / high / confirmed</dd>
|
|
134
157
|
<dt>Criterion</dt><dd>WCAG 2.2: 2.1.1 Keyboard, 4.1.2 Name, Role, Value</dd>
|
|
135
|
-
<dt>Evidence</dt><dd><code>index.html:12</code> <
|
|
158
|
+
<dt>Evidence</dt><dd><code>index.html:12</code> <code class="ctx" style="display:block"><span><i>10</i> <h3>Featured</h3></span><span><i>11</i> <img src="hero.jpg"></span><span class="hit"><i>12</i> <div class="card" onclick="openCart()">Open cart</div></span><span><i>13</i> <button class="icon-btn"></button></span><span><i>14</i> <a href="/sale">click here</a></span></code></dd>
|
|
136
159
|
<dt>User impact</dt><dd>Keyboard and assistive-technology users cannot reach or activate the control.</dd>
|
|
137
160
|
<dt>Recommended fix</dt><dd>Use a real <button> (or <a href>); if impossible, add role, tabindex="0" and key handlers.</dd>
|
|
138
161
|
<dt>Verification</dt><dd>Operate the control with Tab, Enter and Space only.</dd>
|
|
139
162
|
<dt>Limitations</dt><dd>Delegated key handlers elsewhere are not visible to a static scan.</dd>
|
|
140
163
|
</dl></article>
|
|
141
|
-
<article class="card" aria-labelledby="h-RS-0006">
|
|
164
|
+
<article class="card f s-high st-confirmed" aria-labelledby="h-RS-0006">
|
|
142
165
|
<h3 id="h-RS-0006">RS-0006 — Focus indicator removed (button:focus, a:focus)</h3>
|
|
143
166
|
<dl>
|
|
144
167
|
<dt>Severity / confidence / status</dt><dd>high / high / confirmed</dd>
|
|
145
168
|
<dt>Criterion</dt><dd>WCAG 2.2: 2.4.7 Focus Visible</dd>
|
|
146
|
-
<dt>Evidence</dt><dd><code>styles.css:2</code> <
|
|
169
|
+
<dt>Evidence</dt><dd><code>styles.css:2</code> <code class="ctx" style="display:block"><span><i>1</i>.hero { width: 1200px; background: #ffffff; color: #999999; }</span><span class="hit"><i>2</i>button:focus, a:focus { outline: none; }</span><span><i>3</i>.icon-btn { width: 16px; height: 16px; }</span><span><i>4</i>.note { font-size: 10px; }</span></code></dd>
|
|
147
170
|
<dt>User impact</dt><dd>Keyboard users cannot see where focus is.</dd>
|
|
148
171
|
<dt>Recommended fix</dt><dd>Keep the default outline or provide a clearly visible :focus-visible style with 3:1 contrast.</dd>
|
|
149
172
|
<dt>Verification</dt><dd>Tab through the control and confirm a visible indicator.</dd>
|
|
150
173
|
<dt>Limitations</dt><dd>A replacement style in another rule or file may exist.</dd>
|
|
151
174
|
</dl></article>
|
|
152
|
-
<article class="card" aria-labelledby="h-RS-0007">
|
|
175
|
+
<article class="card f s-high st-confirmed" aria-labelledby="h-RS-0007">
|
|
153
176
|
<h3 id="h-RS-0007">RS-0007 — Text contrast 2.32:1 is below 4.5:1 (#aaaaaa on #ffffff)</h3>
|
|
154
177
|
<dl>
|
|
155
178
|
<dt>Severity / confidence / status</dt><dd>high / high / confirmed</dd>
|
|
156
179
|
<dt>Criterion</dt><dd>WCAG 2.2: 1.4.3 Contrast (Minimum)</dd>
|
|
157
|
-
<dt>Evidence</dt><dd><code>index.html:20</code> <
|
|
180
|
+
<dt>Evidence</dt><dd><code>index.html:20</code> <code class="ctx" style="display:block"><span><i>18</i> </form></span><span><i>19</i> <p class="urgent">Hurry! Only 3 left in stock.</p></span><span class="hit"><i>20</i> <p style="color:#aaaaaa;background:#ffffff">Light grey inline text</p></span><span><i>21</i></body></span><span><i>22</i></html></span></code></dd>
|
|
158
181
|
<dt>User impact</dt><dd>Low-vision users and anyone in bright light may be unable to read this text.</dd>
|
|
159
182
|
<dt>Recommended fix</dt><dd>Darken the text or lighten the background until the ratio is at least 4.5:1 (3:1 for large text).</dd>
|
|
160
183
|
<dt>Verification</dt><dd>Re-run the audit; spot-check the rendered colour pair with a contrast tool.</dd>
|
|
161
184
|
<dt>Limitations</dt><dd>Measured from literal inline declarations. Large-text exemption is not applied to inline styles.</dd>
|
|
162
185
|
</dl></article>
|
|
163
|
-
<article class="card" aria-labelledby="h-RS-0008">
|
|
186
|
+
<article class="card f s-high st-confirmed" aria-labelledby="h-RS-0008">
|
|
164
187
|
<h3 id="h-RS-0008">RS-0008 — Text contrast 2.85:1 is below 4.5:1 (#999999 on #ffffff)</h3>
|
|
165
188
|
<dl>
|
|
166
189
|
<dt>Severity / confidence / status</dt><dd>high / high / confirmed</dd>
|
|
167
190
|
<dt>Criterion</dt><dd>WCAG 2.2: 1.4.3 Contrast (Minimum)</dd>
|
|
168
|
-
<dt>Evidence</dt><dd><code>styles.css:1</code> <
|
|
191
|
+
<dt>Evidence</dt><dd><code>styles.css:1</code> <code class="ctx" style="display:block"><span class="hit"><i>1</i>.hero { width: 1200px; background: #ffffff; color: #999999; }</span><span><i>2</i>button:focus, a:focus { outline: none; }</span><span><i>3</i>.icon-btn { width: 16px; height: 16px; }</span></code></dd>
|
|
169
192
|
<dt>User impact</dt><dd>Low-vision users and anyone in bright light may be unable to read this text.</dd>
|
|
170
193
|
<dt>Recommended fix</dt><dd>Darken the text or lighten the background until the ratio is at least 4.5:1.</dd>
|
|
171
194
|
<dt>Verification</dt><dd>Re-run the audit; spot-check the rendered colour pair with a contrast tool.</dd>
|
|
172
195
|
<dt>Limitations</dt><dd>Measured from literal declarations in one rule. Cascade, opacity, gradients and images are not resolved.</dd>
|
|
173
196
|
</dl></article>
|
|
174
|
-
<article class="card" aria-labelledby="h-RS-0009">
|
|
197
|
+
<article class="card f s-medium st-confirmed" aria-labelledby="h-RS-0009">
|
|
175
198
|
<h3 id="h-RS-0009">RS-0009 — Document has no lang attribute</h3>
|
|
176
199
|
<dl>
|
|
177
200
|
<dt>Severity / confidence / status</dt><dd>medium / high / confirmed</dd>
|
|
178
201
|
<dt>Criterion</dt><dd>WCAG 2.2: 3.1.1 Language of Page</dd>
|
|
179
|
-
<dt>Evidence</dt><dd><code>index.html:2</code> <
|
|
202
|
+
<dt>Evidence</dt><dd><code>index.html:2</code> <code class="ctx" style="display:block"><span><i>1</i><!doctype html></span><span class="hit"><i>2</i><html></span><span><i>3</i><head></span><span><i>4</i> <meta charset="utf-8"></span></code></dd>
|
|
180
203
|
<dt>User impact</dt><dd>Screen readers may pronounce content with the wrong language rules.</dd>
|
|
181
204
|
<dt>Recommended fix</dt><dd>Add lang to the <html> element, for example <html lang="en">.</dd>
|
|
182
205
|
<dt>Verification</dt><dd>Re-run the audit; confirm with a screen reader that pronunciation is correct.</dd>
|
|
183
206
|
<dt>Limitations</dt><dd>None for the missing attribute; the right language code is a content decision.</dd>
|
|
184
207
|
</dl></article>
|
|
185
|
-
<article class="card" aria-labelledby="h-RS-0010">
|
|
208
|
+
<article class="card f s-medium st-confirmed" aria-labelledby="h-RS-0010">
|
|
186
209
|
<h3 id="h-RS-0010">RS-0010 — Positive tabindex overrides natural focus order</h3>
|
|
187
210
|
<dl>
|
|
188
211
|
<dt>Severity / confidence / status</dt><dd>medium / high / confirmed</dd>
|
|
189
212
|
<dt>Criterion</dt><dd>WCAG 2.2: 2.4.3 Focus Order</dd>
|
|
190
|
-
<dt>Evidence</dt><dd><code>index.html:17</code> <
|
|
213
|
+
<dt>Evidence</dt><dd><code>index.html:17</code> <code class="ctx" style="display:block"><span><i>15</i> <form></span><span><i>16</i> <input type="email" placeholder="Email"></span><span class="hit"><i>17</i> <input type="text" tabindex="3" aria-label="Name"></span><span><i>18</i> </form></span><span><i>19</i> <p class="urgent">Hurry! Only 3 left in stock.</p></span></code></dd>
|
|
191
214
|
<dt>User impact</dt><dd>Keyboard users tab through elements in a surprising order.</dd>
|
|
192
215
|
<dt>Recommended fix</dt><dd>Use tabindex="0" or "-1" only, and fix the DOM order instead.</dd>
|
|
193
216
|
<dt>Verification</dt><dd>Tab through the page and confirm the order matches the visual order.</dd>
|
|
194
217
|
<dt>Limitations</dt><dd>None for the declared value.</dd>
|
|
195
218
|
</dl></article>
|
|
196
|
-
<article class="card" aria-labelledby="h-RS-0011">
|
|
219
|
+
<article class="card f s-medium st-confirmed" aria-labelledby="h-RS-0011">
|
|
197
220
|
<h3 id="h-RS-0011">RS-0011 — Document has no title</h3>
|
|
198
221
|
<dl>
|
|
199
222
|
<dt>Severity / confidence / status</dt><dd>medium / high / confirmed</dd>
|
|
200
223
|
<dt>Criterion</dt><dd>WCAG 2.2: 2.4.2 Page Titled</dd>
|
|
201
|
-
<dt>Evidence</dt><dd><code>index.html:2</code> <
|
|
224
|
+
<dt>Evidence</dt><dd><code>index.html:2</code> <code class="ctx" style="display:block"><span><i>1</i><!doctype html></span><span class="hit"><i>2</i><html></span><span><i>3</i><head></span><span><i>4</i> <meta charset="utf-8"></span></code></dd>
|
|
202
225
|
<dt>User impact</dt><dd>Users cannot tell tabs, history entries or search results apart.</dd>
|
|
203
226
|
<dt>Recommended fix</dt><dd>Add a unique, descriptive <title> in <head>.</dd>
|
|
204
227
|
<dt>Verification</dt><dd>Re-run the audit and check the browser tab.</dd>
|
|
205
228
|
<dt>Limitations</dt><dd>A title may be set at runtime by a script.</dd>
|
|
206
229
|
</dl></article>
|
|
207
|
-
<article class="card" aria-labelledby="h-RS-0012">
|
|
230
|
+
<article class="card f s-medium st-review-required" aria-labelledby="h-RS-0012">
|
|
208
231
|
<h3 id="h-RS-0012">RS-0012 — Interactive target smaller than 24x24 CSS px (.icon-btn)</h3>
|
|
209
232
|
<dl>
|
|
210
233
|
<dt>Severity / confidence / status</dt><dd>medium / low / review-required</dd>
|
|
211
234
|
<dt>Criterion</dt><dd>WCAG 2.2: 2.5.8 Target Size (Minimum)</dd>
|
|
212
|
-
<dt>Evidence</dt><dd><code>styles.css:3</code> <
|
|
235
|
+
<dt>Evidence</dt><dd><code>styles.css:3</code> <code class="ctx" style="display:block"><span><i>1</i>.hero { width: 1200px; background: #ffffff; color: #999999; }</span><span><i>2</i>button:focus, a:focus { outline: none; }</span><span class="hit"><i>3</i>.icon-btn { width: 16px; height: 16px; }</span><span><i>4</i>.note { font-size: 10px; }</span><span><i>5</i>.card:hover { background: #eee; }</span></code></dd>
|
|
213
236
|
<dt>User impact</dt><dd>Users with tremor or on touch screens may mis-tap.</dd>
|
|
214
237
|
<dt>Recommended fix</dt><dd>Make the target at least 24x24 CSS px (44x44 recommended for touch) or add spacing.</dd>
|
|
215
238
|
<dt>Verification</dt><dd>Measure the rendered bounding box in a browser at the target viewport.</dd>
|
|
216
239
|
<dt>Limitations</dt><dd>Padding may enlarge the real target; selector-name match is heuristic.</dd>
|
|
217
240
|
</dl></article>
|
|
218
|
-
<article class="card" aria-labelledby="h-RS-0013">
|
|
241
|
+
<article class="card f s-medium st-review-required" aria-labelledby="h-RS-0013">
|
|
219
242
|
<h3 id="h-RS-0013">RS-0013 — email field has no autocomplete attribute</h3>
|
|
220
243
|
<dl>
|
|
221
244
|
<dt>Severity / confidence / status</dt><dd>medium / medium / review-required</dd>
|
|
222
245
|
<dt>Criterion</dt><dd>WCAG 2.2: 1.3.5 Identify Input Purpose</dd>
|
|
223
|
-
<dt>Evidence</dt><dd><code>index.html:16</code> <
|
|
246
|
+
<dt>Evidence</dt><dd><code>index.html:16</code> <code class="ctx" style="display:block"><span><i>14</i> <a href="/sale">click here</a></span><span><i>15</i> <form></span><span class="hit"><i>16</i> <input type="email" placeholder="Email"></span><span><i>17</i> <input type="text" tabindex="3" aria-label="Name"></span><span><i>18</i> </form></span></code></dd>
|
|
224
247
|
<dt>User impact</dt><dd>Browsers and password managers cannot fill the field, and users retype personal data.</dd>
|
|
225
248
|
<dt>Recommended fix</dt><dd>Add autocomplete="email".</dd>
|
|
226
249
|
<dt>Verification</dt><dd>Re-run the audit, then use the browser autofill menu on the field.</dd>
|
|
227
250
|
<dt>Limitations</dt><dd>Only type=email and type=tel are checked. Other personal fields need a human look.</dd>
|
|
228
251
|
</dl></article>
|
|
229
|
-
<article class="card" aria-labelledby="h-RS-0014">
|
|
252
|
+
<article class="card f s-medium st-confirmed" aria-labelledby="h-RS-0014">
|
|
230
253
|
<h3 id="h-RS-0014">RS-0014 — Animations or transitions exist but no prefers-reduced-motion handling</h3>
|
|
231
254
|
<dl>
|
|
232
255
|
<dt>Severity / confidence / status</dt><dd>medium / high / confirmed</dd>
|
|
233
256
|
<dt>Criterion</dt><dd>WCAG 2.2: 2.3.3 Animation from Interactions (AAA, best practice)</dd>
|
|
234
|
-
<dt>Evidence</dt><dd><code>styles.css:6</code> <
|
|
257
|
+
<dt>Evidence</dt><dd><code>styles.css:6</code> <code class="ctx" style="display:block"><span><i>4</i>.note { font-size: 10px; }</span><span><i>5</i>.card:hover { background: #eee; }</span><span class="hit"><i>6</i>.fade { transition: opacity 0.4s; animation: spin 2s infinite; }</span><span><i>7</i> </span></code></dd>
|
|
235
258
|
<dt>User impact</dt><dd>Users with vestibular disorders may be made unwell by motion they asked the OS to reduce.</dd>
|
|
236
259
|
<dt>Recommended fix</dt><dd>Wrap non-essential motion in @media (prefers-reduced-motion: no-preference) or disable it under reduce.</dd>
|
|
237
260
|
<dt>Verification</dt><dd>Enable "reduce motion" in the OS and confirm motion stops.</dd>
|
|
238
261
|
<dt>Limitations</dt><dd>Motion may be handled in JavaScript; only CSS was scanned.</dd>
|
|
239
262
|
</dl></article>
|
|
240
|
-
<article class="card" aria-labelledby="h-RS-0015">
|
|
263
|
+
<article class="card f s-medium st-review-required" aria-labelledby="h-RS-0015">
|
|
241
264
|
<h3 id="h-RS-0015">RS-0015 — Fixed width 1200px can overflow narrow viewports</h3>
|
|
242
265
|
<dl>
|
|
243
266
|
<dt>Severity / confidence / status</dt><dd>medium / medium / review-required</dd>
|
|
244
267
|
<dt>Criterion</dt><dd>WCAG 2.2: 1.4.10 Reflow</dd>
|
|
245
|
-
<dt>Evidence</dt><dd><code>styles.css:1</code> <
|
|
268
|
+
<dt>Evidence</dt><dd><code>styles.css:1</code> <code class="ctx" style="display:block"><span class="hit"><i>1</i>.hero { width: 1200px; background: #ffffff; color: #999999; }</span><span><i>2</i>button:focus, a:focus { outline: none; }</span><span><i>3</i>.icon-btn { width: 16px; height: 16px; }</span></code></dd>
|
|
246
269
|
<dt>User impact</dt><dd>On a 320px-wide screen this forces horizontal scrolling.</dd>
|
|
247
270
|
<dt>Recommended fix</dt><dd>Use max-width with width: 100%, or relative units, and let content reflow.</dd>
|
|
248
271
|
<dt>Verification</dt><dd>Render at 320x568 and confirm no horizontal scroll.</dd>
|
|
249
272
|
<dt>Limitations</dt><dd>A parent container or media query may constrain the element; not rendered.</dd>
|
|
250
273
|
</dl></article>
|
|
251
|
-
<article class="card" aria-labelledby="h-RS-0016">
|
|
274
|
+
<article class="card f s-medium st-review-required" aria-labelledby="h-RS-0016">
|
|
252
275
|
<h3 id="h-RS-0016">RS-0016 — No responsive CSS found (media/container queries, clamp, grid auto-fit, flex-wrap)</h3>
|
|
253
276
|
<dl>
|
|
254
277
|
<dt>Severity / confidence / status</dt><dd>medium / medium / review-required</dd>
|
|
255
278
|
|
|
256
|
-
<dt>Evidence</dt><dd><code>styles.css:1</code> <
|
|
279
|
+
<dt>Evidence</dt><dd><code>styles.css:1</code> <code class="ctx" style="display:block"><span class="hit"><i>1</i>.hero { width: 1200px; background: #ffffff; color: #999999; }</span><span><i>2</i>button:focus, a:focus { outline: none; }</span><span><i>3</i>.icon-btn { width: 16px; height: 16px; }</span></code></dd>
|
|
257
280
|
<dt>User impact</dt><dd>Layouts may not adapt to phones, tablets or large displays.</dd>
|
|
258
281
|
<dt>Recommended fix</dt><dd>Adopt a mobile-first approach with media or container queries and fluid sizing.</dd>
|
|
259
282
|
<dt>Verification</dt><dd>Render at 320, 390, 768, 1024 and 1440 widths and review each screenshot.</dd>
|
|
260
283
|
<dt>Limitations</dt><dd>CSS frameworks (Tailwind, Bootstrap) supply responsive rules not visible in source CSS.</dd>
|
|
261
284
|
</dl></article>
|
|
262
|
-
<article class="card" aria-labelledby="h-RS-0017">
|
|
285
|
+
<article class="card f s-low st-review-required" aria-labelledby="h-RS-0017">
|
|
263
286
|
<h3 id="h-RS-0017">RS-0017 — Heading level skips from h1 to h3</h3>
|
|
264
287
|
<dl>
|
|
265
288
|
<dt>Severity / confidence / status</dt><dd>low / medium / review-required</dd>
|
|
266
289
|
<dt>Criterion</dt><dd>WCAG 2.2: 1.3.1 Info and Relationships</dd>
|
|
267
|
-
<dt>Evidence</dt><dd><code>index.html:10</code> <
|
|
290
|
+
<dt>Evidence</dt><dd><code>index.html:10</code> <code class="ctx" style="display:block"><span><i>8</i><body></span><span><i>9</i> <h1>Acme Store</h1></span><span class="hit"><i>10</i> <h3>Featured</h3></span><span><i>11</i> <img src="hero.jpg"></span><span><i>12</i> <div class="card" onclick="openCart()">Open cart</div></span></code></dd>
|
|
268
291
|
<dt>User impact</dt><dd>Heading navigation implies a broken outline; users may miss that sections are related.</dd>
|
|
269
292
|
<dt>Recommended fix</dt><dd>Use sequential heading levels, and style headings with CSS rather than by level.</dd>
|
|
270
293
|
<dt>Verification</dt><dd>Inspect the heading outline in the browser accessibility tree.</dd>
|
|
271
294
|
<dt>Limitations</dt><dd>Heading order across included partials is not visible to a single-file scan.</dd>
|
|
272
295
|
</dl></article>
|
|
273
|
-
<article class="card" aria-labelledby="h-RS-0018">
|
|
296
|
+
<article class="card f s-low st-review-required" aria-labelledby="h-RS-0018">
|
|
274
297
|
<h3 id="h-RS-0018">RS-0018 — No main landmark</h3>
|
|
275
298
|
<dl>
|
|
276
299
|
<dt>Severity / confidence / status</dt><dd>low / medium / review-required</dd>
|
|
277
300
|
<dt>Criterion</dt><dd>WCAG 2.2: 1.3.1 Info and Relationships, 2.4.1 Bypass Blocks</dd>
|
|
278
|
-
<dt>Evidence</dt><dd><code>index.html:8</code> <
|
|
301
|
+
<dt>Evidence</dt><dd><code>index.html:8</code> <code class="ctx" style="display:block"><span><i>6</i> <link rel="stylesheet" href="styles.css"></span><span><i>7</i></head></span><span class="hit"><i>8</i><body></span><span><i>9</i> <h1>Acme Store</h1></span><span><i>10</i> <h3>Featured</h3></span></code></dd>
|
|
279
302
|
<dt>User impact</dt><dd>Keyboard and screen-reader users cannot jump straight to the primary content.</dd>
|
|
280
303
|
<dt>Recommended fix</dt><dd>Wrap the primary content in <main> and add a skip link if there is repeated navigation.</dd>
|
|
281
304
|
<dt>Verification</dt><dd>Check landmarks with a screen-reader landmark list or the browser accessibility tree.</dd>
|
|
282
305
|
<dt>Limitations</dt><dd>A shared layout file may provide <main> for this page.</dd>
|
|
283
306
|
</dl></article>
|
|
284
|
-
<article class="card" aria-labelledby="h-RS-0019">
|
|
307
|
+
<article class="card f s-low st-confirmed" aria-labelledby="h-RS-0019">
|
|
285
308
|
<h3 id="h-RS-0019">RS-0019 — Vague link text "click here"</h3>
|
|
286
309
|
<dl>
|
|
287
310
|
<dt>Severity / confidence / status</dt><dd>low / high / confirmed</dd>
|
|
288
311
|
<dt>Criterion</dt><dd>WCAG 2.2: 2.4.4 Link Purpose (In Context)</dd>
|
|
289
|
-
<dt>Evidence</dt><dd><code>index.html:14</code> <
|
|
312
|
+
<dt>Evidence</dt><dd><code>index.html:14</code> <code class="ctx" style="display:block"><span><i>12</i> <div class="card" onclick="openCart()">Open cart</div></span><span><i>13</i> <button class="icon-btn"></button></span><span class="hit"><i>14</i> <a href="/sale">click here</a></span><span><i>15</i> <form></span><span><i>16</i> <input type="email" placeholder="Email"></span></code></dd>
|
|
290
313
|
<dt>User impact</dt><dd>Links listed out of context (screen-reader link lists) are indistinguishable.</dd>
|
|
291
314
|
<dt>Recommended fix</dt><dd>Describe the destination in the link text, for example "Read the pricing guide".</dd>
|
|
292
315
|
<dt>Verification</dt><dd>Re-run the audit; review the page link list.</dd>
|
|
293
316
|
<dt>Limitations</dt><dd>Surrounding context may make the purpose clear to sighted users.</dd>
|
|
294
317
|
</dl></article>
|
|
295
|
-
<article class="card" aria-labelledby="h-RS-0020">
|
|
318
|
+
<article class="card f s-low st-review-required" aria-labelledby="h-RS-0020">
|
|
296
319
|
<h3 id="h-RS-0020">RS-0020 — Image has no explicit width and height</h3>
|
|
297
320
|
<dl>
|
|
298
321
|
<dt>Severity / confidence / status</dt><dd>low / medium / review-required</dd>
|
|
299
322
|
|
|
300
|
-
<dt>Evidence</dt><dd><code>index.html:11</code> <
|
|
323
|
+
<dt>Evidence</dt><dd><code>index.html:11</code> <code class="ctx" style="display:block"><span><i>9</i> <h1>Acme Store</h1></span><span><i>10</i> <h3>Featured</h3></span><span class="hit"><i>11</i> <img src="hero.jpg"></span><span><i>12</i> <div class="card" onclick="openCart()">Open cart</div></span><span><i>13</i> <button class="icon-btn"></button></span></code></dd>
|
|
301
324
|
<dt>User impact</dt><dd>Late-loading images can shift layout (Cumulative Layout Shift) while the page renders.</dd>
|
|
302
325
|
<dt>Recommended fix</dt><dd>Set width and height attributes (or CSS aspect-ratio) so the browser reserves space.</dd>
|
|
303
326
|
<dt>Verification</dt><dd>Measure CLS in a lab run (Lighthouse) before and after; compare field data if available.</dd>
|
|
304
327
|
<dt>Limitations</dt><dd>CSS elsewhere may already reserve the space; not measured at runtime.</dd>
|
|
305
328
|
</dl></article>
|
|
306
|
-
<article class="card" aria-labelledby="h-RS-0021">
|
|
329
|
+
<article class="card f s-low st-confirmed" aria-labelledby="h-RS-0021">
|
|
307
330
|
<h3 id="h-RS-0021">RS-0021 — Very small text (10px)</h3>
|
|
308
331
|
<dl>
|
|
309
332
|
<dt>Severity / confidence / status</dt><dd>low / high / confirmed</dd>
|
|
310
333
|
<dt>Criterion</dt><dd>WCAG 2.2: 1.4.4 Resize Text (readability)</dd>
|
|
311
|
-
<dt>Evidence</dt><dd><code>styles.css:4</code> <
|
|
334
|
+
<dt>Evidence</dt><dd><code>styles.css:4</code> <code class="ctx" style="display:block"><span><i>2</i>button:focus, a:focus { outline: none; }</span><span><i>3</i>.icon-btn { width: 16px; height: 16px; }</span><span class="hit"><i>4</i>.note { font-size: 10px; }</span><span><i>5</i>.card:hover { background: #eee; }</span><span><i>6</i>.fade { transition: opacity 0.4s; animation: spin 2s infinite; }</span></code></dd>
|
|
312
335
|
<dt>User impact</dt><dd>Small text is hard to read, especially on mobile and for low-vision users.</dd>
|
|
313
336
|
<dt>Recommended fix</dt><dd>Use at least 12px for supplementary text and 16px for body text; prefer rem units.</dd>
|
|
314
337
|
<dt>Verification</dt><dd>View on a real phone at normal distance.</dd>
|
|
315
338
|
<dt>Limitations</dt><dd>Context (legal footers, labels) may justify small text; this is a readability signal.</dd>
|
|
316
339
|
</dl></article>
|
|
317
|
-
<article class="card" aria-labelledby="h-RS-0022">
|
|
340
|
+
<article class="card f s-info st-review-required" aria-labelledby="h-RS-0022">
|
|
318
341
|
<h3 id="h-RS-0022">RS-0022 — Urgency or scarcity wording needs review</h3>
|
|
319
342
|
<dl>
|
|
320
343
|
<dt>Severity / confidence / status</dt><dd>info / low / review-required</dd>
|
|
321
344
|
|
|
322
|
-
<dt>Evidence</dt><dd><code>index.html:19</code> <
|
|
345
|
+
<dt>Evidence</dt><dd><code>index.html:19</code> <code class="ctx" style="display:block"><span><i>17</i> <input type="text" tabindex="3" aria-label="Name"></span><span><i>18</i> </form></span><span class="hit"><i>19</i> <p class="urgent">Hurry! Only 3 left in stock.</p></span><span><i>20</i> <p style="color:#aaaaaa;background:#ffffff">Light grey inline text</p></span><span><i>21</i></body></span></code></dd>
|
|
323
346
|
<dt>User impact</dt><dd>False scarcity or urgency is a dark pattern that manipulates users.</dd>
|
|
324
347
|
<dt>Recommended fix</dt><dd>Confirm the claim is true and sourced from real data; otherwise remove it.</dd>
|
|
325
348
|
<dt>Verification</dt><dd>Human review of the data source behind the claim.</dd>
|