-
Notifications
You must be signed in to change notification settings - Fork 31
/
test-cases.html
2134 lines (1793 loc) · 68.6 KB
/
test-cases.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">
<title>Accessibility tools audit results - What we tested - GDS accessibility team</title>
<link rel="stylesheet" href="assets/stylesheets/application.css" />
<link rel="stylesheet" href="assets/stylesheets/tests.css" />
<script src="assets/javascript/jquery-1.12.0.min.js"></script>
<script src="assets/javascript/main.js"></script>
</head>
<body class="tests">
<header id="global-header" role="banner">
<div class="header-wrapper">
<div class="header-global">
<div class="header-logo">
<a id="logo" class="content" href="index.html">Accessibility tool audit</a>
</div>
</div>
</div>
</header>
<main id="wrapper">
<div class="breadcrumbs">
<ol>
<li><a href="index.html">Overview</a></li>
<li>Test cases</li>
</ol>
</div>
<div class="grid-row">
<div class="column-two-thirds intro-summary">
<h1>What we tested</h1>
<nav>
<ul>
<li><a href="#content">Content</a></li>
<li><a href="#pagelayout">Page Layout</a></li>
<li><a href="#colourandcontrast">Colour and Contrast</a></li>
<li><a href="#typography">Typography</a></li>
<li><a href="#languageofcontent">Language of content</a></li>
<li><a href="#pagetitle">Page Title</a></li>
<li><a href="#headings">Headings</a></li>
<li><a href="#lists">Lists</a></li>
<li><a href="#tables">Tables</a></li>
<li><a href="#images">Images</a></li>
<li><a href="#multimedia">Multimedia</a></li>
<li><a href="#links">Links</a></li>
<li><a href="#buttons">Buttons</a></li>
<li><a href="#forms">Forms</a></li>
<li><a href="#navigation">Navigation</a></li>
<li><a href="#keyboardaccess">Keyboard Access</a></li>
<li><a href="#frames">Frames</a></li>
<li><a href="#css">CSS</a></li>
<li><a href="#html">HTML</a></li>
</ul>
</nav>
</div>
</div>
<h2 id="content" class="heading-large">Content</h2>
<h3 class="heading-medium" id="content-content-identified-by-location">
<a href="tests/content-content-identified-by-location.html">
Content identified by location
</a>
</h3>
<div class="example">
<p>The artist on the right won the Album of the year</p>
<a href="swift.html" style="float:right">Taylor Swift</a>
<a href="sheeran.html" style="float:left">Ed Sheeran</a>
</div>
<h3 class="heading-medium" id="content-plain-language-is-not-used">
<a href="tests/content-plain-language-is-not-used.html">
Plain language is not used
</a>
</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 by 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 class="heading-medium" id="content-content-is-not-in-correct-reading-order-in-source-code">
<a href="tests/content-content-is-not-in-correct-reading-order-in-source-code.html">
Content is not in correct reading order in source code
</a>
</h3>
<div class="example">
<div class="test-container"><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>
</div>
<h3 class="heading-medium" id="content-content-is-not-organised-into-well-defined-groups-or-chunks-using-headings,-lists,-and-other-visual-mechanisms">
<a href="tests/content-content-is-not-organised-into-well-defined-groups-or-chunks-using-headings,-lists,-and-other-visual-mechanisms.html">
Content is not organised into well-defined groups or chunks, using headings, lists, and other visual mechanisms
</a>
</h3>
<div class="example">
<a href="example-pages/unorganised_content.html">Example page with a long block of unorganised content.</a>
</div>
<h3 class="heading-medium" id="content-first-instance-of-abbreviation-not-expanded">
<a href="tests/content-first-instance-of-abbreviation-not-expanded.html">
First instance of abbreviation not expanded
</a>
</h3>
<div class="example">
<abbr>GDS</abbr> is part of the Cabinet Office. Our job is digital transformation of government.
</div>
<h2 id="pagelayout" class="heading-large">Page Layout</h2>
<h3 class="heading-medium" id="page-layout-wide-page-forces-users-to-scroll-horizontally">
<a href="tests/page-layout-wide-page-forces-users-to-scroll-horizontally.html">
Wide page forces users to scroll horizontally
</a>
</h3>
<div class="example">
<div class="constrained-box"><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 class="constrained-extra">This is some text you have to horizontally scroll to read.</p></div>
</div>
<h2 id="colourandcontrast" class="heading-large">Colour and Contrast</h2>
<h3 class="heading-medium" id="colour-and-contrast-colour-alone-is-used-to-convey-content">
<a href="tests/colour-and-contrast-colour-alone-is-used-to-convey-content.html">
Colour alone is used to convey content
</a>
</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 class="heading-medium" id="colour-and-contrast-small-text-does-not-have-a-contrast-ratio-of-at-least-45-1-so-does-not-meet-aa">
<a href="tests/colour-and-contrast-small-text-does-not-have-a-contrast-ratio-of-at-least-45-1-so-does-not-meet-aa.html">
Small text does not have a contrast ratio of at least 4.5:1 so does not meet AA
</a>
</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 class="heading-medium" id="colour-and-contrast-large-text-does-not-have-a-contrast-ratio-of-at-least-31-so-does-not-meet-aa">
<a href="tests/colour-and-contrast-large-text-does-not-have-a-contrast-ratio-of-at-least-31-so-does-not-meet-aa.html">
Large text does not have a contrast ratio of at least 3:1 so does not meet AA
</a>
</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 class="heading-medium" id="colour-and-contrast-small-text-does-not-have-a-contrast-ratio-of-at-least-71-so-does-not-meet-aaa">
<a href="tests/colour-and-contrast-small-text-does-not-have-a-contrast-ratio-of-at-least-71-so-does-not-meet-aaa.html">
Small text does not have a contrast ratio of at least 7:1 so does not meet AAA
</a>
</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 class="heading-medium" id="colour-and-contrast-large-text-does-not-have-a-contrast-ratio-of-at-least-45-1-so-does-not-meet-aaa">
<a href="tests/colour-and-contrast-large-text-does-not-have-a-contrast-ratio-of-at-least-45-1-so-does-not-meet-aaa.html">
Large text does not have a contrast ratio of at least 4.5:1 so does not meet AAA
</a>
</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 class="heading-medium" id="colour-and-contrast-focus-not-visible">
<a href="tests/colour-and-contrast-focus-not-visible.html">
Focus not visible
</a>
</h3>
<div class="example">
<a class="not-visible-outline-link" href="#">This links has visible focus</a> but this button
<button class="not-visible-outline">Search</button> doesn't
</div>
<h2 id="typography" class="heading-large">Typography</h2>
<h3 class="heading-medium" id="typography-inadequate-line-height-used">
<a href="tests/typography-inadequate-line-height-used.html">
Inadequate line height used
</a>
</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 class="heading-medium" id="typography-all-caps-text-found">
<a href="tests/typography-all-caps-text-found.html">
All caps text found
</a>
</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 class="heading-medium" id="typography-blink-element-found">
<a href="tests/typography-blink-element-found.html">
Blink element found
</a>
</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 class="heading-medium" id="typography-italics-used-on-long-sections-of-text">
<a href="tests/typography-italics-used-on-long-sections-of-text.html">
Italics used on long sections of text
</a>
</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 class="heading-medium" id="typography-marquee-element-found">
<a href="tests/typography-marquee-element-found.html">
Marquee element found
</a>
</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>
<h3 class="heading-medium" id="typography-long-lines-of-text">
<a href="tests/typography-long-lines-of-text.html">
Long lines of text
</a>
</h3>
<div class="example">
<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 class="heading-medium" id="typography-very-small-text-found">
<a href="tests/typography-very-small-text-found.html">
Very small text found
</a>
</h3>
<div class="example">
<p class="small-text">This is some tiny text, much too small for some people to read</p>
</div>
<h3 class="heading-medium" id="typography-justified-text-found">
<a href="tests/typography-justified-text-found.html">
Justified text found
</a>
</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>
<h2 id="languageofcontent" class="heading-large">Language of content</h2>
<h3 class="heading-medium" id="language-of-content-text-language-changed-without-required-change-in-direction">
<a href="tests/language-of-content-text-language-changed-without-required-change-in-direction.html">
Text language changed without required change in direction
</a>
</h3>
<div class="example">
<p lang="ar">الإعفاء الإلكتروني من التأشيرة</p>
</div>
<h3 class="heading-medium" id="language-of-content-html-element-has-an-empty-lang-attribute">
<a href="tests/language-of-content-html-element-has-an-empty-lang-attribute.html">
html element has an empty lang attribute
</a>
</h3>
<div class="example">
<a href="example-pages/empty.html">Example page with an empty lang attribute</a>
</div>
<h3 class="heading-medium" id="language-of-content-lang-attribute-not-used-to-identify-change-of-language">
<a href="tests/language-of-content-lang-attribute-not-used-to-identify-change-of-language.html">
lang attribute not used to identify change of language
</a>
</h3>
<div class="example">
<p>Mother, he's asking you to go. He's saying, "Allons, Madame plaisante!"</p>
</div>
<h3 class="heading-medium" id="language-of-content-text-language-is-in-the-wrong-direction">
<a href="tests/language-of-content-text-language-is-in-the-wrong-direction.html">
Text language is in the wrong direction
</a>
</h3>
<div class="example">
<p dir="rtl" lang="en">Electronic visa waiver</p>
</div>
<h3 class="heading-medium" id="language-of-content-html-element-has-an-invalid-value-in-the-lang-attribute">
<a href="tests/language-of-content-html-element-has-an-invalid-value-in-the-lang-attribute.html">
html element has an invalid value in the lang attribute
</a>
</h3>
<div class="example">
<a href="example-pages/invalid.html">Example page with an invalid lang attribute</a>
</div>
<h3 class="heading-medium" id="language-of-content-lang-attribute-used-to-identify-change-of-language-but-with-invalid-value">
<a href="tests/language-of-content-lang-attribute-used-to-identify-change-of-language-but-with-invalid-value.html">
lang attribute used to identify change of language, but with invalid value
</a>
</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 class="heading-medium" id="language-of-content-html-element-is-missing-a-lang-attribute">
<a href="tests/language-of-content-html-element-is-missing-a-lang-attribute.html">
html element is missing a lang attribute
</a>
</h3>
<div class="example">
<a href="example-pages/missing.html">Example page with a missing lang attribute</a>
</div>
<h3 class="heading-medium" id="language-of-content-html-element-has-lang-attribute-set-to-wrong-language">
<a href="tests/language-of-content-html-element-has-lang-attribute-set-to-wrong-language.html">
html element has lang attribute set to wrong language
</a>
</h3>
<div class="example">
<a href="example-pages/inappropriate.html">Example page with a lang attribute set to the wrong language</a>
</div>
<h3 class="heading-medium" id="language-of-content-lang-attribute-used-to-identify-change-of-language-but-with-wrong-language">
<a href="tests/language-of-content-lang-attribute-used-to-identify-change-of-language-but-with-wrong-language.html">
lang attribute used to identify change of language, but with wrong language
</a>
</h3>
<div class="example">
<p>Mother, he's asking you to go. He's saying, <span lang="es">"Allons, Madame plaisante!"</span></p>
</div>
<h2 id="pagetitle" class="heading-large">Page Title</h2>
<h3 class="heading-medium" id="page-title-inappropriate-page-title">
<a href="tests/page-title-inappropriate-page-title.html">
Inappropriate page title
</a>
</h3>
<div class="example">
<a href="example-pages/inappropriate.html">Example page with a inappropriate page title</a>
</div>
<h3 class="heading-medium" id="page-title-empty-page-title">
<a href="tests/page-title-empty-page-title.html">
Empty page title
</a>
</h3>
<div class="example">
<a href="example-pages/empty.html">Example page with a empty page title</a>
</div>
<h3 class="heading-medium" id="page-title-missing-page-title">
<a href="tests/page-title-missing-page-title.html">
Missing page title
</a>
</h3>
<div class="example">
<a href="example-pages/missing.html">Example page with a missing page title</a>
</div>
<h2 id="headings" class="heading-large">Headings</h2>
<h3 class="heading-medium" id="headings-empty-heading">
<a href="tests/headings-empty-heading.html">
Empty heading
</a>
</h3>
<div class="example">
<h4></h4>
<p>This paragraph is preceded by an empty H4</p>
</div>
<h3 class="heading-medium" id="headings-missing-h1">
<a href="tests/headings-missing-h1.html">
Missing H1
</a>
</h3>
<div class="example">
<a href="example-pages/missing.html">Example page with no H1</a>
</div>
<h3 class="heading-medium" id="headings-text-formatting-used-instead-of-an-actual-heading">
<a href="tests/headings-text-formatting-used-instead-of-an-actual-heading.html">
Text formatting used instead of an actual heading
</a>
</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>
<h3 class="heading-medium" id="headings-headings-not-structured-in-a-hierarchical-manner">
<a href="tests/headings-headings-not-structured-in-a-hierarchical-manner.html">
Headings not structured in a hierarchical manner
</a>
</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 assistive technologies such as screen reader.</p>
</div>
<h2 id="lists" class="heading-large">Lists</h2>
<h3 class="heading-medium" id="lists-li-element-with-no-parent">
<a href="tests/lists-li-element-with-no-parent.html">
LI element with no parent
</a>
</h3>
<div class="example">
<li>
no parent
</li>
</div>
<h3 class="heading-medium" id="lists-list-not-marked-up-as-a-list">
<a href="tests/lists-list-not-marked-up-as-a-list.html">
List not marked up as a list
</a>
</h3>
<div class="example">
* apple <br/>
* orange <br/>
* banana <br/>
* pear
</div>
<h3 class="heading-medium" id="lists-dt-or-dd-elements-that-are-not-contained-within-a-dl-element">
<a href="tests/lists-dt-or-dd-elements-that-are-not-contained-within-a-dl-element.html">
DT or DD elements that are not contained within a DL element
</a>
</h3>
<div class="example">
<dt>html</dt>
<dd>a markup language for describing web documents</dd>
</div>
<h3 class="heading-medium" id="lists-improperly-nested-lists">
<a href="tests/lists-improperly-nested-lists.html">
Improperly nested lists
</a>
</h3>
<div class="example">
<ul>
<ul>
<li>improperly nested</li>
</ul>
</ul>
</div>
<h2 id="tables" class="heading-large">Tables</h2>
<h3 class="heading-medium" id="tables-table-with-column-headers-and-double-row-headers">
<a href="tests/tables-table-with-column-headers-and-double-row-headers.html">
Table with column headers and double row headers
</a>
</h3>
<div class="example">
<table>
<caption>Road Traffic at Junctions</caption>
<tr>
<th>Road</th>
<th>Junction</th>
<th>Car</th>
<th>Bus</th>
</tr>
<tr>
<th>Regent Street</th>
<th>Oxford Street</th>
<td>307</td>
<td>12</td>
</tr>
<tr>
<th>Regent Street</th>
<th>Bond Street</th>
<td>1731</td>
<td>58</td>
</tr>
<tr>
<th>Southwark Street</th>
<th>Union Street</th>
<td>1975</td>
<td>51</td>
</tr>
</table>
</div>
<h3 class="heading-medium" id="tables-table-has-no-scope-attributes">
<a href="tests/tables-table-has-no-scope-attributes.html">
Table has no scope attributes
</a>
</h3>
<div class="example">
<table>
<caption>Opening
times</caption>
<tr>
<td></td>
<th>Monday-Friday</th>
<th>Saturday</th>
<th>Sunday</th>
</tr>
<tr>
<th>08:00
-
12:00</th>
<td>open</td>
<td>open</td>
<td>closed</td>
</tr>
<tr>
<th>12:00
-
16:00</th>
<td>open</td>
<td>closed</td>
<td>closed</td>
</tr>
</table>
</div>
<h3 class="heading-medium" id="tables-table-nested-within-table-header">
<a href="tests/tables-table-nested-within-table-header.html">
Table nested within table header
</a>
</h3>
<div class="example">
<table>
<tr>
<th>Item</th>
<th>Cost</th>
</tr>
<tr>
<td>Lunch</td>
<td>£6.99</td>
</tr>
<tr>
<th>Holiday
<table>
<tr>
<th>Item</th>
<th>Cost</th>
</tr>
<tr>
<td>Accommodation</td>
<td>£499.99</td>
</tr>
<tr>
<td>Travel</td>
<td>£109.99</td>
</tr>
</table>
</th>
<td>£609.98</td>
</tr>
</table>
</div>
<h3 class="heading-medium" id="tables-table-nested-within-table">
<a href="tests/tables-table-nested-within-table.html">
Table nested within table
</a>
</h3>
<div class="example">
<table>
<tr>
<th>Item</th>
<th>Cost</th>
</tr>
<tr>
<td>Lunch</td>
<td>£6.99</td>
</tr>
<tr>
<td>Holiday
<table>
<tr>
<th>Item</th>
<th>Cost</th>
</tr>
<tr>
<td>Accommodation</td>
<td>£499.99</td>
</tr>
<tr>
<td>Travel</td>
<td>£109.99</td>
</tr>
</table>
</td>
<td>£609.98</td>
</tr>
</table>
</div>
<h3 class="heading-medium" id="tables-table-has-no-table-headings">
<a href="tests/tables-table-has-no-table-headings.html">
Table has no table headings
</a>
</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 class="heading-medium" id="tables-table-with-inconsistent-numbers-of-columns-in-rows">
<a href="tests/tables-table-with-inconsistent-numbers-of-columns-in-rows.html">
Table with inconsistent numbers of columns in rows
</a>
</h3>
<div class="example">
<table>
<caption>Requester information</caption>
<thead>
<tr>
<th colspan="10">Requester Information</th>
</tr>
</thead>
<tbody>
<tr>
<th class="label" colspan="1" id="name">Name</th>
<td colspan="7" headers="name">Jon Smith</td>
<th class="label" colspan="1" id="date">Date</th>
<td colspan="1" headers="date">9/9/2005</td>
</tr>
<tr>
<th class="label" colspan="1" id="dept">Department</th>
<td colspan="9" headers="dept">Customer Service</td>
</tr>
<tr>
<th class="label" colspan="1" id="remail">E-mail</th>
<td colspan="4" headers="remail">[email protected]</td>
<th class="label" colspan="1" id="rphone">Phone</th>
<td colspan="4" headers="rphone">07700 900258</td>
</tr>
</tbody>
</table>
</div>
<h3 class="heading-medium" id="tables-table-that-only-has-th-elements-in-it">
<a href="tests/tables-table-that-only-has-th-elements-in-it.html">
Table that only has TH elements in it
</a>
</h3>
<div class="example">
<table>
<thead>
<tr>
<th>Foo</th>
<th>Bar</th>
<th>Bat</th>
<th>Baz</th>
</tr>
</thead>
</table>
</div>
<h3 class="heading-medium" id="tables-table-is-missing-a-caption">
<a href="tests/tables-table-is-missing-a-caption.html">
Table is missing a caption
</a>
</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 class="heading-medium" id="tables-table-used-for-layout">
<a href="tests/tables-table-used-for-layout.html">
Table used for layout
</a>
</h3>
<div class="example">
<table>
<tr>
<td><ul><li><a href="home.html">Home</a></li><li><a href="about-us.html">About us</a></li><li><a href="products.html">Our products</a></li></ul></td>
<td><h2>Welcome to our homepage</h2><p>Here you can find out who we are, what we do and why you should buy our products.</p></td>
</tr>
</table>
</div>
<h3 class="heading-medium" id="tables-table-has-an-empty-table-header">
<a href="tests/tables-table-has-an-empty-table-header.html">
Table has an empty table header
</a>
</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 class="heading-medium" id="tables-table-with-some-empty-cells">
<a href="tests/tables-table-with-some-empty-cells.html">
Table with some empty cells
</a>
</h3>
<div class="example">
<table>
<caption>Bills before Parliament 2016-17</caption>
<thead>
<tr>
<th>
Current House
</th>
<th>
Bill title
</th>
<th>
Last updated
</th>
</tr>
</thead>
<tbody>
<tr>
<td> </td>
<td>A</td>
<td> </td>
</tr>
<tr>
<td>
Lords
</td>
<td>
Abortion (Disability Equality) Bill [HL]
</td>
<td>26.05.2016</td>
</tr>
<tr>
<td>
Lords
</td>
<td>
Access to Palliative Care Bill [HL]
</td>
<td>10.06.2016</td>
</tr>
</tbody>
</table>
</div>
<h2 id="images" class="heading-large">Images</h2>
<h3 class="heading-medium" id="images-image-has-alt-and-title-that-are-different">
<a href="tests/images-image-has-alt-and-title-that-are-different.html">
Image has alt and title that are different
</a>
</h3>
<div class="example">
<img alt="BBC" src="assets/test_images/bbc-blocks-dark.png" title="BBC homepage"/>
</div>
<h3 class="heading-medium" id="images-image-with-presentation-role-has-non-empty-alt">
<a href="tests/images-image-with-presentation-role-has-non-empty-alt.html">
Image with presentation role has non-empty alt
</a>
</h3>
<div class="example">
<img alt="Decorative line clipart" height="118" role="presentation" src="assets/test_images/decoration.png" width="368" />
</div>
<h3 class="heading-medium" id="images-image-with-no-alt-attribute">
<a href="tests/images-image-with-no-alt-attribute.html">
Image with no alt attribute
</a>
</h3>
<div class="example">
<img src="assets/test_images/bbc-blocks-dark.png"/>
</div>
<h3 class="heading-medium" id="images-background-image-that-conveys-information-does-not-have-a-text-alternative">
<a href="tests/images-background-image-that-conveys-information-does-not-have-a-text-alternative.html">
Background image that conveys information does not have a text alternative
</a>
</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 class="heading-medium" id="images-image-has-empty-alt-and-non-empty-title">
<a href="tests/images-image-has-empty-alt-and-non-empty-title.html">
Image has empty alt and non-empty title
</a>
</h3>
<div class="example">
<img alt="" src="assets/test_images/bbc-blocks-dark.png" title="BBC"/>
</div>
<h3 class="heading-medium" id="images-a-distraction-is-present-an-animated-gif">
<a href="tests/images-a-distraction-is-present-an-animated-gif.html">
A distraction is present, an animated gif
</a>
</h3>
<div class="example">
<img alt="Animated gif of a Christmas tree with a toy train round and round the base of the tree" height="193" src="assets/test_images/animated-tree.gif" width="157" />
</div>
<h3 class="heading-medium" id="images-image-that-conveys-information-has-an-empty-alt-attribute">
<a href="tests/images-image-that-conveys-information-has-an-empty-alt-attribute.html">
Image that conveys information has an empty alt attribute
</a>
</h3>
<div class="example">
<img alt="" src="assets/test_images/bbc-blocks-dark.png"/>
</div>
<h3 class="heading-medium" id="images-image-that-conveys-information-has-inappropriate-alt-text">
<a href="tests/images-image-that-conveys-information-has-inappropriate-alt-text.html">
Image that conveys information has inappropriate alt text
</a>
</h3>
<div class="example">
<img alt="Twitter" src="assets/test_images/bbc-blocks-dark.png"/>
</div>
<h3 class="heading-medium" id="images-image-alt-attribute-contains-image-file-name">
<a href="tests/images-image-alt-attribute-contains-image-file-name.html">
Image alt attribute contains image file name
</a>
</h3>
<div class="example">
<img alt="bbc-blocks-dark.png" src="assets/test_images/bbc-blocks-dark.png"/>
</div>
<h3 class="heading-medium" id="images-image-with-partial-text-alternative">
<a href="tests/images-image-with-partial-text-alternative.html">
Image with partial text alternative
</a>
</h3>
<div class="example">
<p>The image below contains a lot of information, such as which departments the sale is on. The text alternative in the alt attribute does not include this information, only a partial "25% off sale"</p>
<img alt="25% off sale" src="assets/test_images/sale.jpg"/>
</div>
<h2 id="multimedia" class="heading-large">Multimedia</h2>