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<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>General Accessibility Audit - Audit Details - Equalify</title>
</head>
<body>
<header>
<nav aria-label="Main">
<ul>
<li><a href="#">Audits</a></li>
<li><a href="#">Account</a></li>
</ul>
</nav>
</hader>
<main>
<h1>General Accessibility Audit</h1>
<div aria-live="polite">Grouping items by page.</div>
<article>
<h2>Overview</h2>
<p>40 checks on 2 pages. Manually triggered.</p>
</article>
<article>
<h2>Actions</h2>
<nav aria-label="Audit Actions">
<button>Run Audit</button>
<a href="7-audit_editor.html">Edit Audit</a>
</nav>
</article>
<article>
<h2>Progress</h2>
<table>
<thead>
<tr>
<th>Audit Date</th>
<th>Equalified</th>
</tr>
</thead>
<tbody>
<tr>
<td>12-1-24</td>
<td>0%</td>
</tr>
</tbody>
</table>
</article>
<article>
<h2>Related Items</h2>
<section>
<h3>View Options</h3>
<form>
<fieldset>
<legend>Search</legend>
<label for="search_source">Search In:</label>
<select id="search_source">
<option>Page Title</option>
<option>URL</option>
<option>Tag</option>
<option>Issue</option>
<option>Item Code</option>
</select>
<label for="search">Keywords:</label>
<input type="text" id="search">
</fieldset>
<fieldset>
<legend>Group Items By</legend>
<label>
<input name="group" type="radio"> Issue
</label>
<label>
<input name="group" type="radio" checked> Page
</label>
<label>
<input name="group" type="radio"> Check
</label>
<label>
<input name="group" type="radio"> None
</label>
</fieldset> <fieldset>
<legend>Include Items with Status</legend>
<label>
<input type="checkbox" checked> Active
</label>
<label>
<input type="checkbox"> Ignored
</label>
<label>
<input type="checkbox" checked> Equalified
</label>
</fieldset>
<fieldset>
<legend>Sort</legend>
<label>
<input name="sort" type="radio" checked> Alphabetically (A to Z)
</label>
<label>
<input name="sort" type="radio"> Alphabetically (Z to A)
</label>
<label>
<input name="sort" type="radio"> Active Items (Most to Least)
</label>
<label>
<input name="sort" type="radio"> Active Items (Least to Most)
</label>
<label>
<input name="sort" type="radio"> Audited (Latest to Oldest)
</label>
<label>
<input name="sort" type="radio"> Audited (Oldest to Latest)
</label>
</fieldset>
<button type="button">Save View Options</button>
</form>
</section>
<section>
<h3>All Page Items - Grouped by Page - Hiding Ignored Items</h3>
<details>
<summary><a href="#">Berkeley Library (Staging)</a> - <code>https://update.lib.berkeley.edu/</code> (1 Active Item)</summary>
<table>
<thead>
<tr>
<th>
<input type="checkbox" aria-label="Select all items" onclick="toggleAllTableCheckboxes(this)">
</th>
<th>ID</th>
<th>Code</th>
<th>Screenshot</th>
<th>Issues</th>
<th>Status</th>
<th>Check</th>
<th>Audit Date</th>
</tr>
</thead>
<tbody>
<tr>
<td><input type="checkbox" class="row-checkbox"></td>
<td>3</td>
<td><code><h1 class="weird_heading"></h1></code></td>
<td><img src="image.jpg" alt="Screenshot of Item 3"></td>
<td>Heading tag without any text</td>
<td>Active</td>
<td>empty-headings</td>
<td>12-1-2024</td>
</tr>
</tbody>
</table>
<nav aria-label="Berkeley Library (Staging) Table of Items">
Showing 1 of 1 Items <button disabled>Load More Page Items</button>
</nav>
</details>
<details>
<summary><a href="#">Berkeley Homepage (Staging)</a> - <code>https://www-stg.berkeley.edu</code> (1 Active Item)</summary>
<table>
<thead>
<tr>
<th>
<input type="checkbox" aria-label="Select all items" onclick="toggleAllTableCheckboxes(this)">
</th>
<th>ID</th>
<th>Code</th>
<th>Screenshot</th>
<th>Issues</th>
<th>Status</th>
<th>Check</th>
<th>Audit Date</th>
</tr>
</thead>
<tbody>
<tr>
<td><input type="checkbox" class="row-checkbox"></td>
<td>1</td>
<td><code><h2><!-- Heading should not be empty --></h2></code></td>
<td><img src="image.jpg" alt="Screenshot of Item 1"></td>
<td>Heading tag without any text</td>
<td>Active</td>
<td>empty-headings</td>
<td>12-1-2024</td>
</tr>
</tbody>
</table>
<nav aria-label="Berkeley Homepage (Staging) Table of Items">
Showing 1 of 1 Items <button disabled>Load More Page Items</button>
</nav>
</details>
<nav aria-label="Audited Pages">
Showing 2 of 2 Audited Pages <button disabled>Load More Pages</button>
</nav>
<script>
function toggleAllTableCheckboxes(source) {
const table = source.closest('table');
const checkboxes = table.querySelectorAll('.row-checkbox');
checkboxes.forEach(checkbox => checkbox.checked = source.checked);
toggleEditOptions();
}
</script>
</section>
<section>
<h3>Edit Page Items</h3>
<button>Ignore Item(s)</button>
<button onclick="openDialog()">Generate Ticket</button>
<script>
function openDialog() {
const dialog = document.getElementById("generate-ticket-dialog");
if (dialog) {
dialog.showModal();
}
}
function closeDialog() {
const dialog = document.getElementById("generate-ticket-dialog");
if (dialog) {
dialog.close();
}
}
</script>
<dialog id="generate-ticket-dialog">
<h4>Generated Ticket</h4>
<div id="ticketStatus" aria-live="polite">Ticket generated into content field.</div>
<form method="dialog">
<label for="ticket-content">Content:</label>
<textarea id="ticket-content">
### Accessibility Issues Summary
1. **Berkeley Library (Staging)** - [https://update.lib.berkeley.edu/](https://update.lib.berkeley.edu/)
- **Issue:** Heading tag without any text.
- **Code Snippet:** `<h1 class="weird_heading"></h1>`
- **Status:** Active.
- **Check Type:** `empty-headings`.
- **Audit Date:** 12-1-2024.
- **Suggested Fix:** Add meaningful text to the `<h1>` tag, e.g., `<h1>Welcome to the Library</h1>`.
2. **Berkeley Homepage (Staging)** - [https://www-stg.berkeley.edu](https://www-stg.berkeley.edu)
- **Issue:** Heading tag without any text.
- **Code Snippet:** `<h2><!-- Heading should not be empty --></h2>`
- **Status:** Active.
- **Check Type:** `empty-headings`.
- **Audit Date:** 12-1-2024.
- **Suggested Fix:** Include a descriptive heading, e.g., `<h2>Explore Berkeley's Resources</h2>`.
Ensure all headings are meaningful and assistive technology-friendly.
Rescan page at https://equalify.app/audit1
</textarea>
<div style="margin-top: 15px;">
<button type="button" id="copyButton">Copy Ticket</button>
<button type="button">Save to Jira</button>
<button type="button" onclick="document.getElementById('generate-ticket-dialog').close();">Close</button>
<script>
document.getElementById('copyButton').addEventListener('click', function() {
// Replace the content of the div with the message
const statusDiv = document.getElementById('ticketStatus');
statusDiv.textContent = 'Ticket content copied.';
});
</script>
</div>
</form>
</dialog>
</section>
</article>
<article>
<h2>Related Logs</h2>
<table>
<thead>
<tr>
<th>ID</th>
<th>Summary</th>
<th>Trigger</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="#">Log 3</a></td>
<td>One item ignored from General Accessibility Audit.</td>
<td>User: Lucy</td>
</tr>
<tr>
<td><a href="#">Log 2</a></td>
<td>Audit ran. Three page items have issues.</td>
<td>General Accessibility Audit</td>
</tr>
<tr>
<td><a href="#">Log 1</a></td>
<td>Two pages added to General Accessibility Audit.</td>
<td>User: Lucy</td>
</tr>
</tbody>
</table>
<nav aria-label="Logs Table">
Showing 2 of 2 Logs <button disabled>Load More Logs</button>
</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>