-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
69 lines (62 loc) · 3.98 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<!-- Ensures proper rendering and touch zooming -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Accessibility Report Viewer</title>
<!-- Link to external CSS for styling -->
<link rel="stylesheet" href="style.css">
<link rel="apple-touch-icon" sizes="180x180" href="/favicons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicons/favicon-16x16.png">
</head>
<body>
<!-- Container for URL input -->
<div class="url-input-container">
<!-- Accessible label for the input field -->
<label for="urlInput" class="visually-hidden">Enter webpage URL</label>
<!-- Input field for entering a webpage URL -->
<input type="text" id="urlInput" placeholder="Enter webpage URL" style="width: 100%;" />
<!-- Button to check the accessibility of the entered URL -->
<button id="checkAccessibilityBtn">Check Accessibility</button>
</div>
<!-- Message displayed only on mobile devices, suggesting to check on desktop -->
<div id="mobileMessage" class="mobile-only-message">
Please save the page and check it on your desktop; it still sucks on mobile.
</div>
<div class="mobile-text">
<p><strong>50+ tests</strong> - <strong>Opensourced</strong> - <strong>No SignUp</strong> - <strong>unlimited requests</strong> - <strong>here to stay</strong></p>
</div>
<!-- Section explaining how the tool works -->
<div class="how-it-works">
<p><strong>50+ tests</strong> - <strong>Opensourced</strong> - <strong>No SignUp</strong> - <strong>unlimited requests</strong> - <strong>here to stay</strong></p>
<p>How it works: Just <strong>submit</strong> an URL like https://en.wikipedia.org/wiki/Web_accessibility or wikipedia.org then <strong>click</strong> on "<strong>Check Accessibility</strong>" and wait for <strong>2min</strong>, if you are in the web <strong>you can just type allyviz.com/</strong> in front of every domain so it looks like this <strong>allyviz.com/https://en.wikipedia.org/</strong> <br>You can <strong>hover</strong> over each overlay to see more information <br> See how it works on <a href="https://github.com/jcmpagel/allyviz.com/" target="_blank">GitHub</a>. or <a href="https://jonathanpagel.com/donate/" target="_blank">buy me a coffee</a>.</p>
<p>Check my page for <a href="https://jonathanpagel.com/allyviz-com-a-visual-accessebility-tool/#why">the why</a>, <a href="https://jonathanpagel.com/allyviz-com-a-visual-accessebility-tool/#how">how it works</a>, or the <a href="https://jonathanpagel.com/allyviz-com-a-visual-accessebility-tool/#limitation">limitations</a>.</p>
</div>
<!-- Placeholder for estimated time, initially hidden -->
<span id="estimatedTime" style="width: 100%;"></span>
<!-- Container for the loading symbol, hidden by default -->
<div id="loadingSymbol" style="display: none;">
<!-- Placeholder for displaying accessibility facts -->
<p id="accessibilityFacts"></p>
</div>
<!-- Main container for the screenshot and audit sections -->
<div class="container">
<!-- Section for displaying the webpage screenshot -->
<div class="screenshot-section" tabindex="0">
<div class="screenshot-wrapper">
<img id="screenshot" src="" alt="Full Page Screenshot of the accessibility tested webpage">
</div>
</div>
<!-- Section for displaying the accessibility audit results -->
<div class="audit-section" id="auditSection" tabindex="0">
<!-- Accessibility audits will be listed here -->
</div>
</div>
<!-- Global tooltip container, hidden by default -->
<div id="globalTooltip" class="global-tooltip"></div>
<!-- External JavaScript for functionality -->
<script src="script.js"></script>
</body>
</html>