-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathindex.html
479 lines (456 loc) · 34.5 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>HTML test cases</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="favicon.ico">
<link href="assets/css/examples.css" rel="stylesheet">
</head>
<body>
<h1>HTML test cases</h1>
<p>A series of HTML test cases to determine how they are announced in different screen reader / browser combinations.</p>
<p><a class="button-secondary small" href="https://github.com/russmaxdesign/accessible-forms" aria-label="Git repository for all tests" target="_blank">Git repository</a></p>
<section>
<h2>Page content sections</h2>
<ul class="page-contents-list" aria-label="Page contents">
<li>↓ <a href="#basic">Basic form control and label tests</a></li>
<li>↓ <a href="#fieldset"><code><fieldset></code> tests</a></li>
<li>↓ <a href="#fieldset-error"><code><fieldset></code> with errors tests</a></li>
<li>↓ <a href="#nested">Nested <code><fieldset></code> tests</a></li>
<li>↓ <a href="#help">Help text and error messages associated with form control tests</a></li>
<li>↓ <a href="#required">Required field tests</a></li>
<li>↓ <a href="#accessible-button"><code><button></code> accessible name and description tests</a></li>
<li>↓ <a href="#accessible-link"><code><a></code> accessible name and description tests</a></li>
<li>↓ <a href="#accessible-input"><code><input></code> accessible name and description tests</a></li>
<li>↓ <a href="#accessible-table"><code><table></code> accessible name and description tests</a></li>
<li>↓ <a href="#invalid"><code>aria-invalid</code> tests</a></li>
<li>↓ <a href="#attributes">Form-based attribute tests</a></li>
<li>↓ <a href="#disabled"><code>disabled</code> attribute tests</a></li>
<li>↓ <a href="#readonly"><code>readonly</code> and <code>aria-readonly</code> attribute tests</a></li>
<li>↓ <a href="#landmark">ARIA landmark tests</a></li>
<li>↓ <a href="#header"><code><header></code> scope tests</a></li>
<li>↓ <a href="#live">Live region tests</a></li>
<li>↓ <a href="#onsubmit">onsubmit tests</a></li>
<li>↓ <a href="#modal">Modal dialog tests</a></li>
<li>↓ <a href="#rotor">VoiceOver Rotor tests</a></li>
<li>↓ <a href="#technology">Technology details</a></li>
</ul>
</section>
<hr>
<section id="basic">
<h2>Basic form control and label tests</h2>
<p>Tests to determine how form controls and their associated <code><label></code> and <code><legend></code> elements are announced. In some cases, the form element does not require or should not have a <code><label></code>.</p>
<h3>Inputs</h3>
<ul class="main-list">
<li>→ <a href="01-input-button.html"><code><input type="button"></code></a></li>
<li>→ <a href="01-input-checkbox.html"><code><input type="checkbox"></code></a></li>
<li>→ <a href="01-input-color.html"><code><input type="color"></code></a></li>
<li>→ <a href="01-input-date.html"><code><input type="date"></code></a></li>
<li>→ <a href="01-input-datetime-local.html"><code><input type="datetime-local"></code></a></li>
<li>→ <a href="01-input-email.html"><code><input type="email"></code></a></li>
<li>→ <a href="01-input-file.html"><code><input type="file"></code></a></li>
<li>→ <a href="01-input-month.html"><code><input type="month"></code></a></li>
<li>→ <a href="01-input-number.html"><code><input type="number"></code></a></li>
<li>→ <a href="01-input-password.html"><code><input type="password"></code></a></li>
<li>→ <a href="01-input-radio.html"><code><input type="radio"></code></a></li>
<li>→ <a href="01-input-range.html"><code><input type="range"></code></a></li>
<li>→ <a href="01-input-reset.html"><code><input type="reset"></code></a></li>
<li>→ <a href="01-input-search.html"><code><input type="search"></code></a></li>
<li>→ <a href="01-input-submit.html"><code><input type="submit"></code></a></li>
<li>→ <a href="01-input-tel.html"><code><input type="tel"></code></a></li>
<li>→ <a href="01-input-text.html"><code><input type="text"></code></a></li>
<li>→ <a href="01-input-time.html"><code><input type="time"></code></a></li>
<li>→ <a href="01-input-url.html"><code><input type="url"></code></a></li>
<li>→ <a href="01-input-week.html"><code><input type="week"></code></a></li>
</ul>
<h3>Other elements</h3>
<ul class="main-list">
<li>→ <a href="04-button.html"><code><button></code></a></li>
<li>→ <a href="02-select.html"><code><select></code></a></li>
<li>→ <a href="02-select-multiple.html"><code><select></code> with <code>multiple</code></a></li>
<li>→ <a href="02-select-optgroup.html"><code><optgroup></code> within <code><select></code></a></li>
<li>→ <a href="03-textarea.html"><code><textarea></code></a></li>
</ul>
<p><a class="button-secondary small" href="support-basic-form-controls.html">Basic form controls support chart</a></p>
</section>
<hr>
<section id="fieldset">
<h2><code><fieldset></code> tests</h2>
<p>Tests to determine how <code><fieldset></code> elements are announced.</p>
<ul class="main-list">
<li>→ <a href="fieldset.html">Basic <code><fieldset></code> and <code><legend></code></a></li>
<li>→ <a href="fieldset-buttons.html"><code><fieldset></code> and buttons</a></li>
</ul>
<h3>Checkboxes</h3>
<ul class="main-list">
<li>→ <a href="fieldset-checkbox-group.html">Checkbox group with list</a></li>
<li>→ <a href="fieldset-checkbox-group-presentation.html">Checkbox group with list and <code>role="presentation"</code></a></li>
<li>→ <a href="fieldset-checkbox-group-without-list.html">Checkbox group without a list</a></li>
<li>→ <a href="fieldset-checkbox-group-role-group.html">Checkbox group using <code>role="group"</code></a></li>
</ul>
<h3>Radio buttons</h3>
<ul class="main-list">
<li>→ <a href="fieldset-radio-group.html">Radio group with list</a></li>
<li>→ <a href="fieldset-radio-group-presentation.html">Radio group with list and <code>role="presentation"</code></a></li>
<li>→ <a href="fieldset-radio-group-without-list.html">Radio group without a list</a></li>
<li>→ <a href="fieldset-radio-group-role-radiogroup.html">Radio group using <code>role="radiogroup"</code></a></li>
</ul>
<p><a class="button-secondary small" href="support-fieldsets.html">Fieldset support chart</a></p>
</section>
<hr>
<section id="fieldset-error">
<h2><code><fieldset></code> with errors tests</h2>
<p>Tests to determine how error messages associated with radio groups are announced.</p>
<ul class="main-list">
<li>→ <a href="fieldset-error01.html">Radio group with error - no programmatic association</a></li>
<li>→ <a href="fieldset-error02.html">Radio group with error - <code>aria-describedby</code> applied to <code><fieldset></code></a></li>
<li>→ <a href="fieldset-error03.html">Radio group with error - <code>aria-describedby</code> applied to <code><legend></code></a></li>
<li>→ <a href="fieldset-error04.html">Radio group with error - <code>aria-describedby</code> applied to <code><input></code></a></li>
<li>→ <a href="fieldset-error05.html">Radio group with error - <code>aria-label</code> applied to <code><fieldset></code></a></li>
<li>→ <a href="fieldset-error06.html">Radio group with error - <code>aria-label</code> applied to <code><input></code></a></li>
</ul>
<p><a class="button-secondary small" href="support-fieldset-errors.html">Fieldsets with errors support chart</a></p>
</section>
<hr>
<section id="nested">
<h2>Nested <code><fieldset></code> tests</h2>
<p>Tests to determine how nested <code><fieldset></code> elements are announced.</p>
<ul class="main-list">
<li>→ <a href="nested-fieldset.html">Nested <code><fieldset></code></a></li>
<li>→ <a href="nested-fieldset-presentation.html">Nested <code><fieldset></code>, with <code>role="presentation</code>"</a></li>
<li>→ <a href="nested-fieldset-without-list.html">Nested <code><fieldset></code> without list</a></li>
</ul>
<p><a class="button-secondary small" href="support-nested-fieldsets.html">Nested fieldset support chart</a></p>
</section>
<hr>
<section id="help">
<h2>Help text and error messages associated with form control tests</h2>
<p>Tests to determine how help text and error messages can be associated with form controls.</p>
<h3>Help text</h3>
<ul class="main-list">
<li>→ <a href="input-help-text-wrapped-label.html"><code><input></code> with help text wrapped inside <code><label></code></a></li>
<li>→ <a href="input-help-text-aria-describedby.html"><code><input></code> with help text using <code>aria-describedby</code></a></li>
<li>→ <a href="input-help-text-aria-label.html"><code><input></code> with help text as an <code>aria-label</code></a></li>
</ul>
<h3>Error messages</h3>
<ul class="main-list">
<li>→ <a href="input-error-message-wrapped-label.html"><code><input></code> with error message wrapped inside <code><label></code></a></li>
<li>→ <a href="input-error-message-aria-describedby.html"><code><input></code> with error message using <code>aria-describedby</code></a></li>
<li>→ <a href="input-error-message-aria-errormessage.html"><code><input></code> with error message using <code>aria-errormessage</code></a></li>
<li>→ <a href="input-error-message-title.html"><code><input></code> with error message using <code>title</code></a></li>
<li>→ <a href="input-error-message-title-aria-describedby.html"><code><input></code> with error message using <code>aria-describedby</code> and <code>title</code></a></li>
<li>→ <a href="input-error-message-hidden-aria-describedby.html"><code><input></code> with error message using hidden <code>aria-describedby</code></a></li>
</ul>
<p><a class="button-secondary small" href="support-help-error-messages.html">Help text and error message support chart</a></p>
</section>
<hr>
<section id="required">
<h2>Required field tests</h2>
<p>Tests to determine how <code>required</code> and <code>aria-required</code> are announced.</p>
<ul class="main-list">
<li>→ <a href="required01.html"><code><input></code> with <code>required</code></a></li>
<li>→ <a href="required02.html"><code><input></code> with <code>aria-required</code></a></li>
<li>→ <a href="required03.html"><code><input></code> with <code>required</code> and <code>aria-required</code></a></li>
<li>→ <a href="required06.html"><code><input></code> with <code>required</code> and <code>aria-invalid="false"</code></a></li>
</ul>
<p>Tests to determine how "(required)"" added to label text is announced.</p>
<ul class="main-list">
<li>→ <a href="required04.html"><code><input></code> with <code>required</code> and "(Required)" added to label text</a></li>
<li>→ <a href="required08.html"><code><input></code> with <code>aria-required</code> and "(Required)" added to label text</a></li>
</ul>
<p>Tests to determine how hiding the "(required)" text is announced.</p>
<ul class="main-list">
<li>→ <a href="required05.html"><code><input></code> with <code>required</code> and <code>aria-hidden="true"</code> applied to "(Required)" text</a></li>
<li>→ <a href="required07.html"><code><input></code> with <code>aria-required</code> and <code>aria-hidden="true"</code> applied to "(Required)" text</a></li>
</ul>
<p><a class="button-secondary small" href="support-required-fields.html">Required field support chart</a></p>
</section>
<hr>
<section id="accessible-button">
<h2><code><button></code> accessible name and description tests</h2>
<p>The purpose these tests is to show the cascade order of how accessible names are applied in the accessibility tree for the <code><button></code> element. <em>These examples should not be considered proper practice</em>.</p>
<ul class="main-list">
<li>→ <a href="accessible-name-button01.html"><code><button></code> where <code>aria-labelledby</code> should be accessible name</a></li>
<li>→ <a href="accessible-name-button02.html"><code><button></code> where <code>aria-label</code> should be accessible name</a></li>
<li>→ <a href="accessible-name-button03.html"><code><button></code> where content should be accessible name</a></li>
<li>→ <a href="accessible-name-button04.html"><code><button></code> where <code>title</code> should be accessible name</a></li>
<li>→ <a href="accessible-name-button05.html"><code><button></code> with no accessible name</a></li>
</ul>
<p>The purpose these tests is to show the cascade order of how accessible descriptions are applied in the accessibility tree for the <code><button></code> element.</p>
<ul class="main-list">
<li>→ <a href="accessible-description-button01.html"><code><button></code> where <code>aria-describedby</code> should be accessible description</a></li>
<li>→ <a href="accessible-description-button02.html"><code><button></code> where <code>title</code> should be accessible description</a></li>
<li>→ <a href="accessible-description-button03.html"><code><button></code> with no accessible description</a></li>
</ul>
</section>
<hr>
<section id="accessible-link">
<h2><code><a></code> accessible name and description tests</h2>
<p>The purpose these tests is to show the cascade order of how accessible names are applied in the accessibility tree for the <code><a></code> element. <em>These examples should not be considered proper practice</em>.</p>
<ul class="main-list">
<li>→ <a href="accessible-name-link01.html"><code><a></code> where <code>aria-labelledby</code> should be accessible name</a></li>
<li>→ <a href="accessible-name-link02.html"><code><a></code> where <code>aria-label</code> should be accessible name</a></li>
<li>→ <a href="accessible-name-link03.html"><code><a></code> where content should be accessible name</a></li>
<li>→ <a href="accessible-name-link04.html"><code><a></code> where <code>title</code> should be accessible name</a></li>
<li>→ <a href="accessible-name-link05.html"><code><a></code> with no accessible name</a></li>
</ul>
<p>The purpose these tests is to show the cascade order of how accessible descriptions are applied in the accessibility tree for the <code><a></code> element.</p>
<ul class="main-list">
<li>→ <a href="accessible-description-link01.html"><code><a></code> where <code>aria-describedby</code> should be accessible description</a></li>
<li>→ <a href="accessible-description-link02.html"><code><a></code> where <code>title</code> should be accessible description</a></li>
<li>→ <a href="accessible-description-link03.html"><code><a></code> with no accessible description</a></li>
</ul>
</section>
<hr>
<section id="accessible-input">
<h2><code><input></code> accessible name and description tests</h2>
<p>The purpose these tests is to show the cascade order of how accessible names are applied in the accessibility tree for <code><input></code> elements. <em>These examples should not be considered proper practice</em>.</p>
<ul class="main-list">
<li>→ <a href="accessible-name-input01.html"><code><input></code> where <code>aria-labelledby</code> should be accessible name</a></li>
<li>→ <a href="accessible-name-input02.html"><code><input></code> where <code>aria-label</code> should be accessible name</a></li>
<li>→ <a href="accessible-name-input03.html"><code><input></code> where <code><label></code> should be accessible name</a></li>
<li>→ <a href="accessible-name-input04.html"><code><input></code> where <code>title</code> should be accessible name</a></li>
<li>→ <a href="accessible-name-input05.html"><code><input></code> where <code>placeholder</code> should be accessible name</a></li>
<li>→ <a href="accessible-name-input06.html"><code><input></code> with no accessible name</a></li>
</ul>
<p>The purpose these tests is to show the cascade order of how accessible descriptions are applied in the accessibility tree for the <code><input></code> element.</p>
<ul class="main-list">
<li>→ <a href="accessible-description-input01.html"><code><input></code> where <code>aria-describedby</code> should be accessible description</a></li>
<li>→ <a href="accessible-description-input02.html"><code><input></code> where <code>title</code> should be accessible description</a></li>
<li>→ <a href="accessible-description-input03.html"><code><input></code> with no accessible description</a></li>
</ul>
</section>
<hr>
<section id="accessible-table">
<h2><code><table></code> accessible name tests</h2>
<p>The purpose these tests is to show the cascade order of how accessible names are applied in the accessibility tree for <code><table></code> elements. <em>These examples should not be considered proper practice</em>.</p>
<ul class="main-list">
<li>→ <a href="accessible-name-table01.html"><code><table></code> where <code>aria-labelledby</code> should be accessible name</a></li>
<li>→ <a href="accessible-name-table02.html"><code><table></code> where <code>aria-label</code> should be accessible name</a></li>
<li>→ <a href="accessible-name-table03.html"><code><table></code> where <code><caption></code> content should be accessible name</a></li>
<li>→ <a href="accessible-name-table04.html"><code><table></code> where <code>title</code> should be accessible name</a></li>
<li>→ <a href="accessible-name-table05.html"><code><table></code> with no accessible name</a></li>
</ul>
<p>The purpose these tests is to show the cascade order of how accessible descriptions are applied in the accessibility tree for the <code><table></code> element.</p>
<ul class="main-list">
<li>→ <a href="accessible-description-table01.html"><code><table></code> where <code>aria-describedby</code> should be accessible description</a></li>
<li>→ <a href="accessible-description-table02.html"><code><table></code> where <code>title</code> should be accessible description</a></li>
<li>→ <a href="accessible-description-table03.html"><code><table></code> with no accessible description</a></li>
</ul>
</section>
<hr>
<section id="invalid">
<h2><code>aria-invalid</code> tests</h2>
<p>Tests to determine how the <code>aria-invalid</code> attribute is announced.</p>
<ul class="main-list">
<li>→ <a href="invalid01.html"><code><input></code> with <code>aria-invalid="true"</code></a></li>
<li>→ <a href="invalid02.html"><code><input></code> with <code>aria-invalid="false"</code></a></li>
<li>→ <a href="invalid03.html"><code><input></code> with <code>aria-invalid="grammar"</code></a></li>
<li>→ <a href="invalid04.html"><code><input></code> with <code>aria-invalid="spelling"</code></a></li>
</ul>
<p><a class="button-secondary small" href="support-aria-invalid.html">aria-invalid support chart</a></p>
</section>
<hr>
<section id="attributes">
<h2>Form-based attribute tests</h2>
<p>Tests to determine how <code>max</code>, <code>aria-valuemax</code>, <code>min</code>, <code>aria-valuemin</code>, <code>maxlength</code>, <code>minlength</code>, <code>multiple</code> and <code>pattern</code> attributes are announced.</p>
<ul class="main-list">
<li>→ <a href="attributes01.html"><code><input></code> with <code>max</code></a></li>
<li>→ <a href="attributes02.html"><code><input></code> with <code>aria-valuemax</code></a></li>
<li>→ <a href="attributes03.html"><code><input></code> with <code>max</code> and <code>aria-valuemax</code></a></li>
<li>→ <a href="attributes04.html"><code><input></code> with <code>min</code></a></li>
<li>→ <a href="attributes05.html"><code><input></code> with <code>aria-valuemin</code></a></li>
<li>→ <a href="attributes06.html"><code><input></code> with <code>min</code> and <code>aria-valuemin</code></a></li>
<li>→ <a href="attributes07.html"><code><input></code> with <code>maxlength</code></a></li>
<li>→ <a href="attributes08.html"><code><input></code> with <code>minlength</code></a></li>
<li>→ <a href="attributes09.html"><code><input></code> with <code>multiple</code></a></li>
<li>→ <a href="attributes10.html"><code><input></code> with <code>pattern</code></a></li>
</ul>
<p><a class="button-secondary small" href="support-form-attributes.html">Form attributes support chart</a></p>
</section>
<hr>
<section id="disabled">
<h2><code>disabled</code> attribute tests</h2>
<p>Tests to determine how the boolean <code>disabled</code> attribute is announced.</p>
<ul class="main-list">
<li>→ <a href="disabled01.html"><code><button></code> with <code>disabled</code></a></li>
<li>→ <a href="disabled02.html"><code><input></code> with <code>disabled</code></a></li>
<li>→ <a href="disabled03.html"><code><textarea></code> with <code>disabled</code></a></li>
<li>→ <a href="disabled04.html"><code><select></code> with <code>disabled</code></a></li>
<li>→ <a href="disabled05.html"><code><option></code> with <code>disabled</code></a></li>
<li>→ <a href="disabled06.html"><code><fieldset></code> with <code>disabled</code></a></li>
</ul>
<p><a class="button-secondary small" href="support-disabled-fields.html"><code>disabled</code> attribute support chart</a></p>
</section>
<hr>
<section id="readonly">
<h2><code>readonly</code> and <code>aria-readonly</code> attribute tests</h2>
<p>Tests to determine how the boolean <code>readonly</code> and <code>aria-readonly</code> attributes are announced.</p>
<ul class="main-list">
<li>→ <a href="readonly01.html"><code>readonly</code> attribute on <code><input></code></a></li>
<li>→ <a href="readonly02.html"><code>readonly</code> attribute on <code><textarea></code></a></li>
<li>→ <a href="readonly03.html"><code>aria-readonly</code> attribute on <code><input></code></a></li>
</ul>
<p><a class="button-secondary small" href="support-readonly-fields.html"><code>readonly</code> and <code>aria-readonly</code> attribute support chart</a></p>
</section>
<hr>
<section id="landmark">
<h2>ARIA landmark tests</h2>
<p>Tests to determine how various landmarks are announced.</p>
<h3>Landmarks without labels</h3>
<ul class="main-list">
<li>→ <a href="landmarks-article01.html"><code><article></code></a></li>
<li>→ <a href="landmarks-aside01.html"><code><aside></code></a></li>
<li>→ <a href="landmarks-aside02.html"><code>role="complementary"</code></a></li>
<li>→ <a href="landmarks-footer01.html"><code><footer></code></a></li>
<li>→ <a href="landmarks-footer02.html"><code>role="contentinfo"</code></a></li>
<li>→ <a href="landmarks-form.html"><code>role="form"</code></a></li>
<li>→ <a href="landmarks-banner01.html"><code><header></code></a></li>
<li>→ <a href="landmarks-banner02.html"><code>role="banner"</code></a></li>
<li>→ <a href="landmarks-main01.html"><code><main></code></a></li>
<li>→ <a href="landmarks-main02.html"><code>role="main"</code></a></li>
<li>→ <a href="landmarks-nav01.html"><code><nav></code></a></li>
<li>→ <a href="landmarks-nav02.html"><code>role="navigation"</code></a></li>
<li>→ <a href="landmarks-search.html"><code>role="search"</code></a></li>
<li>→ <a href="landmarks-section01.html"><code><section></code></a></li>
<li>→ <a href="landmarks-section02.html"><code>role="region"</code></a></li>
</ul>
<h3>Landmarks with <code>aria-labelledby</code></h3>
<ul class="main-list">
<li>→ <a href="landmarks-article02.html"><code><article></code> with <code>aria-labelledby</code></a></li>
<li>→ <a href="landmarks-aside03.html"><code><aside></code> with <code>aria-labelledby</code></a></li>
<li>→ <a href="landmarks-footer03.html"><code><footer></code> with <code>aria-labelledby</code></a></li>
<li>→ <a href="landmarks-banner23.html"><code><header></code> with <code>aria-labelledby</code></a></li>
<li>→ <a href="landmarks-main03.html"><code><main></code> with <code>aria-labelledby</code></a></li>
<li>→ <a href="landmarks-nav03.html"><code><nav></code> with <code>aria-labelledby</code></a></li>
<li>→ <a href="landmarks-section03.html"><code><section></code> with <code>aria-labelledby</code></a></li>
</ul>
<h3>Landmarks with <code>aria-label</code></h3>
<ul class="main-list">
<li>→ <a href="landmarks-article03.html"><code><article></code> with <code>aria-label</code></a></li>
<li>→ <a href="landmarks-aside04.html"><code><aside></code> with <code>aria-label</code></a></li>
<li>→ <a href="landmarks-footer04.html"><code><footer></code> with <code>aria-label</code></a></li>
<li>→ <a href="landmarks-banner24.html"><code><header></code> with <code>aria-label</code></a></li>
<li>→ <a href="landmarks-main04.html"><code><main></code> with <code>aria-label</code></a></li>
<li>→ <a href="landmarks-nav04.html"><code><nav></code> with <code>aria-label</code></a></li>
<li>→ <a href="landmarks-section04.html"><code><section></code> with <code>aria-label</code></a></li>
</ul>
<h3>Multiple landmarks</h3>
<ul class="main-list">
<li>→ <a href="landmarks-banner-double.html">Two <code><header></code> elements</a></li>
<li>→ <a href="landmarks-footer-double.html">Two <code><footer></code> elements</a></li>
</ul>
<p><a class="button-secondary small" href="support-landmarks.html">Landmark support chart</a></p>
</section>
<hr>
<section id="header">
<h2><code><header></code> scope tests</h2>
<p>When the <code><header></code> element is scoped to the <code><body></code> element, it will have an implicit ARIA role of <code>banner</code>. Similarly, when the <code><footer></code> element is scoped to the <code><body></code> element, it will have an implicit ARIA role of <code>contentinfo</code>.</p>
<p>However, these two elements will not have implicit ARIA roles if they are descendants of the following elements:<code><article></code>, <code><aside></code>, <code><main></code>, <code><nav></code>, <code><section></code></p>
<p>These cases are designed to test whether the <code><header></code> element's implicit ARIA role is announced.</p>
<h3><code><header></code> scoped to the <code><body></code> element - implicit ARIA role should be present</h3>
<ul class="main-list">
<li>→ <a href="landmarks-banner01.html"><code><header></code></a></li>
<li>→ <a href="landmarks-banner02.html"><code>role="banner"</code></a></li>
<li>→ <a href="landmarks-banner05.html"><code><header></code> descendant of <code>role="article"</code></a></li>
<li>→ <a href="landmarks-banner09.html"><code><header></code> descendant of <code>role="complementary"</code></a></li>
<li>→ <a href="landmarks-banner13.html"><code><header></code> descendant of <code>role="main"</code></a></li>
<li>→ <a href="landmarks-banner17.html"><code><header></code> descendant of <code>role="navigation"</code></a></li>
<li>→ <a href="landmarks-banner21.html"><code><header></code> descendant of <code>role="region"</code></a></li>
</ul>
<h3><header> scoped to other elements - implicit ARIA role should be absent</h3>
<ul class="main-list">
<li>→ <a href="landmarks-banner03.html"><code><header></code> descendant of <code><article></code></a> scoped to the <code><article></code> element</li>
<li>→ <a href="landmarks-banner07.html"><code><header></code> descendant of <code><aside></code></a> scoped to the <code><aside></code> element</li>
<li>→ <a href="landmarks-banner11.html"><code><header></code> descendant of <code><main></code></a> scoped to the <code><main></code> element</li>
<li>→ <a href="landmarks-banner15.html"><code><header></code> descendant of <code><nav></code></a> scoped to the <code><nav></code> element</li>
<li>→ <a href="landmarks-banner19.html"><code><header></code> descendant of <code><section></code></a>scoped to the <code><section></code> element</li>
</ul>
<p><a class="button-secondary small" href="support-header-scope.html"><code><header></code> scope support chart</a></p>
</section>
<hr>
<section id="live">
<h2>Live region tests</h2>
<p>Tests to determine how live regions are announced.</p>
<ul class="main-list">
<li>→ <a href="live01-aria-live-assertive.html"><code>aria-live="assertive"</code></a></li>
<li>→ <a href="live02-aria-live-polite.html"><code>aria-live="polite"</code></a></li>
<li>→ <a href="live03-aria-live-off.html"><code>aria-live="off"</code></a></li>
<li>→ <a href="live04-role-alert.html"><code>role="alert"</code></a></li>
<li>→ <a href="live05-role-status.html"><code>role="status"</code></a></li>
</ul>
<p><a class="button-secondary small" href="support-live-region.html">Live region support chart</a></p>
</section>
<hr>
<section id="onsubmit">
<h2>onsubmit tests</h2>
<p>Tests to determine how an onsubmit error is announced.</p>
<ul class="main-list">
<li>→ <a href="onsubmit01.html">Focus on a container with no <code>role</code></a></li>
<li>→ <a href="onsubmit02.html">Focus on a container with <code>role="alert"</code></a></li>
<li>→ <a href="onsubmit03.html">Focus on a container with <code>role="group"</code></a></li>
<li>→ <a href="onsubmit04.html">Focus on a container with no <code>role</code> or label</a></li>
<li>→ <a href="onsubmit05.html">Focus on the heading</a></li>
<li>→ <a href="onsubmit06.html">Focus on the heading, inside <code>role="group"</code></a></li>
<li>→ <a href="onsubmit07.html">Focus on the heading, inside <code>role="group"</code> with a <code>aria-labelledby</code></a></li>
<li>→ <a href="onsubmit08.html">Focus on the heading, inside <code>role="group"</code> with a <code>aria-label</code></a></li>
</ul>
</section>
<hr>
<section id="modal">
<h2>Modal dialog tests</h2>
<p>Tests to determine how modal dialogs are announced.</p>
<ul class="main-list">
<li>→ <a href="dialog-native01.html">Native test 1: initial focus on heading</a></li>
<li>→ <a href="dialog-native02.html">Native test 2: initial focus on first focusable element</a></li>
<li>→ <a href="dialog-native03.html">Native test 3: initial focus on dialog</a></li>
<li>→ <a href="dialog-native04.html">Native test 4: initial focus on heading - with <code>dialog</code></a></li>
<li>→ <a href="dialog-native05.html">Native test 5: initial focus on dialog - with <code>dialog</code></a></li>
<li>→ <a href="dialog-aria01.html">ARIA test 1: initial focus on heading</a></li>
<li>→ <a href="dialog-aria02.html">ARIA test 2: initial focus on first focusable element</a></li>
<li>→ <a href="dialog-aria03.html">ARIA test 3: initial focus on container</a></li>
<li>→ <a href="dialog-aria04.html">ARIA test 4: initial focus on container - with just <code>dialog</code></a></li>
<li>→ <a href="dialog-aria05.html">ARIA test 5: initial focus on container - with <code>dialog</code> and <code>aria-labelledby</code></a></li>
</ul>
</section>
<hr>
<section id="rotor">
<h2>VoiceOver Rotor tests</h2>
<p>Tests to determine if the VoiceOver Rotor displays the landmark information as announced.</p>
<ul class="main-list">
<li>→ <a href="voiceover01.html">VoiceOver test without ARIA roles</a></li>
<li>→ <a href="voiceover02.html">VoiceOver test with ARIA roles</a></li>
<li>→ <a href="voiceover03.html">VoiceOver test with <code>aria-labelledby</code></a></li>
<li>→ <a href="voiceover04.html">VoiceOver test with <code>aria-label</code></a></li>
</ul>
<p><a class="button-secondary small" href="support-voiceover-rotor.html">VoiceOver Rotor support chart</a></p>
</section>
<hr>
<section aria-label="Other tests">
<p><a href="x-other-tests/index.html">Other tests</a></p>
</section>
<hr>
<section class="details">
<h2 id="technology">Technology details</h2>
<p>OSX Catalina - 10.15.7</p>
<ul>
<li>Chrome 88</li>
<li>Firefox 86</li>
<li>Safari 14</li>
</ul>
<p>Windows 10 Enterprise:</p>
<ul>
<li>Chrome 87</li>
<li>Firefox 86</li>
<li>Edge 88</li>
</ul>
<p>Assistive Technologies</p>
<ul>
<li>VoiceOver</li>
<li>NVDA - 2020.4</li>
<li>JAWS 2021.2102.34 - February 2021</li>
</ul>
</section>
</body>
</html>