forked from bobbijvoet/a11y
-
Notifications
You must be signed in to change notification settings - Fork 0
/
media.html
437 lines (375 loc) · 17.3 KB
/
media.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
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
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0, minimum-scale=0.5, user-scalable=yes">
<title>Good Media - A11Y Champions Developer Training</title>
<link href="https://fonts.googleapis.com/css?family=Roboto:400,400i,500,700,900" rel="stylesheet">
<link rel="stylesheet" href="styles/libs/bootstrap/bootstrap.processed.css">
<link rel="stylesheet" href="styles/style.processed.min.css">
<link rel="stylesheet" href="https://www.ing.nl/assets/web/ng/css/bb4d737d.the-guide-styles-responsive.min.css">
</head>
<body>
<header class="site-header" role="banner">
<div class="skip-links">
<a href="#main-menu">Skip to Main Menu</a>
<a href="#main-content">Skip to Main Content</a>
</div>
<div class="pipe-links bg-faded">
<div class="container pt-2 pb-1">
<ul class="list-inline m-0">
<li class="list-inline-item"><a href="http://bit.ly/a11y-dev-champs">Champ Lessons</a></li>
<li class="list-inline-item">Good / Bad</li>
<li class="list-inline-item"><a href="http://bit.ly/a11y-quiz">Quiz</a></li>
</ul>
</div>
</div>
<div class="navbar navbar-toggleable-md navbar-light">
<nav class="container" role="navigation" aria-labelledby="main-nav">
<div class="sr-only" id="main-nav">Main Menu</div>
<a href="#" class="navbar-brand">
<img class="avatar-img" src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/1182308/a11y-logo.png" alt="Accessibility Portal">
</a>
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false">
<span class="navbar-toggler-icon"></span>
<span class="sr-only">Toggle navigation</span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<div class="mr-auto">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="index.html" id="main-menu">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="article.html">Article</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="media.html" aria-current="page">Media <span class="sr-only">(current)</span></a>
<ul class="pagination pagination-navbar">
<li class="page-item"><a class="page-link active" href="media.html" aria-current="page">Good <span class="sr-only">(current)</span></a></li>
<li class="page-item"><a class="page-link" href="media-bad.html">Bad</a></li>
</ul>
</li>
<li class="nav-item">
<a class="nav-link" href="request.html">Request</a>
</li>
<li class="nav-item">
<a class="nav-link" href="table.html" id="main-menu">Tables</a>
</li>
</ul>
</div>
<nav class="form-inline my-2 my-lg-0" role="search">
<form>
<label class="sr-only" for="search">Search</label>
<input class="form-control mr-sm-2" type="text" id="search">
<button class="btn btn-tertiary search-button my-2 my-sm-0" type="submit">
<span class="icon icon-search icon-md text-orange" aria-hidden="true"></span>
<span class="sr-only">Search</span>
</button>
</form>
</nav>
</div>
</nav>
</div>
<div class="brandbar">
<div class="container">
<h1 class="heading-xl">Accessible Media Page</h1>
<div class="sr-only" id="second-nav">Secondary Menu</div>
<p class="lead">Good and Bad Demonstration</p>
</div>
</div>
</header>
<main role="main" id="main-content">
<section class="full-cover bg-faded" role="region" aria-labelledby="cards-main">
<div class="container">
<h2 class="full-cover-title">Time-based Media</h2>
<div class="row">
<div class="col-md-6 col-lg-4">
<div class="card mb-4">
<div class="card-block">
<h3 class="card-title">Audio-only / Video-only</h3>
<img class="card-img-top img-fluid" src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/1182308/audio_only.jpg" alt="">
<p class="card-text mt-4">The intent of this Success Criterion is to make information conveyed by prerecorded audio-only and prerecorded video-only content available to all users.
<span class="d-block">
<button type="button" class="btn btn-primary mt-4" data-toggle="modal" data-target="#exampleModal">
More on Audio-only
</button>
</span>
</p>
</div>
</div>
</div>
<div class="col-md-6 col-lg-4">
<div class="card mb-4">
<img class="card-img-top img-fluid" src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/1182308/video_caption.jpg" alt="">
<div class="card-block">
<h3 class="card-title">Captions (Prerecorded)</h3>
<p class="card-text">The intent of this Success Criterion is to enable people who are deaf or hard of hearing to watch synchronized media presentations.
<span class="d-block">
<button type="button" class="btn btn-primary mt-4" data-toggle="modal" data-target="#exampleModal2">
More on Captions
</button>
</span>
</p>
</div>
</div>
</div>
<div class="col-md-6 col-lg-4">
<div class="card mb-4">
<img class="card-img-top img-fluid" src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/1182308/audio-descriptions-hunger-games.jpg" alt="">
<div class="card-block">
<h3 class="card-title">Audio Description or Media Alternative (Prerecorded)
</h3>
<p class="card-text">An alternative for time-based media or audio description of the prerecorded video content is provided for synchronized media, except when the media is a media alternative for text and is clearly labeled as such.
<span class="d-block">
<button type="button" class="btn btn-primary mt-4" data-toggle="modal" data-target="#exampleModal3">
More on Descriptions
</button>
</span>
</p>
</div>
</div>
</div>
</div>
<blockquote class="blockquote">
<p class="mb-0">Through this lens, it’s possible to conceive that if all barriers could be removed, disability would cease to exist.</p>
<footer class="blockquote-footer p-0">Someone famous in <cite title="Source Title">Accessibility</cite></footer>
</blockquote>
</div>
</section>
<section class="full-cover bg-a" role="region" aria-labelledby="quote">
<div class="container">
<h2 id="quote" class="sr-only">Quote</h2>
<div class="row">
<div class="col-md-4">
<img class="card-img img-fluid mb-4" src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/1182308/jake-quote2.jpg" alt="">
</div>
<div class="col-md-4">
<blockquote class="l-mb-0">
<span class="blockquote-text display-5">The mapping of HTML to the Accessibility Api by browsers is pretty straight forward.</span>
<footer class="blockquote-footer">
<cite class="blockquote-attribution">Jake Abma</cite>
</footer>
</blockquote>
</div>
<div class="col-md-4">
<p>
<span class="hidden-sm-down">HTML elements with default WAI-ARIA role semantics MUST be mapped to platform accessibility APIs according to those WAI-ARIA roles' mappings.</span>
<span class="d-block mt-4">
<a href="https://www.w3.org/TR/html-aam-1.0/#details-id-149" class="text-white">
HTML Accessibility API Mappings 1.0 - Role list
</a>
</span>
</p>
</div>
</div>
</div>
</section>
</main>
<section class="full-cover bg-faded" role="region" aria-labelledby="cards-main">
<div class="container">
<h2 class="full-cover-title">Graphics</h2>
<div class="row">
<div class="col-md-6 col-lg-4">
<div class="card mb-4">
<div class="card-block">
<img class="card-img-top img-fluid" src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/1182308/chart.png" alt="">
<h3 class="card-title">Accessible Chart</h3>
<p class="card-text">Charts, graphs, and other complex images often require extensive description to be made accessible to users who are blind or have visual impairments.
<span class="d-block">
<a href="https://www.highcharts.com/demo/area-stacked-percent" class="link-primary mt-4">
More on Charts
</a>
</span>
</p>
</div>
</div>
</div>
</div>
</div>
</section>
<aside class="full-cover btn-annot-outline site-aside bg-faded" role="complementary">
<div class="container btn-annot-outline">
<button type="button" class="btn btn-annot" data-toggle="modal" data-target="#annotModal03">03</button>
<h2 class="full-cover-title">We like to help you</h2>
<div class="row">
<div class="col-md-4">
<div class="card mb-4">
<div class="card-block">
<h3 class="card-title">
Accessibility APIs
</h3>
<ul class="list-icons list-linklist">
<li>
<a href="#" rel="nofollow">Accessibility Tree</a>
</li>
<li>
<a href="#" rel="nofollow">Accessible Name</a>
</li>
<li>
<a href="#" rel="nofollow">Role, state and properties</a>
</li>
<li>
<a href="#" rel="nofollow">Keyboards API</a>
</li>
</ul>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card mb-4">
<div class="card-block">
<h3 class="card-title">
Assistive Technologies
</h3>
<ul class="list-icons list-linklist">
<li>
<a href="#" rel="nofollow">Text To Speech</a>
</li>
<li>
<a href="#" rel="nofollow">Object relations</a>
</li>
<li>
<a href="#" rel="nofollow">Page Navigation</a>
</li>
<li>
<a href="#" rel="nofollow">Web Spots</a>
</li>
<li>
<a href="#" rel="nofollow">Speech to Text</a>
</li>
<li>
<a href="#" rel="nofollow">Basic screen reader test</a>
</li>
</ul>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card mb-4">
<div class="card-block">
<h3 class="card-title">
Any questions?
</h3>
<dl>
<dt id="contact">Contact Team A11Y<p></p></dt>
<dd role="definition" aria-labelledby="contact">Phone: 020 22 888 88</dd>
<dd role="definition" aria-labelledby="contact">Monday - Friday: 8.00 - 21.00 hours</dd>
<dd role="definition" aria-labelledby="contact">Saturday: 9.00 - 17.00 hours</dd>
<dd role="definition" aria-labelledby="contact">E-mail address: [email protected]</dd>
</dl>
<p>
<span class="icon icon-pdf icon-md text-orange"></span>
<a href="	https://s3.eu-central-1.amazonaws.com/jirodica-docs/Accessible+PDF.pdf" rel="nofollow">Contact possibilities (353KB)
<span class="sr-only">PDF</span>
</a>
</p>
</div>
</div>
</div>
</div>
</div>
</aside>
<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Audio-only</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<p>
<a href="https://s3.eu-central-1.amazonaws.com/jirodica-media/audio/audio-only.m4a">Listen to audio-file</a>
</p>
<p>
<a href="https://s3.eu-central-1.amazonaws.com/jirodica-docs/transcript.docx">Audio-only transcript file</a>
</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="exampleModal2" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Captions (Prerecorded)</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close" onclick="document.getElementById('demoCaption').pause();">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<p class="text-center">
<video id="demoCaption" width="100%" height="100%" controls aria-label="Rob Lennartz: A video with captions">
<source src="https://s3.eu-central-1.amazonaws.com/jirodica-media/video/Video+with+captions.mp4" type="video/mp4" transcript="#transcript">
Your browser does not support HTML5 video.
</video>
<h6 id="transcript">Video transcript</h6>
<p>Hello this is a video with captions so that people who are deaf or of hard hearing can also watch and understand this video. Thank you.
</p>
</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" data-dismiss="modal" onclick="document.getElementById('demoCaption').pause();">Close</button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="exampleModal3" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Descriptions</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close" onclick="document.getElementById('demoVideo').pause();">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<p class="text-center">
<video id="demoVideo" width="100%" height="100%" controls aria-label="Rob Lennartz: A video with captions">
<source src="https://s3.eu-central-1.amazonaws.com/jirodica-media/video/video_description.mp4" type="video/mp4" transcript="#transcript">
Your browser does not support HTML5 video.
</video>
</p>
</div>
<div class="modal-footer">
<button id="demoVideo" type="button" class="btn btn-primary" data-dismiss="modal" onclick="document.getElementById('demoVideo').pause();">Close</button>
</div>
</div>
</div>
</div>
<footer class="full-cover site-footer bg-grey" role="contentinfo">
<div class="container">
<ul class="pipe-links list-inline mt-2 mb-3">
<li class="list-inline-item">
<a href="#">About A11Y</a>
</li>
<li class="list-inline-item">
<a href="#">A11Y in the Netherlands</a>
</li>
<li class="list-inline-item">
<a href="#">Save A11Y</a>
</li>
<li class="list-inline-item">
<a href="#">Privacy en cookies</a>
</li>
<li class="list-inline-item">
<a href="#">Disclaimer</a>
</li>
</ul>
</div>
<div class="footer-copyright py-2">
<p class="m-0">© 2017 Copyright</p>
</div>
</footer>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/js/tether.min.js"></script>
<script src="scripts/libs/bootstrap/bootstrap.js"></script>
<script src="scripts/script.js"></script>
<script src="scripts/videosub.js"></script>
</body>
</html>