forked from bobbijvoet/a11y
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
1395 lines (1207 loc) · 64.6 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
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
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!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 Home 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">
<button type="button" class="btn btn-annot btn-annot-title" data-toggle="modal" data-target="#annotModal01">01</button>
<button type="button" class="btn btn-annot btn-annot-meta" data-toggle="modal" data-target="#annotModal02">02</button>
<header class="site-header btn-annot-outline" role="banner">
<div class="skip-links">
<a href="#main-menu">Skip to Main Menu</a>
<a href="#main-content" class="btn-annot-outline">Skip to Main Content</a>
<button type="button" class="btn btn-annot btn-annot-skip" data-toggle="modal" data-target="#annotModal03">03</button>
</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 btn-annot-outline" name="language" id="language">
<option value="english" selected>English</option>
<option value="nederlands" lang="nl">Nederlands</option>
</select>
<button type="button" class="btn btn-annot" data-toggle="modal" data-target="#annotModal05">05</button>
</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 btn-annot-outline" role="navigation" aria-labelledby="main-nav">
<button type="button" class="btn btn-annot" data-toggle="modal" data-target="#annotModal04">04</button>
<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 active">
<button type="button" class="btn btn-annot" data-toggle="modal" data-target="#annotModal06">06</button>
<a class="nav-link btn-annot-outline" href="index.html" aria-current="page" id="main-menu">Home <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="index.html" aria-current="page">Good <span class="sr-only">(current)</span></a></li>
<li class="page-item"><a class="page-link" href="index-bad.html">Bad</a></li>
</ul>
</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">
<a class="nav-link" href="request.html">Request</a>
</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 btn-annot-outline" role="search">
<button type="button" class="btn btn-annot" data-toggle="modal" data-target="#annotModal04">04</button>
<form class="form-inline">
<label for="search">Search</label>
<input class="form-control form-control-search mr-2 btn-annot-outline" type="text" id="search">
<button type="button" class="btn btn-annot btn-annot-search" data-toggle="modal" data-target="#annotModal07">07</button>
<button class="btn btn-tertiary search-button my-2 my-sm-0 ml-0" type="submit">
<span class="icon icon-search icon-lg 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-kitesurf"></div>
<div class="container">
<header class="brandbar-header">
<div class="brandbar-heading">
<span class="d-block annot-relative">
<h1 class="brandbar-title btn-annot-outline">Accessible Home Page</h1>
<button type="button" class="btn btn-annot" data-toggle="modal" data-target="#annotModal08">08</button>
</span>
<p class="brandbar-lead">Good and Bad Demonstration</p>
<span class="d-block mt-2 annot-relative">
<a href="http://theguide.ing.net/a11y_principles/baseline/getting_started/getting_started/" class="link-primary">
Getting Started with A11Y
</a>
</span>
</div>
</header>
</div>
</div>
</header>
<main class="btn-annot-outline" role="main" id="main-content">
<section class="full-cover btn-annot-outline bg-faded" role="region" aria-labelledby="cards-main">
<div class="container btn-annot-outline">
<button type="button" class="btn btn-annot" data-toggle="modal" data-target="#annotModal04">04</button>
<h2 id="cards-main" class="sr-only">Selected for you</h2>
<div class="row">
<div class="col-md-6 col-lg-4">
<div class="card mb-4">
<div class="annot-relative btn-annot-outline">
<img class="card-img-top img-fluid border-grey-light" src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/1182308/getting-started.png" alt="Cutout of infographic for the 9 step Getting Started with accessibility part. Step 1, roles and responsibilities, and partly step 2, personas, is shown.">
<button type="button" class="btn btn-annot btn-annot-image" data-toggle="modal" data-target="#annotModal09">09</button>
</div>
<div class="card-block">
<h3 class="card-title">The Baseline</h3>
<p class="lead">Want to start with accessibility?</p>
<p class="card-text">We help you get up-and-running with the first steps and provide easy guidelines. These form the baseline for inclusive banking. We're always looking for the latest solutions to make it as easy as possible. Wondering if you're already using
all of the handy guiding?
<span class="d-block mt-4 annot-relative">
<a href="http://a11y.ing.net" class="link-primary btn-annot-outline">
More on The Baseline
</a>
<button type="button" class="btn btn-annot" data-toggle="modal" data-target="#annotModal11">11</button>
</span>
</p>
</div>
</div>
<div class="card mb-4">
<div class="card-block">
<div role="heading" aria-level="3" class="card-title">Take a look at the quiz questions!</div>
<img class="card-img-top mb-4 img-fluid" src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/1182308/quiz.png" alt="">
<p class="card-text">For a quick insight in accessibility and what it's based upon the quiz questions are a good place to start. Based on the Champion lessons it covers a wide range of topics. From fundamentals to HTML and CSS, from legal requirements to testing
techniques and much more.
<span class="d-block">
<a href="http://bit.ly/a11y-quiz" class="link-primary mt-4">
See all the questions
</a>
</span>
</p>
</div>
</div>
</div>
<div class="col-md-6 col-lg-4">
<div class="card mb-4">
<div class="card-block">
<div class="annot-relative">
<h3 class="card-title btn-annot-outline">Accessibility Champions</h3>
<button type="button" class="btn btn-annot" data-toggle="modal" data-target="#annotModal08">08</button>
</div>
<img class="card-img-top mb-4 img-fluid" src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/1182308/a11y-champs.png" alt="">
<p class="card-text">The backbone for sustainable inclusive design are the champions. They form the basis and are the fallback for teams to rely upon. Regular training and advanced knowledge make them the driving force.
<span class="d-block mt-4 annot-relative">
<a href="index.html" class="link-primary btn-annot-outline">
More on Champions
</a>
<button type="button" class="btn btn-annot" data-toggle="modal" data-target="#annotModal12">12</button>
</span>
<span class="d-block mt-4 annot-relative">
<a href="http://a11y.ing.net" class="link-linklist btn-annot-outline">Need help? Ask a Champ!</a>
<button type="button" class="btn btn-annot" data-toggle="modal" data-target="#annotModal11">11</button>
</span>
</p>
</div>
</div>
<div class="card mb-4">
<img class="card-img-top img-fluid" src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/1182308/computers-with-A11y-logo2.png" alt="">
<div class="card-block">
<div role="heading" aria-level="3" class="card-title">Easy Guidelines</div>
<p class="card-text">Most Guidelines are best practices that can easily be tested with specific criteria that is not subjective and is technologically possible to achieve with current assistive technology on mobile devices. Others are less testable but considered
core to accessible mobile website and apps.
<span class="d-block">
<a href="http://a11y.ing.net" class="link-primary mt-4">
See the Guidelines
</a>
</span>
</p>
</div>
</div>
<div class="card mb-4">
<div class="card-block">
<div class="annot-relative btn-annot-outline">
<h3 class="card-title" id="responsibilities">
Responsibilities for:
</h3>
<ul class="list-icons list-linklist m-0" aria-labelledby="responsibilities">
<li>
<a href="index.html">User Experience</a>
</li>
<li>
<a href="index.html">Developers</a>
</li>
<li>
<a href="index.html">Editors</a>
</li>
<li>
<a href="index.html">Product Owners</a>
</li>
</ul>
<button type="button" class="btn btn-annot" data-toggle="modal" data-target="#annotModal14">14</button>
</div>
</div>
</div>
</div>
<div class="col-md-6 col-lg-4">
<div class="card mb-4">
<img class="card-img-top img-fluid btn-annot-outline" src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/1182308/experts.jpg" alt="">
<button type="button" class="btn btn-annot btn-annot-image" data-toggle="modal" data-target="#annotModal10">10</button>
<div class="card-block">
<h3 class="card-title">Expert section</h3>
<p class="lead btn-annot-outline">What was the standard like again? <button type="button" class="btn btn-annot" data-toggle="modal" data-target="#annotModal15">15</button></p>
<p class="card-text">When people are new to accessibility, it's easy for them to get overwhelmed by all of the standards, laws, and regulations. Providing an alternative is what the expert team does. So don't worry, we have it covered and are always ready
to help.
<span class="d-block mt-4 mb-3 annot-relative">
<a href="http://a11y.ing.net" class="link-primary btn-annot-outline">
More on Expert
</a>
<button type="button" class="btn btn-annot" data-toggle="modal" data-target="#annotModal13">13</button>
</span>
<span class="d-block annot-relative">
<button type="button" class="btn btn-primary btn-annot-outline" data-toggle="modal" data-target="#a11ycasts">Introducing A11Ycasts!</button>
<button type="button" class="btn btn-annot" data-toggle="modal" data-target="#annotModal13">13</button>
</span>
</p>
</div>
</div>
<div class="card mb-4">
<img class="card-img-top img-fluid" src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/1182308/tile-ForwardPlanning.jpg" alt="">
<div class="card-block">
<div role="heading" aria-level="3" class="card-title">Training!</div>
<p class="lead btn-annot-outline">We would also like YOU to become a champ <button type="button" class="btn btn-annot" data-toggle="modal" data-target="#annotModal15">15</button></p>
<p class="card-text">
<span class="d-block">
<a href="http://a11y.ing.net" class="link-primary mt-2">
Become a champ
</a>
</span>
</p>
</div>
</div>
</div>
</div>
</div>
</section>
</main>
<footer class="full-cover btn-annot-outline site-footer bg-grey" role="contentinfo">
<div class="container btn-annot-outline text-center">
<button type="button" class="btn btn-annot" data-toggle="modal" data-target="#annotModal04">04</button>
<div class="d-inline-block annot-relative">
<ul class="pipe-links list-inline mt-2 mb-3 btn-annot-outline" 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>
<button type="button" class="btn btn-annot" data-toggle="modal" data-target="#annotModal14">14</button>
</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. Page properly titled</h3>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<p>Provide unique page titles using the <code><title></code> element that concisely describe the page content. Page titles should generally be the same text as the 1st level heading on the page.</p>
<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">
<title>Accessible Home Page - Good and Bad Demonstration - ING</title>
</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>
<li><a href="http://www.w3.org/TR/WCAG20-TECHS/H25.html">H25: Providing a title using the title element</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. Zooming and scaling content not prevented</h3>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<p>The user-scalable=yes parameter in the <code><meta name="viewport"></code> element is present so scaling and zooming is available for (low vision) users.</p>
<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">
<meta
name="viewport"
content="width=device-width,
initial-scale=1.0,
maximum-scale=5.0,
minimum-scale=0.5,
user-scalable=yes">
</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/#visual-audio-contrast-scale">1.4.4 Resize text Level AA</a>
</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="annotModal03" tabindex="-1" role="dialog" aria-labelledby="annotModal03Heading">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<h3 class="modal-title" id="annotModal03Heading">03. Skip-links to bypass repeated content</h3>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<p>Skip-links are provided to bypass the header and navigation blocks which are repeated on each page. This makes website use more effective for some readers and keyboard users. Skip-links appear when they are actived via the keyboard though
ideally they are presented for all users.</p>
<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">
<body>
<div class="skip-links">
<a href="#main-menu">Skip to Main Menu</a>
<a href="#main-content">Skip to Main Content</a>
</div>
...
</body>
</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-skip">2.4.1 Bypass Blocks Level A</a>
<ul>
<li><a href="http://www.w3.org/TR/WCAG20-TECHS/G1.html">G1: Adding a link at the top of each page that goes directly to the main content area</a></li>
<li><a href="http://www.w3.org/TR/WCAG20-TECHS/G124.html">G124: Adding links at the top of the page to each area of the content</a></li>
<li>Advisory Techniques: Providing skip links to enhance page navigation</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="annotModal04" tabindex="-1" role="dialog" aria-labelledby="annotModal04Heading">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<h3 class="modal-title" id="annotModal04Heading">04. Landmarks and sectioning elements used
</h3>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<p>Use ARIA landmark roles or HTML5 sectioning elements to describe document structure and outline different parts of the page, such as navigation, main content and footer info.</p>
<p>Landmark roles include: <code>banner</code>, <code>navigation</code>, <code>search</code>, <code>main</code>, <code>complementary</code>, <code>article</code>, <code>section</code>, and <code>contentinfo</code>.</p>
<p>Equivalent HTML5 elements include: <code><header></code>, <code><nav></code>, <code><main></code>, <code><aside></code>, <code><article></code>,<code><section></code>, and <code><footer></code>. These elements have default landmark roles and do not require
an ARIA role attribute to be set. To support older browsers though, it is still recommended to provide both options as support for ARIA and HTML5 is not always paralleled.</p>
<p>For more information refer to the W3C <a href="https://www.w3.org/TR/wai-aria-practices/examples/landmarks/HTML5.html">HTML5 Sectioning Elements: ARIA Landmarks Example</a>.</p>
<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">
<header role="banner">
<div id="logo">...</div>
<nav role="navigation">
<ul>
<li>Payments</li>
<li>Savings</li>
<li>Mortgages</li>
</ul>
<nav role="search">...<input type="text" />...</nav>
</nav>
</header>
<main role="main">
<h1>ING</h1>
...
</main>
<aside role="complementary">...</aside>
<footer role="contentinfo">
<p>ING 2017</p>
<ul>...</ul>
</footer>
</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-skip">1.3.1
Info and Relationships Level A</a>
<ul>
<li><a href="https://www.w3.org/TR/WCAG20-TECHS/ARIA11.html">ARIA11: Using ARIA landmarks to identify regions of a page</a></li>
<li><a href="https://www.w3.org/TR/WCAG20-TECHS/ARIA13.html">ARIA13: Using aria-labelledby to name regions and landmarks</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-skip">2.4.1
Bypass Blocks Level A</a>
<ul>
<li><a href="https://www.w3.org/TR/WCAG20-TECHS/ARIA11.html">ARIA11: Using ARIA landmarks to identify regions of a page</a></li>
</ul>
</div>
</li>
<li class="list-group-item">
<div class="w-100">
<a href="https://www.w3.org/WAI/WCAG20/quickref/#consistent-behavior-consistent-locations">3.2.3 Consistent Navigation Level AA</a>
</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="annotModal05" tabindex="-1" role="dialog" aria-labelledby="annotModal05Heading">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<h3 class="modal-title" id="annotModal05Heading">05. Primary Language of and within the Document is provided</h3>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<p>Provide the primary language of the document in the opening <code><html></code> element.</p>
<p>Provide the language of each passage or phrase in the content</p>
<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">
<!-- Document level -->
<html lang="en">
<!-- Within the Document -->
<option value="nederlands" lang="nl">Nederlands</option>
<p>While in Spain, my friend tried to speak Spanish, but she wasn't very good.
Everyone kept saying "<span lang="es">No comprendo nada de lo que dices.</span>"</p>
</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/#meaning-doc-lang-id">3.1.1 Language of Page Level A</a>
<ul>
<li><a href="http://www.w3.org/TR/WCAG20-TECHS/H57.html">H57: Using language attributes on the html element</a></li>
<li><a href="https://www.w3.org/TR/WCAG20-TECHS/SVR5.html">SVR5: Specifying the default language in the HTTP header
</a></li>
<li><a href="https://www.w3.org/TR/WCAG20-TECHS/SVR5.html">Using http or the Content-Language meta tag for metada</a></li>
</ul>
</div>
</li>
<li class="list-group-item">
<div class="w-100">
<a href="https://www.w3.org/WAI/WCAG20/quickref/#meaning-other-lang-id">3.1.2 Language of Parts Level AA</a>
<ul>
<li><a href="http://www.w3.org/TR/WCAG20-TECHS/H58.html">H58: Using language attributes to identify changes in the human language</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="annotModal06" tabindex="-1" role="dialog" aria-labelledby="annotModal06Heading">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<h3 class="modal-title" id="annotModal06Heading">06. Main menu with NAV element, a list and proper attributes</h3>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<p>The main menu navigation menu is:</p>
<ul>
<li>Wrapped in a <code><nav></code> element with <code>role="navigation</code> and <code>aria-labelledby</code></li>
<li>Hamburger style menu’s have <code>aria-controls=""</code> and <code>aria-expanded=""</code> with proper dynamic values</li>
<li>Functional icons have text alternative</li>
<li>Marked up as a list and each navigation link is a list item</li>
<li>The active item has <code>aria-current="page"</code> and contains a screen reader only text of "current"</span>
</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">
<nav role="navigation" aria-labelledby="main-nav">
<div class="sr-only" id="main-nav">Main Menu</div>
<!-- Button for mobile hamburger style menu -->
<button aria-controls="mainMenuItems" aria-expanded="false">
<span class="icon-hamburger"></span>
<span class="sr-only">Toggle main menu</span>
</button>
<!-- Menu items device independent -->
<div id="mainMenuItems">
<ul>
<li class="active">
<a href="index.html" aria-current="page">
Home <span class="sr-only">(current)</span>
</a>
<ul>
<li>
<a class="active" href="index.html" aria-current="page">
Good <span class="sr-only">(current)</span>
</a>
</li>
<li>
<a href="index-bad.html">Bad</a>
</li>
</ul>
</li>
<li>
<a href="media.html">Media</a>
</li>
<li>
<a href="table.html">Tables</a>
</li>
</ul>
</div>
</nav>
</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/#text-equiv-all">1.1.1 Non-text Content Level A</a>
<ul>
<li><a href="http://www.w3.org/TR/WCAG20-TECHS/G82.html">G82: Providing a text alternative that identifies the purpose of the non-text content</a></li>
</ul>
</div>
</li>
<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="http://www.w3.org/TR/WCAG20-TECHS/ARIA11.html">ARIA11: Using ARIA landmarks to identify regions of a page</a></li>
<li><a href="http://www.w3.org/TR/WCAG20-TECHS/ARIA13.html">ARIA13: Using aria-labelledby to name regions and landmarks</a></li>
<li><a href="http://www.w3.org/TR/WCAG20-TECHS/G115.html">G115: Using semantic elements to mark up structure</a></li>
<li><a href="http://www.w3.org/TR/WCAG20-TECHS/H48.html">H48: Using ol, ul and dl for lists or groups of links</a></li>
<li><a href="http://www.w3.org/TR/WCAG20-TECHS/H97.html">H97: Grouping related links using the nav element</a></li>
</ul>
</div>
</li>
<li class="list-group-item">
<div class="w-100">
<a href="https://www.w3.org/WAI/WCAG20/quickref/#ensure-compat-rsv">4.1.2 Name, Role, Value Level A</a>
<ul>
<li><a href="http://www.w3.org/TR/WCAG20-TECHS/G10.html">G10: Creating components using a technology that supports the accessibility API features of the platforms on which the user agents will be run to expose the names and roles, allow user-settable properties to be directly set, and provide notification of changes</a></li>
<li><a href="http://www.w3.org/TR/WCAG20-TECHS/ARIA4.html">ARIA4: Using a WAI-ARIA role to expose the role of a user interface component</a></li>
<li><a href="http://www.w3.org/TR/WCAG20-TECHS/ARIA5.html">ARIA5: Using WAI-ARIA state and property attributes to expose the state of a user interface component</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="annotModal07" tabindex="-1" role="dialog" aria-labelledby="annotModal07Heading">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<h3 class="modal-title" id="annotModal07Heading">07. Search with NAV element, specific role attribute and a proper label</h3>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<p>The search (together with the main menu) is often the preferred way of navigating a site. To improve quick access always wrap the main search in a <code><nav></code> element (landmark) with <code>role="search"</code>. To provide a descriptive
name for the interactive elements always add a <code><label></code> element with a <code>for=""</code> attribute to the input and a name for the button. Hiding may be done with a screen reader only class.</p>
<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">
<nav role="search">
<form>
<label for="search">Search</label>
<input type="text" id="search">
<button type="submit">
<span class="icon" aria-hidden="true"></span>
<span class="sr-only">Search</span>
</button>
</form>
</nav>
</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/ARIA11.html">ARIA11: Using ARIA landmarks to identify regions of a page</a></li>
<li><a href="http://www.w3.org/TR/WCAG20-TECHS/H44.html">H44: Using label elements to associate text labels with form controls</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-descriptive">2.4.6 Headings and Labels Level AA</a>
<ul>
<li><a href="https://www.w3.org/TR/WCAG20-TECHS/G131.html">G131: Providing descriptive labels</a></li>
</ul>
</div>
</li>
<li class="list-group-item">
<div class="w-100">
<a href="https://www.w3.org/WAI/WCAG20/quickref/?currentsidebar=%23col_overview#ensure-compat-rsv">4.1.2 Name, Role, Value Level A</a>
<ul>
<li><a href="http://www.w3.org/TR/WCAG20-TECHS/G108.html">G108: Using markup features to expose the name and role, allow user-settable properties to be directly set, and provide notification of changes</a></li>
<li><a href="http://www.w3.org/TR/WCAG20-TECHS/H44.html">H44: Using label elements to associate text labels with form controls</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="annotModal08" tabindex="-1" role="dialog" aria-labelledby="annotModal08Heading">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<h3 class="modal-title" id="annotModal08Heading">08. Headings marked up as such</h3>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<p>The template suggests styling for headings using the corresponding markup within the HTML code.</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>
</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 Home Page</h1>
<h2 class="sr-only">Selected for you</h2>
<h3>The Baseline</h3>
<h3>Accessibility Champions</h3>
<h3>Expert section</h3>
<!-- Optional with ARIA -->
<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>
</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="annotModal09" tabindex="-1" role="dialog" aria-labelledby="annotModal09Heading">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<h3 class="modal-title" id="annotModal09Heading">09. Image with text alternative</h3>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<p>This image of the "Infographic" is considered informative, so a text alternative has been provided to briefly describe the image.</p>
<p>The element type or trait, such as image or button, does not need to be included in the alternative as it is programmatically determined and added by the screen reader. For example, an image coded as an image with an alternative beginning
"Image of ..." would be spoken as "Image. Image of ...".</p>
<h4 class="heading-s">HTML Example</h4>
<pre class="highlight">
<code class="html">
<img src="/infographic-xyz.png" alt="Cutout of infographic for the
9 step Getting Started with accessibility part. Step 1,
roles and responsibilities, and step 2, personas,
are partly shown.">
</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/#text-equiv-all">1.1.1 Non-text Content Level A</a>
<ul>
<li><a href="https://www.w3.org/TR/WCAG20-TECHS/G94">G94: Providing short text alternative for non-text content that serves the same purpose and presents the same information as the non-text content</a></li>
<li><a href="https://www.w3.org/TR/WCAG20-TECHS/H37">H37: Using alt attributes on img elements</a></li>
</ul>
</div>