-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
75 lines (72 loc) · 3.58 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
70
71
72
73
74
75
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>LOC :focus — Level 1</title>
<meta name="description" content="A keyboard navigation game.">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="/favicon.ico">
<link rel="stylesheet" type="text/css" href="./assets/css/hocus.css">
<meta property="og:title" content="LOC :focus">
<meta property="og:description" content="A keyboard navigation game.">
<meta property="og:image" content="https://focus.hteumeuleu.com/assets/images/og.png">
</head>
<body>
<div class="page">
<header class="header" role="banner">
<h1 class="title"><a href="./index.html">LOC :FOCUS</a></h1>
<p class="subtitle">
A keyboard accessibility game.
</p>
</header>
<main class="main" role="main">
<div class="rules">
<p>What a nice day to visit the Library!</p>
<br>
<p>To get started, use the <kbd>TAB</kbd> key on the keyboard to navigate from START to FINISH. More keyboard commands are below the game. Each level will make it harder to ge to the finish!</p>
</div>
<form action="2">
<div class="game has-focus-styles">
<div class="scoreboard">
<span class="level">Level 1</span>
<span class="timer">00:00.00</span>
</div>
<button type="button" class="icon is-start" autofocus="autofocus"><img src="./assets/images/map.png" alt="map"><span class="badge">Start</span></button>
<button type="button" class="icon"><img src="./assets/images/recording.png" alt="recording"></button>
<button type="button" class="icon"><img src="./assets/images/mix.png" alt="mixed media"></button>
<button type="button" class="icon"><img src="./assets/images/book.png" alt="book"></button>
<button type="button" class="icon"><img src="./assets/images/news.png" alt="newspaper"></button>
<button type="button" class="icon"><img src="./assets/images/music.png" alt="music"></button>
<button type="button" class="icon"><img src="./assets/images/photo.png" alt="photographic print"></button>
<button type="submit" class="icon is-finish"><img src="./assets/images/legislation.png" alt="legislation"><span class="badge">Finish</span></button>
<button type="button" class="icon"><img src="./assets/images/film.png" alt="film"></button>
<button type="button" class="icon"><img src="./assets/images/rare.png" alt="rare books"></button>
<button type="button" class="icon"><img src="./assets/images/chapter.png" alt="chapter"></button>
<button type="button" class="icon"><img src="./assets/images/article.png" alt="article"></button>
<button type="button" class="icon"><img src="./assets/images/mic.png" alt="microphone"></button>
<button type="button" class="icon"><img src="./assets/images/map2.png" alt="folded map"></button>
</div>
</form>
<script>sessionStorage.clear()</script>
<div class="instructions">
<p class="is-key-next">
<kbd>TAB</kbd> Next
</p>
<p class="is-key-previous">
<kbd>SHIFT</kbd> + <kbd>TAB</kbd> Previous
</p>
<p class="is-key-validate">
<kbd>ENTER</kbd> Validate
</p>
</div>
</main>
<footer class="footer" role="contentinfo">
<p>To learn more about accessibility, check out the <a href="https://staff.loc.gov/sites/digital-accessibility/">Digital Accessility Hub</a>.</p>
<p>If you have questions, email <a href="mailto:[email protected]">[email protected]</a>.
<p>This game is based on <a href="https://focus.hteumeuleu.com/3/">Hocus :focus</a> by <a href="https://twitter.com/HTeuMeuLeu">@HTeuMeuLeu</a>.</p>
</footer>
</div>
<script src="./assets/js/hocus.js" defer></script>
<noscript><style>.timer{display:none;}</style></noscript>
</body>
</html>