-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
897 lines (763 loc) · 33.2 KB
/
index.html
File metadata and controls
897 lines (763 loc) · 33.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title></title>
<link rel="stylesheet" href="css/normalize.css"/>
<link rel="stylesheet" href="css/main.css"/>
<script src="js/jquery-1.12.0.min.js"></script>
<script src="js/main.js"></script>
</head>
<body>
<div class="container" id="main">
<h2>It should be a h1 tag</h2>
<p>Last updated: 18 February 2016 by <a href="https://twitter.com/dugboticus">@dugboticus</a></p>
<p>The aim of this page is to run autmated tools against it to see which fails are identified.</p>
<p>There are 109 fails grouped into 18 categories. This is a work in progress, I'll be adding many more fails.</p>
<nav>
<ul>
<li><a href="index.html#content">Content</a> 5</li>
<li><a href="index.html#pagelayout">Page Layout</a> 1</li>
<li><a href="index.html#colourandcontrast">Colour and Contrast</a> 5</li>
<li><a href="index.html#typography">Typography</a> 8</li>
<li><a href="index.html#languageofcontent">Language of content</a> 8</li>
<li><a href="index.html#pagetitle">Page Title</a> 3</li>
<li><a href="index.html#headings">Headings</a> 4</li>
<li><a href="index.html#lists">Lists</a> 6</li>
<li><a href="index.html#tables">Tables</a> 8</li>
<li><a href="index.html#images">Images</a> 9</li>
<li><a href="index.html#links">Links</a> 18 </li>
<li><a href="index.html#buttons">Buttons</a> 5</li>
<li><a href="index.html#forms">Forms</a> 9</li>
<li><a href="index.html#navigation">Navigation</a> 2</li>
<li><a href="index.html#keyboardaccess">Keyboard Access</a> 6</li>
<li><a href="index.html#frames">Frames</a> 2</li>
<li><a href="index.html#html">HTML</a> 9</li>
<li><a href="index.html#css">CSS</a> 5</li>
</ul>
</nav>
<h2 id="content">Content</h2>
<h3>Plain Language is not used</h3>
<div class="example">
Title I of the CARE Act creates a program of formula and supplemental competitive grants to help metropolitan areas
with 2,000 or more reported AIDS cases meet emergency care needs of low-income HIV patients. Title II of the Ryan
White Act provides formula grants to States and territories for operation of HIV service consortia in the localities
most affected bu the epidemic, provision of home and community -based care, continuation of insurance coverage for
persons with HIV infection, and treatments that prolong life and prevent serious deterioration of health.
Up to 10 percent of the funds for this program can be used to support Special Projects of National Significance.
</div>
<h3>Content is not organised into into well-defined groups or chunks, using headings, lists, and other visual mechanisms</h3>
<div class="example">
insert_example
</div>
<h3>First instance of abbreviation not expanded</h3>
<div class="example">
<abbr>GDS</abbr> is part of the Cabinet Office. Our job is digital transformation of government.
</div>
<h3>Content identified by location </h3>
<div class="example example--contain">
<p>The artist on the right won the Album of the year</p>
<a href="http://aduggin.github.io/accessibility-fails/swift.html" style="float:right">Taylor Swift</a>
<a href="http://aduggin.github.io/accessibility-fails/sheeran.html" style="float:left">Ed Sheeran</a>
</div>
<h3>Content is not in correct reading order in source code</h3>
<div class="example example--contain">
<h4>3-Step Skin Care</h4>
<div style="float:right; width:33%">Moisturise</div>
<div style="float:right; width:33%">Exfoliate</div>
<div style="float:right; width:33%">Cleanse</div>
</div>
<h2 id="pagelayout">Page Layout</h2>
<h3>Wide page forces users to scroll horizontally</h3>
<div class="example example--wide">
<p class="constrained">When sites are constructed to require horizontal scrolling in order to navigate or read content at a normal size of 100% using standard screen sizes, additional problems can arise for users with low vision or mobility impairments.</p>
<p style="float:right;">This is some text you have to horizontally scroll to read.</p>
</div>
<h2 id="colourandcontrast">Colour and Contrast</h2>
<h3>Color alone is used to convey content</h3>
<div class="example">
<p>The green mushrooms listed here are OK to eat. The red mushrooms will kill you.</p>
<ul>
<li class="poisonous">Amanita</li>
<li class="safe">Chanterelle</li>
<li class="safe">Porcini</li>
<li class="safe">Shitake</li>
<li class="poisonous">Tylopilus</li>
</ul>
</div>
<h3>Small text does not have a contrast ratio of at least 4.5:1 so does not meet AA</h3>
<div class="example">
<p class="low-contrast-small-aa">This small text does not have enough contrast with it's background</p>
</div>
<h3>Large text does not have a contrast ratio of at least 3:1 so does not meet AA</h3>
<div class="example">
<p class="low-contrast-large-aa">This small text does not have enough contrast with it's background</p>
</div>
<h3>Small text does not have a contrast ratio of at least 7:1 so does not meet AAA</h3>
<div class="example">
<p class="low-contrast-small-aaa">This small text does not have enough contrast with it's background</p>
</div>
<h3>Large text does not have a contrast ratio of at least 4.5:1 so does not meet AAA</h3>
<div class="example">
<p class="low-contrast-large-aa">This small text does not have enough contrast with it's background</p>
</div>
<h2 id="typography">Typography</h2>
<h3>Very small text found</h3>
<div class="example">
<p class="small-text">This is some tiny text, much too small for some people to read</p>
</div>
<h3>Italics used on long sections of text</h3>
<div class="example">
<p class="italic">Italics are sometimes used to highlight text. But you shouldn't use italicized text because they make letters hard to read. The letters have a jagged line compared to non-italic fonts. The letters also lean over making it hard for dyslexic users to make out the words. When the text size is small, the text is even more illegible.</p>
</div>
<h3>All caps text found</h3>
<div class="example">
<p class="all-caps">Typing sentences or phrases IN ALL CAPITALS is rarely a good idea. It may make sense under some circumstances, but only rarely. Lengthy segments of capitalized content are more difficult to read. In some cases, a screen reader may interpret ALL CAPITAL text as being an acronym and may read it as letters rather than words. For example, a screen reader may read the uppercase text CONTACT US as "Contact U. S." because it interprets the uppercase "US" as being an acronym for "United States".</p>
</div>
<h3>Justified text found</h3>
<div class="example">
<p class="justify">When text is justified to both margins it may add additional spaces between words which may be difficult for users with visual or cognitive impairments to read. Full text justification can also cause words to be spaced closely together thus making it difficult to determine where a word starts and ends.</p>
</div>
<h3>Inadequate line height used</h3>
<div class="example">
<p class="line-height">Many people with cognitive disabilities have trouble tracking lines of text when a block of text is single spaced. Providing spacing between 1.5 to 2 allows them to start a new line more easily once they have finished the previous one.</p>
</div>
<h3>Long lines of text</h3>
<div class="example example--wide">
<p>For people with some reading or vision disabilities, long lines of text can become a significant barrier. They have trouble keeping their place and following the flow of text. Having a narrow block of text makes it easier for them to continue on to the next line in a block. Lines should not exceed 80 characters</p>
</div>
<h3>Blink element found</h3>
<div class="example">
<blink>Blinking text and moving text (such as a marquee) can distract the reader's attention. This is especially relevant to people with attention deficits or cognitive disabilities. Neither is likely to cause a seizure, but they are likely to decrease the readability of the document as a whole and increase the time it takes for users to finish reading it.</blink>
</div>
<h3>Marquee element found</h3>
<div class="example">
<marquee>The BLINK and MARQUEE element animates content in a way that cannot be overridden or disabled by the user.</marquee>
</div>
<h2 id="languageofcontent">Language of content</h2>
<h3>html element is missing a lang attribute</h3>
<div class="example">
<a href="missing.html">Example page with a missing lang attribute</a>
</div>
<h3>html element has an empty lang attribute</h3>
<div class="example">
<a href="empty.html">Example page with an empty lang attribute</a>
</div>
<h3>html element has an invalid value in the lang attribute</h3>
<div class="example">
<a href="invalid.html">Example page with a lang attribute set to an invalid</a>
</div>
<h3>html element has lang attribute set to wrong language</h3>
<div class="example">
<a href="inappropriate.html">Example page with a lang attribute set to the wrong language</a>
</div>
<h3>lang attribute not used to identify change of language</h3>
<div class="example">
<p>Mother, he's asking you to go. He's saying, "Allons, Madame plaisante!"</p>
</div>
<h3>lang attribute used to identify change of language, but with invalid value</h3>
<div class="example">
<p>Mother, he's asking you to go. He's saying, <span lang="frrr">"Allons, Madame plaisante!"</span></p>
</div>
<h3>lang attribute used to identify change of language, but with wrong language</h3>
<div class="example">
<p>Mother, he's asking you to go. He's saying, <span lang="es">"Allons, Madame plaisante!"</span></p>
</div>
<h3>Text language changed without required change in direction</h3>
<div class="example">
<p lang="am" >placeholder text</p>
</div>
<h3>Missing page title</h3>
<div class="example">
<a href="missing.html">Example page with a missing page title</a>
</div>
<h2 id="pagetitle">Page Title</h2>
<h3>Empty page title</h3>
<div class="example">
<a href="empty.html">Example page with a empty page title</a>
</div>
<h3>Inappropriate page title</h3>
<div class="example">
<a href="inappropriate.html">Example page with a inappropriate page title</a>
</div>
<h2 id="headings">Headings</h2>
<h3>Missing H1</h3>
<div class="example">
<a href="missing.html">Example page with no H1</a>
</div>
<h3>Headings not structured in a hierarchical manner</h3>
<div class="example">
<h3>Heading 3</h3>
<p>Pages should be structured in a hierarchical manner, generally with one 1st degree headings (h1) being the
most important (usually page titles or main content heading), then 2nd degree headings (h2 - usually major
section headings), down to 3rd degree headings (sub-sections of the h2), and so on. </p>
<h5>Heading 5</h5>
<p>Technically, lower degree headings should be contained within headings of the next highest degree
(i.e., one should not skip heading levels, such as from an h2 to an h4, going down the document).</p>
<h4>Heading 4</h4>
<p>This is an example where heading levels have been skipped and are not in a logical order, which makes the page
difficult to understand and navigate for people using assitive technologies such as screen reader.</p>
</div>
<h3>Empty heading</h3>
<div class="example">
<h4></h4>
<p>This paragraph is preceded by an empty H4</p>
</div>
<h3>Text formatting used instead of an actual heading</h3>
<div class="example">
<div class="fake-heading">Fake Heading</div>
<p>This paragraph is preceded by a div that is styled to look like a heading</p>
</div>
<h2 id="lists">Lists</h2>
<h3>List not marked up as a list</h3>
<div class="example">
* apple <br />
* orange <br />
* banana <br />
* pear
</div>
<h3>Improperly nested lists</h3>
<div class="example">
<ul>
<ul>
<li>improperly nested</li>
</ul>
</ul>
</div>
<h3>LI element with no parent</h3>
<div class="example">
<li>
no parent
</li>
</div>
<h3> DT or DD elements that are not contained within a DL element</h3>
<div class="example">
<dt>html</dt>
<dd>a markup language for describing web documents</dd>
</div>
<h2 id="tables">Tables</h2>
<h3>Table is missing a caption</h3>
<div class="example">
<table>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Age</th>
<th scope="col">Birthday</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">Jackie</th>
<td>5</td>
<td>April 5</td>
</tr>
<tr>
<th scope="row">Beth</th>
<td>8</td>
<td>January 14</td>
</tr>
</tbody>
</table>
</div>
<h3>Table has an empty table header</h3>
<div class="example">
<table>
<caption>Shelly's Daughters</caption>
<thead>
<tr>
<th></th>
<th scope="col">Age</th>
<th scope="col">Birthday</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">Jackie</th>
<td>5</td>
<td>April 5</td>
</tr>
<tr>
<th scope="row">Beth</th>
<td>8</td>
<td>January 14</td>
</tr>
</tbody>
</table>
</div>
<h3>Table has no scope attributes</h3>
<div class="example">
<table>
<caption>Shelly's Daughters</caption>
<thead>
<tr>
<th>Name</th>
<th>Age</th>
<th>Birthday</th>
</tr>
</thead>
<tbody>
<tr>
<th>Jackie</th>
<td>5</td>
<td>April 5</td>
</tr>
<tr>
<th>Beth</th>
<td>8</td>
<td>January 14</td>
</tr>
</tbody>
</table>
</div>
<h3>Table has no table headings</h3>
<div class="example">
<table>
<caption>Shelly's Daughters</caption>
<thead>
<tr>
<td>Name</td>
<td>Age</td>
<td>Birthday</td>
</tr>
</thead>
<tbody>
<tr>
<td>Jackie</td>
<td>5</td>
<td>April 5</td>
</tr>
<tr>
<td>Beth</td>
<td>8</td>
<td>January 14</td>
</tr>
</tbody>
</table>
</div>
<h3>Table that only has TH elements in it</h3>
<div class="example">
<table>
<thead>
<tr>
<th>Foo</th>
<th>Bar</th>
<th>Bat</th>
<th>Baz</th>
</tr>
</thead>
</table>
</div>
<h3>Table nested within table header</h3>
<div class="example">
<table>
<tr>
<th>
<table>
<tr>
<th>b.a</th>
</tr>
<tr>
<td>b.b</td>
</tr>
</table>
</th>
</tr>
<tr>
<td>a.b</td>
</tr>
</table>
</div>
<h3>Table nested within table</h3>
<div class="example">
<table>
<tr>
<th>1.1</th>
</tr>
<tr>
<td>
<table>
<tr>
<th>2.1</th>
</tr>
<tr>
<td>2.2</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<h3>Table used for layout</h3>
<div class="example">
<table>
<tr>
<td>navigation</td>
<td>main content</td>
</tr>
</table>
</div>
<h2 id="images">Images</h2>
<h3>Image with no alt attribute</h3>
<div class="example">
<img src="images/bbc-blocks-dark.png" />
</div>
<h3>Image that conveys information has an empty alt attribute </h3>
<div class="example">
<img src="images/bbc-blocks-dark.png" alt="" />
</div>
<h3>Image that conveys information has inappropriate alt text </h3>
<div class="example">
<img src="images/bbc-blocks-dark.png" alt="Twitter" />
</div>
<h3>Image alt attribute contains image file name </h3>
<div class="example">
<img src="images/bbc-blocks-dark.png" alt="bbc-blocks-dark.png" />
</div>
<h3>Image with presentation role has non-empty alt</h3>
<div class="example">
<img role="presentation" src="images/decoration.png" width="368" height="118" alt="Decorative line clipart">
</div>
<h3>Image has empty alt and non-empty title</h3>
<div class="example">
<img src="images/bbc-blocks-dark.png" alt="" title="BBC"/>
</div>
<h3>Image has alt and title that are different</h3>
<div class="example">
<img src="images/bbc-blocks-dark.png" alt="BBC" title="BBC homepage"/>
</div>
<h3>Background image that conveys information does not have a text alternative</h3>
<div class="example">
<div class="warning-icon">
Taking too much of your pension money in early retirement could mean you don't have enough for later.
</div>
</div>
<h3>A distraction is present, an animated gif</h3>
<div class="example">
<img src="images/animated-tree.gif" width="157" height="193" alt="Animated gif of a Christmas tree with a toy train round and round the base of the tree">
</div>
<h2 id="links">Links</h2>
<h3>Uninformative link text</h3>
<div class="example">
<h4>Polar bear</h4>
<p>The polar bear is a carnivorous bear whose native range lies largely within the Arctic Circle,
encompassing the Arctic Ocean, its surrounding seas and surrounding land masses.</p>
<a href="https://en.wikipedia.org/wiki/Polar_bear">Read more</a>
</div>
<h3>Non-specific link text</h3>
<div class="example">
<a href="http://aduggin.github.io/accessibility-fails/rockies.html">Click here</a> for more information on the Rocky Mountains.
</div>
<h3>Link text does not make sense out of context</h3>
<div class="example">
<p>To know more about me, visit my <a href="http://aduggin.github.io/accessibility-fails/page.html">page</a>.</p>
</div>
<h3>Adjacent links going to the same destination</h3>
<div class="example">
<a href="https://en.wikipedia.org/wiki/Red_panda"><img src="images/red_panda.jpg" width="220" height="165" alt="Red Panda" /></a>
<a href="https://en.wikipedia.org/wiki/Red_panda">Red Panda</a>
</div>
<h3>Image link alt text repeats text in the link</h3>
<div class="example">
<a href="https://en.wikipedia.org/wiki/Red_panda">
<img src="images/red_panda.jpg" width="220" height="165" alt="Red Panda" />
Red Panda
</a>
</div>
<h3>Image link with no alternative text</h3>
<div class="example">
<a href="http://www.bbc.co.uk"><img src="images/bbc-blocks-dark.png" alt="" /></a>
</div>
<h3>Blank link text</h3>
<div class="example">
<a href="http://www.google.com"></a>
</div>
<h3>Link contains only a full stop</h3>
<div class="example">
Visit the GOV.UK website <a href="https://www.gov.uk/">.</a>
</div>
<h3>Link with the same text go to different pages</h3>
<div class="example">
<a href="https://en.wikipedia.org/wiki/Lion">Lions</a> are the only truly social cats, with related females
living together in prides overseen by male coalitio that compete for possession in fierce and often fatal battles.
<a href="http://animals.nationalgeographic.com/animals/mammals/african-lion/">Lions</a> are predatory carnivores and it's the females that perform most of the hunting at night; the majority
of the prey being antelope, zebra and wildebeest.
</div>
<h3>Link text with identical title</h3>
<div class="example">
<a href="http://www.google.com" title="Google">Google</a>
</div>
<h3>Link launches new window with no warning</h3>
<div class="example">
<a href="https://twitter.com/" target="_blank">Twitter</a>
</div>
<h3>Link not clearly identifiable and distinguishable from surrounding text</h3>
<div class="example">
<p class="unobvious-link">Find out more about <a href="http://www.bbc.co.uk/programmes/b006q2x0">Doctor Who</a></p>
</div>
<h3>Link to pdf does not include information on file format and file size</h3>
<div class="example">
<a href="http://www.bdadyslexia.org.uk/common/ckeditor/filemanager/userfiles/About_Us/policies/Dyslexia_Style_Guide.pdf">Dyslexia style guide</a>
</div>
<h3>Link to an image, no text alternative</h3>
<div class="example">
My favourite <a href="images/bat.jpg">bat</a>
</div>
<h3>Link to a multimedia file, no transcript</h3>
<div class="example">
<a href="http://aduggin.github.io/accessibility-fails/interview.mov">Watch the interview</a>
</div>
<h3>Links to a sound file, no transcript</h3>
<div class="example">
<a href="http://aduggin.github.io/accessibility-fails/interview.mp3">Listen to the interview</a>
</div>
<h3>Links not seperated by printable characters</h3>
<div class="example">
<a href="http://aduggin.github.io/accessibility-fails/a.html">Page A</a> <a href="http://aduggin.github.io/accessibility-fails/b.html">Page B</a> <a href="http://aduggin.github.io/accessibility-fails/c.html">Page C</a>
</div>
<h3>Link to #, invalid hypertext reference</h3>
<div class="example">
<a href="index.html#">Do something</a>
</div>
<h3>Link to javascript, invalid hypertext reference</h3>
<div class="example">
<a href="javascript:alert('Hello world!')">Press me!</a>
</div>
<h2 id="buttons">Buttons</h2>
<h3>Empty button</h3>
<div class="example">
<button></button>
</div>
<h3>Image button has no alt attribute</h3>
<div class="example">
<input type="image" src="images/submit.png">
</div>
<h3>Empty alt attribute on image button</h3>
<div class="example">
<input type="image" src="images/submit.png" alt="">
</div>
<h3>Uninformative alt attribute value on image button</h3>
<div class="example">
<input type="image" src="images/submit.png" alt="click" />
</div>
<h2 id="forms">Forms</h2>
<h3>Fieldset without a legend</h3>
<div class="example">
<fieldset>
I am a fieldset without a legend
</fieldset>
</div>
<h3>Empty legend</h3>
<div class="example">
<fieldset>
<legend></legend>
</fieldset>
</div>
<h3>Form element has no label</h3>
<div class="example">
<input type="text">
</div>
<h3>Empty label found</h3>
<div class="example">
<label for="empty"></label>
<input type="text" id="empty" value="">
</div>
<h3>Placeholder no label</h3>
<div class="example">
<input type="search" name="q" id="search-main" Placeholder="Search">
<input class="submit" type="submit" value="Search">
</div>
<h3>Non-unique field label found</h3>
<div class="example">
<label for="x_3">Name
<input type="text" name="x_3" id="x_3">
</label><br >
<label for="x_4">Name
<input type="text" name="x_4" id="x_4">
</label>
</div>
<h3>Field hint not associated with input</h3>
<div class="example">
<label class="form-label" for="ni-number">
National Insurance number
</label>
<p class="form-hint">It'll be on your last payslip. For example, JH 21 90 0A.</p>
<input class="form-control" id="ni-number" type="text">
</div>
<h3>Group of radio buttons not enclosed in a fieldset</h3>
<div class="example">
<h4>Do you already have a personal user account?</h4>
<label class="block-label" for="radio-inline-1">
<input id="radio-inline-1" type="radio" name="radio-inline-group" value="Yes">
Yes
</label><br />
<label class="block-label" for="radio-inline-2">
<input id="radio-inline-2" type="radio" name="radio-inline-group" value="No">
No
</label>
</div>
<h3>Group of check boxes not enclosed in a fieldset</h3>
<div class="example">
<h4>Which types of waste do you transport regularly?</h4>
<label class="block-label" for="waste-type-1">
<input id="waste-type-1" name="waste-types" type="checkbox" value="waste-animal">
Waste from animal carcasses
</label><br />
<label class="block-label" for="waste-type-2">
<input id="waste-type-2" name="waste-types" type="checkbox" value="waste-mines">
Waste from mines or quarries
</label><br />
<label class="block-label" for="waste-type-3">
<input id="waste-type-3" name="waste-types" type="checkbox" value="waste-farm-agricultural">
Farm or agricultural waste
</label>
</div>
<h2 id="navigation">Navigation</h2>
<h3>Navigation placement, display, or functionality changes from from page to page</h3>
<div class="example">
insert_example
</div>
<h3>Inadequately-sized clickable targets found</h3>
<div class="example">
<a href="http://aduggin.github.io/accessibility-fails/a.html">a</a>
<a href="http://aduggin.github.io/accessibility-fails/b.html">b</a>
<a href="http://aduggin.github.io/accessibility-fails/c.html">c</a>
<a href="http://aduggin.github.io/accessibility-fails/d.html">d</a>
<a href="http://aduggin.github.io/accessibility-fails/e.html">e</a>
<a href="http://aduggin.github.io/accessibility-fails/f.html">f</a>
<a href="http://aduggin.github.io/accessibility-fails/g.html">g</a>
<a href="http://aduggin.github.io/accessibility-fails/h.html">h</a>
<a href="http://aduggin.github.io/accessibility-fails/i.html">i</a>
<a href="http://aduggin.github.io/accessibility-fails/j.html">j</a>
<a href="http://aduggin.github.io/accessibility-fails/k.html">k</a>
<a href="http://aduggin.github.io/accessibility-fails/l.html">l</a>
<a href="http://aduggin.github.io/accessibility-fails/m.html">m</a>
<a href="http://aduggin.github.io/accessibility-fails/n.html">n</a>
<a href="http://aduggin.github.io/accessibility-fails/o.html">o</a>
<a href="http://aduggin.github.io/accessibility-fails/p.html">p</a>
<a href="http://aduggin.github.io/accessibility-fails/q.html">q</a>
<a href="http://aduggin.github.io/accessibility-fails/r.html">r</a>
<a href="http://aduggin.github.io/accessibility-fails/s.html">s</a>
<a href="http://aduggin.github.io/accessibility-fails/t.html">t</a>
<a href="http://aduggin.github.io/accessibility-fails/u.html">u</a>
<a href="http://aduggin.github.io/accessibility-fails/v.html">v</a>
<a href="http://aduggin.github.io/accessibility-fails/w.html">w</a>
<a href="http://aduggin.github.io/accessibility-fails/x.html">x</a>
<a href="http://aduggin.github.io/accessibility-fails/y.html">y</a>
<a href="http://aduggin.github.io/accessibility-fails/z.html">z</a>
</div>
<h2 id="keyboardaccess">Keyboard Access</h2>
<h3>Keyboard focus is not indicated visually</h3>
<div class="example">
<a href="http://aduggin.github.io/accessibility-fails/link.html" class="no-outine">Link with no focus style</a>
</div>
<h3>Don't use the accesskey attribute</h3>
<div class="example">
<a href="http://aduggin.github.io/accessibility-fails/page.html" accesskey="A">A link with an accesskey attribute</a>
</div>
<h3>Tabindex greater than 0</h3>
<div class="example">
<a href="http://aduggin.github.io/accessibility-fails/page.html" tabindex="5">A link with a tabindex greater than 0</a>
</div>
<h3>Fake button is not keyboard accessible</h3>
<div class="example">
<div id="webchat" class="button">launch webchat</div>
</div>
<h3>Link with a role=button does not work with space bar</h3>
<div class="example">
<a href="http://aduggin.github.io/accessibility-fails/next.html" class="button" role="button">Continue</a>
</div>
<h3>Keyboard focus assigned to a non focusable element using tabindex=0</h3>
<div class="example">
<p tabindex="0">My favourite car</p>
</div>
<h3>Keyboard trap</h3>
<div class="example">
<p><a href="keyboardtrap.html">Example page that contains a keyboard trap</a></p>
</div>
<h2 id="frames">Frames</h2>
<h3>iframe is missing a title attribute</h3>
<div class="example">
<iframe src="demo.html" width="300" height="100"></iframe>
</div>
<h3>iframe title attribute does not describes the content or purpose in the iframe</h3>
<div class="example">
<iframe src="demo.html" width="300" height="100" title="Facebook"></iframe>
</div>
<h2 id="html">HTML</h2>
<h3>Duplicate id</h3>
<div class="example">
<div id="nav">global nav</div>
<div id="nav">page nav</div>
</div>
<h3>Start and close tags don't match</h3>
<div class="example">
<div>strings of pearls</span></div>
</div>
<h3>Empty paragraph</h3>
<div class="example">
<p></p>
</div>
<h3>Deprecated color definition</h3>
<div class="example">
<p><font color="blue">The colour of this text is set using the font element and the color attribute</font></p>
</div>
<h3>Deprecated font element</h3>
<div class="example">
<p><font size="5" face="aria">The size and face of this text is set using the font element and the size and face attributes</font></p>
</div>
<h3>Deprecated center element</h3>
<div class="example">
<center>This text is centred using the center element</center>
</div>
<h3>Spacer image found</h3>
<div class="example">
<img src="images/spacer.gif" alt="" width="100" height="1">
</div>
<h3>PRE element without CODE element inside it</h3>
<div class="example">
<pre>
Your
/\ (`/`|| _ +
/--\,)\,|| (||`|
goes here
</pre>
</div>
<h3>Object not embedded accessibly - wmode parameter not set to window</h3>
<div class="example">
<object data="http://aduggin.github.io/accessibility-fails/foo" type="bar"></object>
</div>
<h2 id="css">CSS</h2>
<h3>display:none used to visually hide content when it should be available to screenreader</h3>
<div class="example">
<a href="http://aduggin.github.io/accessibility-fails/football.html">Read more <span style="display:none"> about football</span></a>
</div>
<h3>visibility:hidden used to visually hide content when it should be available to screenreader</h3>
<div class="example">
<a href="http://aduggin.github.io/accessibility-fails/rugby.html">Read more <span style="visibility:hidden"> about rugby</span></a>
</div>
<h3>Content is not readable and functional when text is increased</h3>
<div class="example">
<p class="resize">This text becomes unreadable when you increase the text-size (Zoom text only) in
<a href="https://www.mozilla.org/en-GB/firefox/desktop/">Firefox</a></p>
</div>
<h3>Non-decorative content inserted using CSS</h3>
<div class="example">
<p id="css-generated-text">My favourite food is </p>
</div>
<h3>display:table being used for layout</h3>
<div class="example">
<div class="display-table">
<div class="display-table-cell">
Vertically and horzontally aligned text
</div>
</div>
</div>
</div>
<script language=javascript>
document.write("<hr>")
document.write("<h3>MODIF: Display Img without alt by JavaScript</h3>");
document.write("<div class=\"example\">");
document.write("<img src=images/red_panda.jpg>");
document.write("</div>");
</script>