-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathrequest_copy.html
545 lines (473 loc) · 23.7 KB
/
request_copy.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
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
<!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>Accessible Request Page - Good and Bad Demonstration - ING</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">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>
<script>
hljs.initHighlightingOnLoad();
</script>
</head>
<body class="body" id="totop">
<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="bg-faded pt-2">
<div class="container">
<div class="row">
<div class="col-md-6">
<div class="pipe-links">
<ul class="list-inline m-0" aria-label="section links">
<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="col-md-6 pipe-rechts">
<label class="mr-1 d-inline-block" for="language">Language</label>
<div class="d-inline-block p-relative">
<select class="mr-2" name="language" id="language">
<option value="english" selected>English</option>
<option value="nederlands" lang="nl">Nederlands</option>
</select>
</div>
<button class="btn btn-secondary btn-sm" id="annotations01">Annotations</button>
</div>
</div>
</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="/index.html" 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" aria-labelledby="main-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">
<a class="nav-link" href="/media.html">Media</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="/request.html" aria-current="page">Request <span class="sr-only">(current)</span></a>
<ul class="pagination pagination-navbar" aria-label="Sub navigation Main Menu">
<li class="page-item"><a class="page-link active" href="/request.html" aria-current="page">Good <span class="sr-only">(current)</span></a></li>
<li class="page-item"><a class="page-link" href="/request-bad.html">Bad</a></li>
</ul>
</li>
<li class="nav-item">
<a class="nav-link" href="/table.html">Tables</a>
</li>
</ul>
</div>
<nav class="form-inline my-2 my-lg-0" role="search">
<form class="form-inline">
<label for="search">Search</label>
<input class="form-control form-control-search mr-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 brandbar-a">
<div class="brandbar-image brandbar-image-request"></div>
<div class="container">
<header class="brandbar-header">
<div class="brandbar-heading">
<h1 class="brandbar-title btn-annot-outline">Accessible Request Page</h1>
<button type="button" class="btn btn-annot" data-toggle="modal" data-target="#annotModal01">01</button>
<p class="brandbar-lead">Good and Bad Demonstration</p>
<span class="d-block mt-2 annot-relative">
<a href="https://dequeuniversity.com/class/html-css1/forms/" class="link-primary">
Forms at Deque University
</a>
</span>
</div>
</header>
</div>
</div>
</header>
<main role="main" id="main-content">
<article class="full-cover article-main" aria-labelledby="article-main">
<div class="container">
<p>With this form, you will request a Credit Card. Within 5 business days you'll receive an answer for acceptance. On the <a href="/index.html">Credit Card page</a> you can find more information about the impact of the application for your account.</p>
<p>Before filling in the form please make sure you have the following items ready:</p>
<ul class="list-icons list-checklist" aria-label="Checklist item needed">
<li>Digital copy Passport</li>
<li>Citizen service number</li>
<li>Bank account number</li>
<li>Data partner</li>
</ul>
<h2 class="sr-only" id="navigator-title">Request a credit card with 5 steps</h2>
<h3 class="sr-only" id="steps-title">Personal information (Step 1 of 5)</h3>
<div class="card">
<div class="steps steps-arrow steps-a steps-lg" ing-mq-classes="{zero:'steps-sm', md:'steps-md', lg:'steps-lg'}" aria-labelledby="steps-title">
<div class="steps-indicator">
<ol class="steps-indicator-list">
<li class="steps-indicator-item visited">
<a href="#" class="steps-indicator-element">
<span class="sr-only">Completed step</span>
<span class="steps-indicator-type">1</span>
<span class="steps-indicator-text">Personal information</span>
<span class="arrow steps-indicator-arrow"></span>
</a>
</li>
<li class="steps-indicator-item visited">
<a href="#" class="steps-indicator-element">
<span class="sr-only">Completed step</span>
<span class="steps-indicator-type">2</span>
<span class="steps-indicator-text">Additional information</span>
<span class="arrow steps-indicator-arrow"></span>
</a>
</li>
<li class="steps-indicator-item visited">
<a href="#" class="steps-indicator-element">
<span class="sr-only">Completed step</span>
<span class="steps-indicator-type">3</span>
<span class="steps-indicator-text">Comments</span>
<span class="arrow steps-indicator-arrow"></span>
</a>
</li>
<li class="steps-indicator-item active" aria-selected="true">
<span class="steps-indicator-element">
<span class="sr-only">Current step</span>
<span class="steps-indicator-type">4</span>
<span class="steps-indicator-text">Check data</span>
<span class="arrow steps-indicator-arrow"></span>
</span>
</li>
<li class="steps-indicator-item">
<span class="steps-indicator-element">
<span class="steps-indicator-type">5</span>
<span class="steps-indicator-text">Data send</span>
<span class="arrow steps-indicator-arrow"></span>
</span>
</li>
</ol>
</div>
<div class="steps-complete">
<div class="steps-complete-item">
<div class="steps-complete-element">
<span class="sr-only">Steps completion page</span>
<span class="steps-complete-icon">
<span aria-hidden="true" class="icon icon-print"></span>
</span>
<span class="steps-complete-text">Print</span>
</div>
</div>
</div>
</div>
<div class="card-block">
<p class="card-text">NOTE: All input fields are required unless otherwise specified</p>
<h4 class="card-title">Request a credit card</h4>
<fieldset id="#personalData">
<legend>Personal data</legend>
<div class="fieldset-row" role="group">
<legend class="control-label control-label-positioned col-sm-4 col-lg-3">
<span class="sr-only">Personal data</span> Surname partner <span class="label-help">(not required)</span>
</legend>
<div class="col-sm-8 col-lg-6">
<div class="row">
<div class="col-md-5">
<div class="form-group">
<div class="control-label">
<label for="insertionPartner">
Insertion <span class="sr-only">partner<span class="sr-only">.</span> <span class="label-help">not required</span></span>
</label>
</div>
<select class="form-control" name="insertionPartner" id="insertionPartner">
<option value="">Choose</option>
<option value="'s">'s</option>
<option value="De">De</option>
<option value="Den">Den</option>
<option value="Der">Der</option>
<option value="Van">Van</option>
<option value="Van de">Van de</option>
</select>
</div>
</div>
<div class="col-md-7">
<div class="form-group">
<label class="control-label" for="surnamePartner">
Surname <span class="sr-only">partner (not required)</span>
</label>
<input type="text" class="form-control" name="achternaam2" id="surnamePartner">
</div>
</div>
</div>
</div>
</div>
<div class="form-group">
<div class="control-label col-sm-4 col-lg-3">
<label for="dateWithPicker">
Date
</label>
</div>
<div class="col-sm-8 col-lg-6">
<div class="row">
<div class="col-sm-5">
<div class="input-group ">
<input type="text" class="form-control" id="dateWithPicker" aria-describedby="dateWithPicker-description" aria-required="true">
<span class="input-group-btn">
<button class="btn btn-tertiary" type="button">
<span class="sr-only">Date Calendar</span>
<span class="icon icon-calendar icon-md icon-gray-dark" aria-hidden="true"></span>
</button>
</span>
</div>
</div>
</div>
<div class="form-control-help" id="dateWithPicker-description">
Write as dd-mm-jjjj<span class="sr-only">. Or choose with the succeeding date calendar.</span>
</div>
</div>
</div>
<div class="fieldset-row" role="group">
<legend class="control-label control-label-positioned col-sm-4 col-lg-3">
<span class="sr-only">Personal data</span> Multiple dates
</legend>
<div class="col-sm-8 col-lg-6">
<div class="row">
<div class="col-sm-6">
<div class="form-group">
<div class="control-label">
<label for="dateFromWithPicker">
<span class="sr-only">Date </span>from
</label>
</div>
<div class="input-group">
<input type="text" class="form-control" name="dateFromWithPicker" id="dateFromWithPicker" aria-describedby="dateFromTillWithPicker-description" aria-required="true">
<span class="input-group-btn">
<button class="btn btn-tertiary" type="button">
<span class="sr-only">Date from calendar</span>
<span aria-hidden="true" class="icon icon-calendar icon-md icon-gray-dark"></span>
</button>
</span>
</div>
</div>
</div>
<div class="col-sm-6">
<div class="form-group">
<div class="control-label">
<label for="dateTillWithPicker">
<span class="sr-only">Date </span>till
</label>
</div>
<div class="input-group">
<input type="text" class="form-control" name="dateTillWithPicker" id="dateTillWithPicker" aria-describedby="dateFromTillWithPicker-description" aria-required="true">
<span class="input-group-btn">
<button class="btn btn-tertiary" type="button">
<span class="sr-only">Date till calendar</span>
<span aria-hidden="true" class="icon icon-calendar icon-md icon-gray-dark"></span>
</button>
</span>
</div>
</div>
</div>
</div>
<div class="form-control-help" id="dateFromTillWithPicker-description">
Write as dd-mm-jjjj<span class="sr-only">. Or choose with the succeeding date calendar.</span>
</div>
</div>
</div>
</fieldset>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
</div>
</article>
</main>
<footer class="full-cover site-footer bg-grey" role="contentinfo">
<div class="container text-center">
<div class="d-inline-block annot-relative">
<ul class="pipe-links list-inline mt-2" aria-label="footer links">
<li class="list-inline-item">
<a href="/index.html">About A11Y</a>
</li>
<li class="list-inline-item">
<a href="/index.html">Universal Design</a>
</li>
<li class="list-inline-item">
<a href="/index.html">Privacy en cookies</a>
</li>
<li class="list-inline-item">
<a href="/index.html">Disclaimer</a>
</li>
<li class="list-inline-item">
<a href="/index.html">Accessibility</a>
</li>
</ul>
</div>
</div>
<div class="footer-copyright py-2">
<p class="m-0">© 2017 Copyright</p>
</div>
</footer>
<div class="modal fade" id="a11ycasts" tabindex="-1" role="dialog" aria-labelledby="a11ycastsHeading">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<h3 class="modal-title" id="a11ycastsHeading">Introducing A11ycasts! -- A11ycasts #01</h3>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<iframe width="100%" class="modal-youtube" src="https://www.youtube.com/embed/HtTyRajRuyY?ecver=1" frameborder="0" allowfullscreen></iframe>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<section class="full-cover bg-faded annotations" role="region" aria-labelledby="annotationsSection">
<div class="container">
<h2 class="full-cover-title" id="annotationsSection">Annotations</h2>
<div class="modal fade modal-annot" id="annotModal01" tabindex="-1" role="dialog" aria-labelledby="annotModal01Heading">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<h3 class="modal-title" id="annotModal01Heading">01. Content provides a logical and hierarchical heading structure</h3>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<p>A good heading structure enables people to scan a page/screen quickly and understand the structure of the content. Screen reader users can also use headings to quickly navigate within a page or screen.</p>
<p>Other things to consider, in order to make headings more usable for screen reader users:</p>
<ul>
<li>Lists and headings used together to mark up content should be avoided</li>
<li>For a correct heading outline it is sometimes necessary to hide them visually</li>
<li>Headings should be coded around content that doesn’t change, i.e. a category name such as ‘Banking News’ rather than a news item that will update frequently</li>
<li>Headings should not overwhelm a page as this can undermine their usefulness for screen reader users when navigating, a maximum of 7-9 headings should suffice</li>
</ul>
<div class="alert alert-info">
<p>
<strong>Note!</strong> Improvements on the template are propagated throughout the entire website
</p>
</div>
<h4 class="heading-s">HTML Example</h4>
<pre class="highlight">
<code class="html">
<h1>Accessible Article Page</h1>
<h2>Why we promote accessibility</h2>
<h2>How we strive for accessibility</h2>
<h3>Training material</h3>
<h2>What we deliver for accessibility</h2>
<h3>Add these steps to your DoD</h3>
...
<!-- Optional hidden heading -->
<h2 class="sr-only">Selected for you</h2>
<h3>...</h3>
<h4>...</h4>
...
<!-- Optional with ARIA -->
<div role="heading" aria-level="2">...</div>
<div role="heading" aria-level="3">...</div>
...
</code>
</pre>
<h4 class="heading-s">WCAG Success Criteria</h4>
<ul class="list-group list-group-lessons">
<li class="list-group-item">
<div class="w-100">
<a href="https://www.w3.org/WAI/WCAG20/quickref/#content-structure-separation-programmatic">1.3.1 Info and Relationships Level A</a>
<ul>
<li><a href="https://www.w3.org/TR/WCAG20-TECHS/H42">H42: Using h1-h6 to identify headings</a></li>
<li><a href="https://www.w3.org/TR/WCAG20-TECHS/G141">G141: Organizing a page using headings</a></li>
</ul>
</div>
</li>
<li class="list-group-item">
<div class="w-100">
<a href="https://www.w3.org/WAI/WCAG20/quickref/#navigation-mechanisms-headings">2.4.10 Section Headings Level AAA</a>
<ul>
<li><a href="https://www.w3.org/TR/WCAG20-TECHS/G141">G141: Organizing a page using headings</a></li>
<li><a href="http://www.w3.org/TR/2016/NOTE-WCAG20-TECHS-20161007/H69">H69: Providing heading elements at the beginning of each section of content</a></li>
</ul>
</div>
</li>
</ul>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<div class="text-right">
<a href="#totop">To Top</a>
</div>
<div class="modal fade modal-annot" id="annotModal02" tabindex="-1" role="dialog" aria-labelledby="annotModal02Heading">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<h3 class="modal-title" id="annotModal02Heading">02. Text</h3>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<p>Text <code>code</code> </p>
<div class="alert alert-info">
<strong>Note!</strong> Improvements on the template are propagated throughout the entire website
</div>
<h4 class="heading-s">HTML Example</h4>
<pre class="highlight">
<code class="html">
example code
</code>
</pre>
<h4 class="heading-s">WCAG Success Criteria</h4>
<ul class="list-group list-group-lessons">
<li class="list-group-item">
<div class="w-100">
<a href="https://www.w3.org/WAI/WCAG20/quickref/#navigation-mechanisms-title">2.4.2 Page Titled Level A</a>
<ul>
<li><a href="http://www.w3.org/TR/WCAG20-TECHS/G88.html">G88: Providing descriptive titles for Web pages</a></li>
</ul>
</div>
</li>
</ul>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<div class="text-right">
<a href="#totop">To Top</a>
</div>
</div>
</section>
<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>
</body>
</html>