-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
349 lines (340 loc) · 12 KB
/
index.html
File metadata and controls
349 lines (340 loc) · 12 KB
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
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Accessible Javascript Patterns</title>
<link rel="stylesheet" href="./styles/main.css">
<link rel="stylesheet" href="./styles/menubar.css">
<link rel="stylesheet" href="./styles/modal.css">
</head>
<body>
<header class="header">
<h1 class="title">Accessible Javascript Patterns</h1>
<button id="btn_nav" class="btn btn_nav">Menu</button>
<nav aria-labelledby="mainmenulabel" class="nav" id="nav">
<h2 id="mainmenulabel" class="visuallyHidden">Main menu</h3>
<ul id="menubar1" role="menubar">
<li role="none">
<a role="menuitem"
aria-haspopup="true"
aria-expanded="false"
href="#audubon"
tabindex="0"> Jean Audubon
<svg>
<use xlink:href="./assets/sprite.svg#triangle-down"></use>
</svg>
</a>
<ul role="menu" aria-label="Birds of America">
<li role="none">
<a role="menuitem" href="./pages/duck.html">
King duck
</a>
</li>
<li role="none">
<a role="menuitem" href="./pages/swan.html">
American swan
</a>
</li>
<li role="none">
<a role="menuitem" href="./pages/cormorant.html">
Florida cormorant
</a>
</li>
<li role="none">
<a role="menuitem" href="./pages/avocet.html">
American Avocet
</a>
</li>
<li role="none">
<a role="menuitem" href="./pages/flamingo.html">
American Flamingo
</a>
</li>
<li role="none">
<a role="menuitem" href="./pages/lark.html">
Meadow Lark
</a>
</li>
<li role="none">
<a role="menuitem" href="./pages/chat.html">
Yellow Breasted Chat
</a>
</li>
<li role="none">
<a role="menuitem" href="./pages/buzzard.html">
Turkey Buzzard
</a>
</li>
<li role="none">
<a role="menuitem" href="./pages/eagle.html">
Caracara Eagle
</a>
</li>
<li role="none">
<a role="menuitem" href="./pages/pigeon.html">
Blue Headed Pigeon
</a>
</li>
<li role="none">
<a role="menuitem" href="./pages/ptarmigan.html">
American Ptarmigan
</a>
</li>
<li role="none">
<a role="menuitem" href="./pages/eagle.1.html">
Golden Eagle
</a>
</li>
<li role="none">
<a role="menuitem" href="./pages/hummingbird.html">
Mango Hummingbird
</a>
</li>
<li role="none">
<a role="menuitem" href="./pages/goldfinch.html">
American Goldfinch
</a>
</li>
</ul>
</li>
<li role="none">
<a role="menuitem"
aria-haspopup="true"
aria-expanded="false"
href="#deboodt"
tabindex="0"> Anselmus de Boodt
<svg>
<use xlink:href="./assets/sprite.svg#triangle-down"></use>
</svg>
</a>
<ul role="menu" aria-label="Natural Paintings">
<li role="none">
<a role="menuitem" href="./pages/turtle.html" aria-current="page">
Sea turtle
</a>
</li>
<li role="none">
<a role="menuitem" href="./pages/hippocampus.html">
Hippocampus
</a>
</li>
<li role="none">
<a role="menuitem" href="./pages/whale.html">
Whale
</a>
</li>
<li role="none">
<a role="menuitem" href="./pages/cassowary.html">
Helmet Cassowary
</a>
</li>
<li role="none">
<a role="menuitem" href="./pages/camel.html">
Camel and Giraffe
</a>
</li>
<li role="none">
<a role="menuitem" href="./pages/cat.html">
Cat
</a>
</li>
<li role="none">
<a role="menuitem" href="./pages/macaw.html">
Scarlet macaw
</a>
</li>
<li role="none">
<a role="menuitem" href="./pages/porcupine.html">
Crested Porcupine
</a>
</li>
<li role="none">
<a role="menuitem" href="./pages/chameleon.html">
Chameleon
</a>
</li>
<li role="none">
<a role="menuitem" href="./pages/elephant.html">
Asian Elephant
</a>
</li>
<li role="none">
<a role="menuitem" href="./pages/armadillo.html">
Bullet Armadillo
</a>
</li>
<li role="none">
<a role="menuitem" href="./pages/seal.html">
Seal
</a>
</li>
</ul>
</li>
</ul>
</nav>
</header>
<main>
<img src="./assets/heron.jpg" alt="Great white heron drawn by John Audubon" class="img">
<section class="section" id="audubon">
<h2>John James Audubon</h2>
<p class="bio">John James Audubon (born Jean Rabin; April 26, 1785 – January 27, 1851) was an American
<a href="https://en.wikipedia.org/wiki/Ornithology">ornithologist</a>, <a href="https://en.wikipedia.org/wiki/Natural_history">naturalist</a>,
and <a href="https://en.wikipedia.org/wiki/Painting">painter</a>.
He was notable for his extensive studies documenting all types of American birds and for his detailed illustrations that depicted the birds in their natural habitats.
His major work, a color-plate book entitled <a href="https://en.wikipedia.org/wiki/The_Birds_of_America">The Birds of America</a> (1827–1839),
is considered one of the finest ornithological works ever completed. Audubon identified 25 new species.
</p>
<img class="gallery-side" src="./assets/audubon-1.jpg" alt="Gallery of Audubon's bird drawings"></img>
<img class="gallery-bottom" src="./assets/audubon-2.jpg" alt=""></img>
</section>
<section class="section" id="deboodt">
<h2>Anselmus Boëtius de Boodt</h2>
<p class="bio">Anselmus de Boodt or Anselmus Boëtius de Boodt (Bruges, 1550 - Bruges, 21 June 1632) was a Flemish
<a href="https://en.wikipedia.org/wiki/Humanism">humanist</a>, <a href="https://en.wikipedia.org/wiki/Mineralogy">mineralogist</a>,
<a href="https://en.wikipedia.org/wiki/Physician">physician</a> and <a href="https://en.wikipedia.org/wiki/Natural_history">naturalist</a>.
Along with the German known as Georgius Agricola, de Boodt was responsible for establishing modern mineralogy.
De Boodt was an avid mineral collector who travelled widely to various mining regions in Germany, Bohemia and Silesia to collect samples.
His definitive work on the subject was the Gemmarum et Lapidum Historia (1609).
</p>
<img class="gallery-side" src="./assets/boodt-1.jpg" alt="Gallery of Boodt's animal drawings"></img>
<img class="gallery-bottom" src="./assets/boodt-2.jpg" alt=""></img>
</section>
<button id="open-dialog" class="btn btn_open" >I want to receive bird images</button>
</main>
<div role="dialog"
id="mainDialog"
aria-labelledby="main_dialog_label"
aria-modal="true"
class="hidden">
<h2 id="main_dialog_label" class="dialog_header">
Add Delivery Address
</h2>
<div class="dialog_form">
<div class="dialog_form_item">
<label>
<span class="label">
Name
</span>
<input type="text" class="input">
</label>
</div>
<div class="dialog_form_item">
<label>
<span class="label">
Email
</span>
<input type="text" class="input">
</label>
</div>
</div>
<div class="dialog_form_actions">
<button id="open-more" class="btn btn_more">
About us
</button>
<button class="btn btn_ok" id="open-ok">
Add
</button>
<button id="cancel" class="btn btn_cancel">
Cancel
</button>
</div>
</div>
<div id="moreInfoDialog"
role="dialog"
aria-labelledby="more_info_label"
aria-describedby="more_info_desc"
aria-modal="true"
class="hidden">
<h2 id="more_info_label" class="dialog_header">
We care about you!
</h2>
<div id="more_info_desc" class="dialog_desc">
<p tabindex="-1" id="more_para_1">
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.
</p>
<p>
Donec nec justo eget felis facilisis fermentum. Aliquam porttitor mauris sit amet orci. Aenean dignissim pellentesque felis.
</p>
<ul>
<li>
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
</li>
<li>
Aliquam tincidunt mauris eu risus.
</li>
<li>
Vestibulum auctor dapibus neque.
</li>
<li>
Nunc dignissim risus id metus.
<ul>
<li>
Cras ornare tristique elit.
</li>
<li>
Vivamus vestibulum ntulla nec ante.
</li>
</ul>
</li>
</ul>
<p>
Morbi in sem quis dui placerat ornare. Pellentesque odio nisi, euismod in, pharetra a, ultricies in, diam. Sed arcu. Cras consequat.
</p>
<ul>
<li>
Praesent placerat risus quis eros.
</li>
<li>
Fusce pellentesque suscipit nibh.
</li>
</ul>
<p>
Praesent dapibus, neque id cursus faucibus, tortor neque egestas auguae, eu vulputate <em>magna</em> eros eu erat. Aliquam erat volutpat. Nam dui mi, tincidunt quis, accumsan porttitor, facilisis luctus, metus.
</p>
<ul>
<li>
Vivamus vestibulum ntulla nec ante.
</li>
<li>
Praesent placerat risus quis eros.
</li>
<li>
Phasellus ultrices nulla quis nibh. Quisque a lectus. Donec consectetuer ligula vulputate sem tristique cursus. Nam nulla quam, gravida non, commodo a, sodales sit amet, nisi.
</li>
<li>
Fusce pellentesque suscipit nibh.
</li>
<li>
Integer vitae libero ac risus egestas placerat.
</li>
</ul>
</div>
<div class="dialog_form_actions">
<button id="back-main" class="btn btn_ok" >
Back to the address form
</button>
</div>
</div>
<div id="confirmDialog"
role="dialog"
aria-labelledby="confirm_label"
aria-describedby="confirm_desc"
aria-modal="true"
class="hidden">
<h2 id="confirm_label" class="dialog_header">
Address Added
</h2>
<p id="confirm_desc" class="dialog_desc">
You will now receive great bird pictures.
</p>
<div class="dialog_form_actions">
<button id="confirm-close" class="btn btn_ok">
OK
</button>
</div>
</div>
<script type="module" src="./js/main.js"></script>
</body>
</html>