1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Lucy's Review - Audit Details - Equalify</title>
</head>
<body>
<header>
<nav aria-label="Main">
<ul>
<li><a href="#">Audits</a></li>
<li><a href="#">Pages</a></li>
<li><a href="#">Logs</a></li>
<li><a href="#">Account</a></li>
</ul>
</nav>
</header>
<main>
<h1>Lucy's Review</h1>
<div aria-live="assertive">Audit ran. Three blockers found.</div>
<article>
<h2>Overview</h2>
<p>2 pages. Runs monthly. Currently, idle.</p>
</article>
<article>
<h2>Actions</h2>
<nav aria-label="Audit Actions">
<button>Run Audit</button>
<a href="#">Edit Audit</a>
</nav>
</article>
<article>
<h2>Progress</h2>
<table>
<thead>
<tr>
<th>Audit Snapshot</th>
<th>Fixed Blockers</th>
</tr>
</thead>
<tbody>
<tr>
<td>11-1-24</td>
<td>0%</td>
</tr>
</tbody>
</table>
</article>
<article>
<h2>Blockers</h2>
<input type="checkbox" name="toggle" id="toggle_view_options" />
<script>
document.addEventListener("DOMContentLoaded", function () {
const viewOptions = document.getElementById("view_options");
const toggleViewOptions = document.getElementById("toggle_view_options");
// Hide view options by default
viewOptions.style.display = "none";
viewOptions.setAttribute("aria-hidden", "true");
// Toggle visibility on checkbox change
toggleViewOptions.addEventListener("change", function () {
if (toggleViewOptions.checked) {
viewOptions.style.display = "block";
viewOptions.setAttribute("aria-hidden", "false");
} else {
viewOptions.style.display = "none";
viewOptions.setAttribute("aria-hidden", "true");
}
});
});
</script>
<label for="toggle_view_options">
Show View Options
</label>
<section id="view_options">
<h3>View Options</h3>
<form>
<div role="group" aria-labelledby="search-group">
<h4 id="search-group">Search</h4>
<label for="search_source">Search In:</label>
<select id="search_source">
<option>Blocker Code</option>
<option>Page Title</option>
<option>URL</option>
<option>Tag</option>
<option>Issue</option>
</select>
<label for="search">Keywords:</label>
<input type="text" id="search">
</div>
<div role="group" aria-labelledby="filter-blockers-by-url">
<h4 id="filter-blockers-by-url">Filter Blockers By URL</h4>
</div>
<div role="group" aria-labelledby="include-source">
<h4 id="include-source">Blocker Source</h4>
<input id="source-editora11y" type="checkbox" checked>
<label for="source-editora11y">Editora11y</label>
<input id="source-axe" type="checkbox" checked>
<label for="source-axe">axe-core</label>
<input id="source-adobe" type="checkbox" checked>
<label for="source-adobe">Adobe PDF Checker</label>
</div>
<div role="group" aria-labelledby="include-tags">
<h4 id="include-tags">Include Issues with Tag</h4>
<input id="tag-select-all" type="checkbox" checked>
<label for="tag-select-all">Select All</label>
<input id="tag-wcag-a" name="tag" type="checkbox" checked>
<label for="tag-wcag-a">WCAG 2.2 A</label>
<input id="tag-wcag-aa" name="tag" type="checkbox" checked>
<label for="tag-wcag-aa">WCAG 2.2 AA</label>
<input id="tag-wcag-aaa" name="tag" type="checkbox" checked>
<label for="tag-wcag-aaa">WCAG 2.2 AAA</label>
<input id="tag-heading-elements" name="tag" type="checkbox" checked>
<label for="tag-heading-elements">Heading Elements</label>
<script>
document.addEventListener("DOMContentLoaded", function () {
const selectAllCheckbox = document.getElementById("tag-select-all");
const tagCheckboxes = document.querySelectorAll('div[aria-labelledby="include-tags"] input[type="checkbox"]:not(#tag-select-all)');
selectAllCheckbox.addEventListener("change", function () {
tagCheckboxes.forEach(checkbox => checkbox.checked = selectAllCheckbox.checked);
});
// Update "Select All" state when any checkbox is manually changed
tagCheckboxes.forEach(checkbox => {
checkbox.addEventListener("change", function () {
selectAllCheckbox.checked = [...tagCheckboxes].every(cb => cb.checked);
});
});
});
</script>
</div>
<div role="group" aria-labelledby="include-status">
<h4 id="include-status">Include Blockers with Status</h4>
<input id="status-active" type="checkbox" checked>
<label for="status-active">Active</label>
<input id="status-ignored" type="checkbox">
<label for="status-ignored">Ignored</label>
<input id="status-equalified" type="checkbox" checked>
<label for="status-equalified">Equalified</label>
</div>
<div role="group" aria-labelledby="sort-group">
<h4 id="sort-group">Sort</h4>
<input id="sort-az" name="sort" type="radio" checked>
<label for="sort-az">Alphabetically (A to Z)</label>
<input id="sort-za" name="sort" type="radio">
<label for="sort-za">Alphabetically (Z to A)</label>
<input id="sort-active-most" name="sort" type="radio">
<label for="sort-active-most">Active Blockers (Most to Least)</label>
<input id="sort-active-least" name="sort" type="radio">
<label for="sort-active-least">Active Blockers (Least to Most)</label>
<input id="sort-latest" name="sort" type="radio">
<label for="sort-latest">Audited (Latest to Oldest)</label>
<input id="sort-oldest" name="sort" type="radio">
<label for="sort-oldest">Audited (Oldest to Latest)</label>
</div>
<button>Save View Options</button>
</form>
</section>
<section>
<h3>All Blockers - Grouped by Issue - Hiding Ignored Blockers</h3>
<div class="accordion">
<h4>
<button id="issue-empty-alt-text" type="button" aria-expanded="false" class="accordion-trigger">
Empty Alt Text (2 Active Blockers) - Tags: WCAG 2.2 AA, Images
</button>
</h4>
<div role="region" aria-labelledby="issue-empty-alt-text" style="display: none;">
<a href="#">More info on "Empty Alt Text" Issue</a>
<input id="all-repeat-link-text" type="checkbox" class="select_all"> <label for="all-repeat-link-text">Select All Blockers with "Empty Alt Text" Issue</label>
<table summary="Includes all blockers related to the Empty Alt Text issue. Blocker code is in the first column, screenshot in the second, page title and url of the page with the blocker are in the third and fourth column, blocker status is in the fifth column, the check that caught the blocker is in the sixth column, and the audit date is in the seventh collumn. Each row represents a new blocker.">
<thead>
<tr>
<th>Blocker Code</th>
<th>Screenshot</th>
<th>Page Title</th>
<th>URL</th>
<th>Status</th>
<th>Check</th>
<th>Audit Date</th>
</tr>
</thead>
<tbody>
<tr>
<th role="rowheader"><input id="blocker-3" type="checkbox"> <label for="blocker-3"><code><img class="weird_heading"></code></label></th>
<td><img src="image.jpg" alt="Screenshot of Blocker 3"></td>
<td>Berkeley Library (Staging)</td>
<td><code>https://update.lib.berkeley.edu/</code></td>
<td>Active</td>
<td>empty-alt-text</td>
<td>12-1-2024</td>
</tr>
<tr>
<th role="rowheader"><input id="blocker-2" type="checkbox"> <label for="blocker-2"><code><img alt="" ></code></th>
<td><img src="image.jpg" alt="Screenshot of Blocker 1"></td>
<td>Berkeley Homepage (Staging)</td>
<td><code>https://www-stg.berkeley.edu</code></td>
<td>Active</td>
<td>empty-alt-text</td>
<td>12-1-2024</td>
</tr>
</tbody>
</table>
<nav aria-label="Empty Alt Text Table of Blockers">
<label for="item-count">Showing 2 of 2 Blockers. Change Number of Blockers Displayed:</label>
<select id="item-count">
<option selected>Up to 5</option>
</select>
</nav>
</div>
<h4>
<button id="issue-repeat-link-text" type="button" aria-expanded="false" class="accordion-trigger">
Repeat Link Text (1 Active Blocker) - Tags: Links, Benefits Screen Readers
</button>
</h4>
<div role="region" aria-labelledby="issue-repeat-link-text" style="display: none;">
<a href="#">More info on "Empty Alt Text" Issue</a>
<input id="all-empty-alt-text" type="checkbox" class="select_all"> <label for="all-empty-alt-text">Select All Blockers with "Empty Alt Text" Issue</label>
<table summary="Includes all blockers related to the Repeat Link Text issue. Blocker code is in the first column, screenshot in the second, page title and url of the page with the blocker are in the third and fourth column, blocker status is in the fifth column, the check that caught the blocker is in the sixth column, and the audit date is in the seventh collumn. Each row represents a new blocker.">
<thead>
<tr>
<th>Blocker Code</th>
<th>Screenshot</th>
<th>Page Title</th>
<th>URL</th>
<th>Status</th>
<th>Check</th>
<th>Audit Date</th>
</tr>
</thead>
<tbody>
<tr>
<th role="rowheader"><input id="blocker-1" type="checkbox"><label for="blocker-1"><code><a class="hello this is a test">Hello World</a><a href="#">Hello World</a></code></label></th>
<td><img src="image.jpg" alt="Screenshot of Blocker 2"></td>
<td>Berkeley Homepage (Staging)</td>
<td><code>https://www-stg.berkeley.edu</code></td>
<td>Active</td>
<td>empty-headings</td>
<td>12-1-2024</td>
</tr>
</tbody>
</table>
<nav aria-label="Repeat Link Text Table of Blockers">
<label for="item-count">Showing 1 of 1 Blockers. Change Number of Blockers Displayed:</label>
<select id="item-count">
<option selected>Up to 5</option>
</select>
</nav>
</div>
</div>
<script>
// Accordion
document.addEventListener("DOMContentLoaded", function () {
document.querySelectorAll(".accordion-trigger").forEach((button) => {
button.addEventListener("click", function () {
const panel = this.parentElement.nextElementSibling;
const isExpanded = this.getAttribute("aria-expanded") === "true";
// Toggle aria-expanded
this.setAttribute("aria-expanded", !isExpanded);
// Toggle visibility
if (!isExpanded) {
panel.style.display = "block";
} else {
panel.style.display = "none";
}
});
});
});
// Select All
document.querySelectorAll('.select_all').forEach(selectAllCheckbox => {
selectAllCheckbox.addEventListener('change', function() {
const parent = this.closest('div, table, details');
const checkboxes = parent.querySelectorAll('input[type="checkbox"]:not(.select_all)');
checkboxes.forEach(checkbox => checkbox.checked = this.checked);
});
});
</script>
<nav aria-label="Issues">
<label for="item-count">Showing 2 of 2 Issue Groups. Change Number of Issue Groups Displayed:</label>
<select id="item-count">
<option selected>Up to 5</option>
</select>
</nav>
</section>
<section>
<h3>Manage Selected Blockers</h3>
<nav aria-label="Manage Selected Blockers">
<button onclick="window.location.href='9-audit_details-ignored_item.html';">Ignore Blockers</button>
<button>Generate Ticket</button>
</nav>
</section>
</article>
<article>
<h2>Related Logs</h2>
<table>
<thead>
<tr>
<th>ID</th>
<th>Summary</th>
<th>Trigger</th>
</tr>
</thead>
<tbody>
<tr>
<th role="rowheader"><a href="#">Log 3</a></th>
<td>Audit ran. Three blockers found.</td>
<td>Lucy's Review Audit</td>
</tr>
<tr>
<th role="rowheader"><a href="#">Log 2</a></th>
<td>Lucy's Review created with two pages and two checks.</td>
<td>User: Lucy</td>
</tr>
</tbody>
</table>
<nav aria-label="Logs Table">
<label for="item-count">Showing 2 of 2 Logs. Change Number of Logs Displayed:</label>
<select id="item-count">
<option selected>Up to 5</option>
</select>
</nav>
</article>
</main>
<footer>
<section>
<h2>Scan Quota</h2>
<p>0 free scans remaining. <a href="#">Upgrade</a>.</p>
</section>
<section>
<h2>Need help?</h2>
<p>Email <a href="#">support@equalify.app</a>.</p>
</section>
</footer>
</body>
</html>