-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
52 lines (37 loc) · 1.66 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>A11y Contrast Checker</title>
<link rel="stylesheet" href="style.css">
<script src="blob.js"></script>
<script src="canvas.js"></script>
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/html2canvas/0.4.1/html2canvas.min.js"></script> -->
<script src="https://html2canvas.hertzen.com/dist/html2canvas.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/FileSaver.js/2.0.0/FileSaver.min.js"></script>
</head>
<body class="random-color">
<img src="./cybtekk_dark_background.svg" alt="" width="250px" height="88px">
<div id="result" class="codess"> Accessibility Color Contrast Checker </div>
<div id="grid">
<span>#<span id="label-1" contenteditable="true">FFAAAA</span></span>
<input type="color" id="color-1" class="color1" name="color1" value="#FFAAAA">
<span>#<span id="label-2" contenteditable="true">734C8F</span></span>
<input type="color" id="color-2" class="color2" name="color2" value="#734C8F">
</div>
<br>
<button>Check A11y</button>
<input type="file" id="filetag">
<div id="move">
<img src="cancel.png" alt="" width="50px" class="cancel" onclick="hidestuff();">
<img src="" id="preview">
</div>
<h1 style="padding-bottom: 50px;
margin-bottom: 50px;"> </h1>
<div><img src="" id="screenshot"></div>
<script src="main.js"></script>
<script src="script.js"></script>
</body>
</html>