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<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Equalify</title>
</head>
<body>
<header>
<nav aria-label="Main">
<ul>
<li><a href="#" aria-current="page">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>Equalify</h1>
<section>
<h2>Quick Start</h2>
<form action="2-authentication.html" method="get">
<fieldset>
<legend>Add Pages</legend>
<label for="importer">Import By:</label>
<select id="importer">
<option selected>Page URL(s)</option>
<option>Sitemap</option>
<option>CSV</option>
</select>
<div id="page-url-section">
<label for="urls">Page URL(s):</label>
<input id="urls" type="text" required>
</div>
<div id="sitemap-section" style="display:none;">
<label for="sitemap-url">Sitemap URL:</label>
<input id="sitemap-url" type="url">
</div>
<div id="csv-section" style="display:none;">
<label for="csv-upload">CSV Upload:</label>
<input id="csv-upload" type="file" accept=".csv">
</div>
</fieldset>
<fieldset>
<legend>Audits</legend>
<ul>
<li>
<label>
<input type="checkbox" checked> General Accessibility Audit
</label>
</li>
</ul>
<a href="11-audit_editor.html">New Audit</a>
</fieldset>
<button>Add & Audit Page(s)</button>
</form>
<script>
document.getElementById("importer").addEventListener("change", function() {
var selectedOption = this.value;
// Hide all sections
document.getElementById("page-url-section").style.display = "none";
document.getElementById("sitemap-section").style.display = "none";
document.getElementById("csv-section").style.display = "none";
// Show the appropriate section based on selection
if (selectedOption === "Page URL(s)") {
document.getElementById("page-url-section").style.display = "block";
} else if (selectedOption === "Sitemap") {
document.getElementById("sitemap-section").style.display = "block";
} else if (selectedOption === "CSV") {
document.getElementById("csv-section").style.display = "block";
}
});
</script>
</section>
<section>
<h2>Audits</h2>
<table>
<thead>
<tr>
<th>Name</th>
<th>Checks</th>
<th>Pages</th>
<th>Progress</th>
<th>Last Ran</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="#">General Accessibility Audit</a></td>
<td>40</td>
<td>2</td>
<td>0% Equalified</td>
<td>12-1-2024 at 01:20:20</td>
</tr>
</tbody>
</table>
</section>
</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>