📦 EqualifyEverything / equalify-v2-dashboard-mocks

📄 14-audit_details-ran.html · 314 lines
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<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>OCR 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>OCR Review</h1>
        <div aria-live="polite">Account upgraded.</div>
        <div aria-live="polite">Issues found on four pages items.</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="#">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" checked> Issue
                        </label>
                        <label>
                            <input name="group" type="radio"> Page
                        </label>
                        <label>
                            <input name="group" type="radio"> Check
                        </label>
                        <label>
                            <input name="group" type="radio"> None 
                        </label>
                    </fieldset>
                    <fieldset>
                        <legend>Include Issues with Tag</legend>
                        <label>
                            <input name="tag" type="checkbox" checked> WCAG 2.2 A
                        </label>
                        <label>
                            <input name="tag" type="checkbox" checked> WCAG 2.2 AA
                        </label>
                        <label>
                            <input name="tag" type="checkbox" checked> WCAG 2.2 AAA
                        </label>
                        <label>
                            <input name="tag" type="checkbox" checked> Heading Elements
                        </label>
                        <label>
                            <input name="tag" type="checkbox" checked> Focus State
                        </label>
                    </fieldset>
                    <fieldset>
                        <legend>Include Items with Status</legend>
                        <label>
                            <input type="checkbox" checked> Active
                        </label>
                        <label>
                            <input type="checkbox" checked> 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" onclick="window.location.href='15-audit_details-tagged.html';">Save View Options</button>
                </form>
            </section>
            <section>
                <h3>Related Page Items - Grouped by Issue</h3>
                <details>        
                    <summary><a href="#">Focus State not displaying</a> (1 Active Item) - Tags: WCAG 2.2 A, WCAG 2.2 AA, WCAG 2.2 AAA, Focus State</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>Page Title</th>
                                <th>URL</th>
                                <th>Status</th>
                                <th>Check</th>
                                <th>Audit Date</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr>
                                <td><input type="checkbox" class="row-checkbox"></td>
                                <td>4</td>
                                <td><code>&lt;a href="#" class="nav"&gt;Home&lt;/a&gt;</code></td>
                                <td><img src="image.jpg" alt="Screenshot of Item 3"></td>
                                <td>Berkeley Library (Staging)</td>
                                <td><code>https://update.lib.berkeley.edu/</code></td>
                                <td>Active</td>
                                <td>empty-headings</td>
                                <td>12-1-2024</td>
                            </tr>
                        </tbody>
                    </table>
                    <nav aria-label="Heading tag without any text Table">
                        Showing 1 of 1 Items <button disabled>Load More Items With Issue</button>
                    </nav> 
                </details>
                <details>        
                    <summary><a href="#">Heading tag without any text</a> (2 Active Items) - Tags: WCAG 2.2 A, WCAG 2.2 AA, WCAG 2.2 AAA, Heading Elements</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>Page Title</th>
                                <th>URL</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>&lt;h1 class="weird_heading"&gt;&lt;/h1&gt;</code></td>
                                <td><img src="image.jpg" alt="Screenshot of Item 3"></td>
                                <td>Berkeley Library (Staging)</td>
                                <td><code>https://update.lib.berkeley.edu/</code></td>
                                <td>Active</td>
                                <td>empty-headings</td>
                                <td>12-1-2024</td>
                            </tr>
                            <tr>
                                <td><input type="checkbox" class="row-checkbox"></td>
                                <td>1</td>
                                <td><code>&lt;h2&gt;&lt;!-- Heading should not be empty --&gt;&lt;/h2&gt;</code></td>
                                <td><img src="image.jpg" alt="Screenshot of Item 1"></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="Heading tag without any text Table">
                        Showing 2 of 2 Items <button disabled>Load More Items With Issue</button>
                    </nav> 
                </details>
                <details>
                    <summary><a href="#">Manual check: should this be a heading?</a> (1 Ignored Item) - Tags: WCAG 2.2 A, WCAG 2.2 AA, WCAG 2.2 AAA, Heading Elements</summary>
                    <table aria-label="Items with the issue Manual check: should this be a heading?">
                        <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>Page Title</th>
                                <th>URL</th>
                                <th>Status</th>
                                <th>Check</th>
                                <th>Audit Date</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr>
                                <td><input type="checkbox" class="row-checkbox"></td>
                                <td>2</td>
                                <td><code>&lt;h1 class=&quot;hello this is a test&quot;&gt;&lt;a href=&quot;#&quot;&gt;&lt;a&gt;&lt;/h1&gt;</code></td>
                                <td><img src="image.jpg" alt="Screenshot of Item 2"></td>
                                <td>Berkeley Homepage (Staging)</td>
                                <td><code>https://www-stg.berkeley.edu</code></td>
                                <td>Ignored</td>
                                <td>empty-headings</td>
                                <td>12-1-2024</td>
                            </tr>
                        </tbody>
                    </table>
                    <nav aria-label="Manual check: should this be a heading? Table">
                        Showing 1 of 1 Items <button disabled>Load More Items With Issue</button>
                    </nav> 
                </details>
                <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>Generate Ticket</button>
            </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 6</a></td>
                        <td>Issues found on four pages items.</td>
                        <td>OCR Review</td>
                    </tr>
                    <tr>
                        <td><a href="#">Log 5</a></td>
                        <td>OCR Review Audit created.</td>
                        <td>User: Lucy</td>
                    </tr>
                </tbody>
            </table>
            <nav aria-label="Logs">
                Showing 2 of 2 Logs <button disabled>Load More Logs</button>
            </nav>
        </article>
    </main>

    <footer>
        <section>
            9,997 scans remaining.
        </section>
        <section>
            Need help? Email <a href="#">support@equalify.app</a>.
        </section>
    </footer>
</body>
</html>