-
Notifications
You must be signed in to change notification settings - Fork 10
/
index-bad.html
1309 lines (1121 loc) · 57.9 KB
/
index-bad.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
863
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 name="viewport"
content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=yes">
<title>Bad Example - 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="styles/fixes.processed.css">
<script src="/cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="body bad" id="totop">
<div class="site-header">
<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">
<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 btn-annot-outline" 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="Homepage Accessibility">
</a>
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarSupportedContent">
<span class="navbar-toggler-icon"></span>
<span class="sr-only">Toggle</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">
<label for="search">Search</label>
<input class="form-control form-control-search mr-2 btn-annot-outline" type="text" id="search"
placeholder="Type term...">
<button class="btn btn-tertiary search-button my-2 my-sm-0 ml-0 p-1" type="submit">
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/1182308/icon-search.png">
<span class="sr-only">Search</span>
</button>
</nav>
</div>
</nav>
</div>
<div class="brandbar brandbar-a">
<div class="brandbar-image brandbar-image-kitesurf"></div>
<div class="container">
<div class="brandbar-header">
<div class="brandbar-heading">
<span class="d-block annot-relative">
<span class="brandbar-title btn-annot-outline">Inaccessible Home Page</span>
<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="btn btn-primary">
Getting Started with A11Y
</a>
</span>
</div>
</div>
</div>
</div>
</div>
<main class="btn-annot-outline" role="main" id="main-content">
<div class="full-cover bg-faded">
<div class="container">
<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">
<button type="button" class="btn btn-annot btn-annot-image" data-toggle="modal" data-target="#annotModal09">09</button>
</div>
<div class="card-block">
<div class="card-title">The Baseline</div>
<p class="lead text-primary">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="btn btn-primary btn-annot-outline">
Read more...
</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 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="btn btn-primary mt-4">
Read more...
</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">
<div class="card-title btn-annot-outline">Accessibility Champions</div>
<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="https://confluence.europe.intranet/display/ACC/Champions" class="btn btn-primary btn-annot-outline">
Read more...
</a>
<button type="button" class="btn btn-annot" data-toggle="modal" data-target="#annotModal12">12</button>
</span>
</p>
<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>
</span>
</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 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="btn btn-primary mt-4">
Read more...
</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">
Responsibilities for:
</h3>
<div class="mb-2"><a href="index.html" class="link-linklist">User Experience</a></div>
<div class="mb-2"><a href="index.html" class="link-linklist">Developers</a></div>
<div class="mb-2"><a href="index.html" class="link-linklist">Editors</a></div>
<div class="mb-2"><a href="index.html" class="link-linklist">Product Owners</a></div>
<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="image">
<button type="button" class="btn btn-annot btn-annot-image" data-toggle="modal" data-target="#annotModal10">10</button>
<div class="card-block">
<div class="card-title">Expert section</div>
<p class="lead text-primary 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="btn btn-primary btn-annot-outline">
Read more...
</a>
<button type="button" class="btn btn-annot" data-toggle="modal" data-target="#annotModal13">13</button>
</span>
<span class="d-block mt-4 annot-relative">
<a href="http://a11y.ing.net" class="link-linklist btn-annot-outline" data-toggle="modal" data-target="#a11ycasts">Watch the video</a>
<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 class="card-title">Training!</div>
<p class="lead text-primary 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="btn btn-primary mt-2">
Read more...
</a>
</span>
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
<div class="full-cover btn-annot-outline site-footer bg-grey">
<div class="container btn-annot-outline text-center">
<div class="d-inline-block annot-relative">
<div class="pipe-links list-inline mt-2 mb-3 btn-annot-outline">
<div class="list-inline-item">
<a href="index.html">About A11Y</a>
</div>
<div class="list-inline-item">
<a href="index.html">Universal Design</a>
</div>
<div class="list-inline-item">
<a href="index.html">Privacy en cookies</a>
</div>
<div class="list-inline-item">
<a href="index.html">Disclaimer</a>
</div>
<div class="list-inline-item">
<a href="index.html">Accessibility</a>
</div>
</div>
<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>
</div>
<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 unclear 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>This and all other pages are identified as "Bad Demonstration" using the <code><title></code> element so that it is unclear for some readers on which page they are on.</p>
<div class="alert alert-info">
<p>
<strong>Note!</strong> Errors on the template are propagated throughout the entire website.
</p>
</div>
<h4 class="heading-s">HTML Failure</h4>
<pre class="highlight">
<code class="html">
<title>Bad Demonstration</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/F25.html">F25: Failure of Success Criterion 2.4.2 due to the title of a Web page not identifying the contents</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. Zoom and scaling 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>Don't add the user-scalable=no parameter in the <code><meta name="viewport"></code> element because it disables scaling and zooming which is essential to 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,
maximum-scale=1,
minimum-scale=1,
user-scalable=no">
</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. No mechanisms 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>The page does not offer mechanisms to bypass the header and navigation blocks which are repeated on each page. Such skip-links make website use more effective for some readers and keyboard users.</p>
<div class="alert alert-info">
<p>
<strong>Note!</strong> Errors on the template are propagated throughout the entire website
</p>
</div>
<h4 class="heading-s">HTML Failure</h4>
<pre class="highlight">
<code class="html">
<body>
<!-- No skip-links -->
...
</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. No Landmarks or 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>Not using 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>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> Errors on the template are propagated throughout the entire website.
</p>
</div>
<h4 class="heading-s">HTML Failure</h4>
<pre class="highlight">
<code class="html">
<div id="header">
<div id="logo">...</div>
<div id="navigation">
<ul>
<li>Payments</li>
<li>Savings</li>
<li>Mortgages</li>
</ul>
<div id="search">...<input type="text" />...</div>
</div>
</div>
<div id="main-content">
<h1>ING</h1>
...
</div>
<div id="complementary-content"> ... </div>
<div id="footer">
<p>ING 2017</p>
<ul> ... </ul>
</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/#navigation-mechanisms-skip">1.3.1
Info and Relationships Level A</a>
<ul>
<li>No failures currently documented</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>Failure by not providing landmarks</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>
<ul>
<li>No failures currently documented</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="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. Omitted Language of and within the Document</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 primary language of the document in the opening <code><html></code> element as well as the language of each passage or phrase in the content is not present.</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 Failure</h4>
<pre class="highlight">
<code class="html">
<!-- Document level -->
<html>
<!-- Within the Document -->
<option value="nederlands">Nederlands</option>
<p>While in Spain, my friend tried to speak Spanish, but she wasn't very good.
Everyone kept saying "No comprendo nada de lo que dices."</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>
</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>
</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 without name, role, states and values</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>No navigational landmark and accessible name present</li>
<li>No relationship between and status for menu present</li>
<li>No text alternative present for functional icon</li>
<li>Menu not marked up with a list and no nested relationsship present</li>
<li>No indication of current / active link</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 Failure</h4>
<pre class="highlight">
<code class="html">
<!-- No navigational landmark present -->
<!-- No accessible name present -->
<!-- No relationship between and status for menu present -->
<button>
<span class="icon-hamburger"></span>
<!-- No text alternative present -->
</button>
<div id="mainMenuItems">
<!-- Menu not marked up with a list -->
<div>
<div class="active">
<!-- No indication of current / active link -->
<a href="index.html">Home</a>
<!-- No nested relationsship present -->
<div>
<div><a class="active" href="index.html">Good</a></div>
<div><a href="index-bad.html">Bad</a></div>
</div>
</div>
<div>
<a href="media.html">Media</a>
</div>
<div>
<a href="table.html">Tables</a>
</div>
</div>
</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/#text-equiv-all">1.1.1 Non-text Content Level A</a>
</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/F68.html">F68: Failure of Success Criterion 4.1.2 due to a user interface control not having a programmatically determined name</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/F68.html">F68: Failure of Success Criterion 4.1.2 due to a user interface control not having a programmatically determined name</a></li>
<li><a href="http://www.w3.org/TR/WCAG20-TECHS/F89.html">F89: Failure of Success Criteria 2.4.4, 2.4.9 and 4.1.2 due to not providing an accessible name for an image which is the only content in a link</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. Omitted sectioning landmark, label for input and button not present</h3>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<p>Quick navigating by landmark is not available. The button as well as the input don't have a label and the placeholder who is not descriptive is not an equivalent replacement.</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 Failure</h4>
<pre class="highlight">
<code class="html">
<input type="text" placeholder="Type term...">
<button type="submit">
<img src="../icon-search.png">
</button>
</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="http://www.w3.org/TR/WCAG20-TECHS/F68.html">F68: Failure of Success Criterion 4.1.2 due to a user interface control not having a programmatically determined name</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>
</div>
</li>
<li class="list-group-item">
<div class="w-100">
<a href="https://www.w3.org/WAI/WCAG20/quickref/?currentsidebar=#col_overview#ensure-compat-rsv">4.1.2 Name, Role, Value Level A</a>
<ul>
<li><a href="http://www.w3.org/TR/WCAG20-TECHS/F68.html">F68: Failure of Success Criterion 4.1.2 due to a user interface control not having a programmatically determined name</a></li>
<li><a href="http://www.w3.org/TR/WCAG20-TECHS/F89.html">F89: Failure of Success Criteria 2.4.4, 2.4.9 and 4.1.2 due to not providing an accessible name for an image which is the only content in a link</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 not 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 without use of 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>Be consistent in the use of headings</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 Failure</h4>
<pre class="highlight">
<code class="html">
<!-- Not using H elements for headings -->
<span class="brandbar-title">Inaccessible Home Page</span>
<div class="heading-m">The Baseline</div>
<div class="heading-m">Accessibility Champions</div>
<div class="heading-m">Expert section</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/F2">F2: Failure of Success Criterion 1.3.1 due to using changes in text presentation to convey information without using the appropriate markup or text</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. Informative image without any 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 does not have any text alternative, so that it is unclear to some users if the image is important or not.</p>
<p>Screen readers try to solve the lack of an <code>alt</code> attribute for example by reading the file name. This may cause the screen reader to read: "image, 123-xyz-AHOF9JD.jpg" which is not what a user is expected to hear of course.</p>
<div class="alert alert-info">
<p>
<strong>Note!</strong> Every img element should have an alt attribute. The attribute should be empty if the image should be ignored by assistive technology.
</p>
</div>
<h4 class="heading-s">HTML Failure</h4>
<pre class="highlight">
<code class="html">
<img src="infographic-xyz.png">
</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/F65">F65: Failure of Success Criterion 1.1.1 due to omitting the alt attribute or text alternative on img elements, area elements, and input elements of type "image"</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="annotModal10" tabindex="-1" role="dialog" aria-labelledby="annotModal10Heading">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<h3 class="modal-title" id="annotModal10Heading">10. Decorative image without empty 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 has the text alternative "image", which does not provide any useful information. The image should have an empty text alternative to indicate that it is a decorative image that should be ignored by assistive technology.</p>
<div class="alert alert-info">
<p>
<strong>Note!</strong> Images can also be dispayed using CSS rather than the img element.
</p>
</div>
<h4 class="heading-s">HTML Example</h4>
<pre class="highlight">
<code class="html">
<img src="experts.jpg" alt="image">
</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/F39">F39: Failure of Success Criterion 1.1.1 due to providing a text alternative that is not null (e.g., alt="spacer" or alt="image") for images that should be ignored by assistive technology</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="annotModal11" tabindex="-1" role="dialog" aria-labelledby="annotModal11Heading">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<h3 class="modal-title" id="annotModal11Heading">11. Links and buttons not properly highlighted when they receive focus</h3>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<p>These links and buttons are not properly highlighted when they are selected using the keyboard or hovered over using a pointer device.</p>
<h4 class="heading-s">HTML Failure</h4>