-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.bs
1608 lines (1548 loc) · 103 KB
/
index.bs
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
<h1>ARIA in HTML</h1>
<pre class='metadata'>
Shortname: html-aria
Group: WebSpecs
Abstract: This specification defines the web developer (author) rules (conformance requirements) for the use of [[!wai-aria]] attributes on [[!HTML5]] elements. It also defines requirements for Conformance Checking tools and a subset of requirements for UA implementers.
</pre>
<h2 id="rules-wd">Requirements of ARIA use in HTML for web developers</h2>
<p class="advisement">This is a draft document and its contents are subject to change without notice.</p>
<p>Web developers MAY use the ARIA <code>role</code> and <code>aria-*</code> attributes on <a href="http://www.w3.org/TR/html/index.html#elements-1">HTML elements</a>, in accordance with the requirements described in [[!wai-aria]], except where these conflict with the <dfn><a href="http://www.w3.org/TR/html/infrastructure.html#strong-native-semantics">strong native semantics</a></dfn> or are equal to the <dfn><a href="http://www.w3.org/TR/html/infrastructure.html#default-implicit-aria-semantics">default implicit ARIA semantics</a></dfn> of a given HTML element. These constraints, detailed in the are intended to prevent developers from making assistive technology products report nonsensical user interface information (UI) that does not represent the actual UI of the document. </p>
<p>Web developers MUST NOT use the ARIA <code>role</code> and <code>aria-*</code> attributes in a manner that conflicts with the semantics described in the <a href="#docconformance">Document conformance requirements for use of ARIA attributes in HTML</a> table. Web developers SHOULD NOT set the ARIA <code>role</code> and <code>aria-*</code> attributes to values that match the default implicit ARIA semantics defined in the table.</p>
<div class="example">
The following uses a <code>role=heading</code> on a <code>button</code> element. This is not allowed, because the <code>button</code> element has default characteristics that conflict with the heading role.
<pre>
<button role="heading">search</button>
</pre>
<details><summary>Example document for conformance checking</summary>
<p>If you <a href="http://validator.w3.org/nu/?doc=https%3A%2F%2Fspecs.webplatform.org%2Fhtml-aria%2Fwebspecs%2Fmaster%2Fexamples%2Fnonconforming1.html" target="_blank">check this file</a> using a HTML5 <a href="http://validator.w3.org/nu/">conformance checker</a> an error will be displayed.</p>
<p><a href="https://specs.webplatform.org/html-aria/webspecs/master/examples/nonconforming1.html">non conforming ARIA use example</a>:</p>
<iframe style="width:100%;height:300px" src="https://specs.webplatform.org/html-aria/webspecs/master/examples/nonconforming1.html" scrolling="auto"></iframe>
</details>
</div>
<h3 id="aria-role-attribute">ARIA Role Attribute</h3>
<p>Any HTML element, other than elements indicated <span>Document conformance requirements for use of ARIA attributes in HTML</span> as allowing <span>No role</span>, may have an ARIA <code>role</code> attribute specified.
This is an ARIA Role attribute as defined by [[!wai-aria]]
<a href="http://www.w3.org/TR/wai-aria/roles#role_definitions">Section 5.4 Definition of Roles</a>.</p>
<p>The attribute, if specified, MUST have a value that is a set of space-separated tokens;
each token MUST be a non-abstract role defined in the WAI-ARIA specification
[[!wai-aria]].</p>
<h3 id="state-and-property-attributes">State and Property Attributes</h3>
<p>Every HTML element may have ARIA state and property attributes
specified. These attributes are defined by [[!wai-aria]].</p>
<p>A subset of the ARIA State and Property attributes are defined as "<a>Global States and Properties</a>" in
<a href="http://www.w3.org/TR/wai-aria/states_and_properties#global_states">Section 6.4. Global States and Properties</a>
of the [[!wai-aria]] Specification.</p>
<p>These attributes, if specified, MUST have a value that is the ARIA
value type in the "Value" field of the definition for the state or
property, mapped to the appropriate HTML value type according to
[[!wai-aria]] <a
href="http://www.w3.org/TR/wai-aria/appendices#typemapping">Section
10.2 Mapping WAI-ARIA Value types to languages</a> using the HTML5
mapping.</p>
<p class="note">ARIA State and Property attributes can be used on any element. They
are not always meaningful, however, and in such cases user agents
might not perform any processing aside from including them in the DOM.</p>
<h3 id="sec-strong-native-semantics">Default Implicit Semantics</h3>
<p>The following table defines the <span>default implicit ARIA semantics</span> that apply to <a href="http://www.w3.org/TR/html/dom.html#elements">HTML elements</a>. Each
language feature (element or attribute) in a cell in the first column implies the ARIA semantics
(any role, states, and properties) given in the cell in the second column of the same row.</p>
<p>Documents MUST NOT use any <code data-x="attr-aria-role">role</code> values with elements
in the following table other than the corresponding role value (if any) as listed for that element in the third column,
or the <code data-x="attr-aria-role">role</code> value "<code>presentation</code>", if the third column indicates that element's
semantics can be removed by using the "<code>presentation</code>" <code>role</code> value.</p>
<p class="note" id="aria-usage-note">Setting an ARIA <code>role</code> and/or <code>aria-*</code> attribute that matches the <span>default implicit ARIA semantics</span> is unnecessary and is NOT RECOMMENDED as these properties are already set by the browser.</p>
<h2 id="docconformance">Document conformance requirements for use of ARIA attributes in HTML</h2>
<table>
<caption>
Rules use of ARIA attributes usage by HTML language feature
</caption>
<tr>
<th>HTML language feature </th>
<th>Default ARIA semantics - SHOULD NOT be used</th>
<th>ARIA roles, states and properties which MAY be used</th>
</tr>
<TR>
<TD>All elements</TD>
<TD>varies</TD>
<TD>Role: <code><a href="#index-aria-presentation">presentation</a>,</code> except focusable elements or those with the warning '<strong>
Not</strong> <code>role=presentation</code>' or those indicated: <strong class="nosupport">NONE</strong></TD>
</TR>
<TR>
<TD><a href="http://www.w3.org/html/wg/drafts/html/master/text-level-semantics.html#the-a-element"><code>a</code></a> element with a <a
href="http://www.w3.org/html/wg/drafts/html/master/links.html#attr-hyperlink-href"><code>href</code></a></TD>
<TD><code>role=<a href="#index-aria-link">link</a></code></TD>
<TD><p>Roles: <code><a href="#index-aria-button">button</a>, <a href="#index-aria-checkbox">checkbox</a>, <a href="#index-aria-menuitem">
menuitem</a>, <a href="#index-aria-menuitemcheckbox">menuitemcheckbox</a>, <a href="#index-aria-menuitemradio">menuitemradio</a>, <a
href="#index-aria-tab">tab</a>, </code>or<code> <a href="#index-aria-treeitem">treeitem</a></code> </p>
<p><a href="#index-aria-global">global <code>aria-*</code> attributes</a> and any <code>aria-*</code> attributes applicable to the
allowed roles</p>
<p><strong>Not</strong> <code>role=presentation</code></p></TD>
</TR>
<TR id="anohref" tabindex="-1">
<TD><a href="http://www.w3.org/html/wg/drafts/html/master/text-level-semantics.html#the-a-element"><code>a</code></a> element without a <a
href="http://www.w3.org/html/wg/drafts/html/master/links.html#attr-hyperlink-href"><code>href</code></a></TD>
<td><a>NONE</a></td>
<td><p>Role: Any</p>
<p><a href="#index-aria-global">global <code>aria-*</code> attributes</a> and any <code>aria-*</code> attributes applicable allowed roles</p>
</td>
</TR>
<TR>
<td><a href="http://www.w3.org/html/wg/drafts/html/master/sections.html#the-address-element"><code>address</code></a>
<td><a>NONE</a></td>
<TD><p>Role:<a href="#index-aria-contentinfo"><code>contentinfo</code></a><br>
<a href="#index-aria-global">global <code>aria-*</code> attributes</a></p></TD>
</TR>
<tr>
<td><a href="http://www.w3.org/html/wg/drafts/html/master/embedded-content.html#the-area-element"><code>area</code></a> with a <a
href="http://www.w3.org/html/wg/drafts/html/master/links.html#attr-hyperlink-href"><code>href</code></a></td>
<td><code>role=<a href="#index-aria-link">link</a></code></td>
<td><p>Any <code>aria-*</code> attributes applicable to the <code><a href="#index-aria-link">link</a></code> role. Any <a
href="#index-aria-global">global <code>aria-*</code> attributes</a></p>
<p><strong>Not</strong> <code>role=presentation</code></p></td>
</tr>
<TR>
<TD><code><a href="http://www.w3.org/html/wg/drafts/html/master/sections.html#the-article-element">article</a></code></TD>
<TD><code>role=<a href="#index-aria-article">article</a></code></TD>
<TD><p>Roles: <code>presentation, document, application, or main</code>.<br>
<a href="#index-aria-global">global <code>aria-*</code> attributes</a> and any <code>aria-*</code> attributes applicable to the allowed roles</p>
</TD>
</TR>
<TR>
<TD><code><a href="http://www.w3.org/html/wg/drafts/html/master/sections.html#the-aside-element">aside</a> </code></td>
<TD><code>role=<a href="#index-aria-complementary">complementary</a></code></TD>
<TD><p>Roles:<code> <a href="#index-aria-note">note</a></code> or <a
href="#index-aria-search"><code>search</code></a>. </p>
<p>
<a href="#index-aria-global">global <code>aria-*</code> attributes</a>
</p></TD>
</TR>
<TR>
<TD><code><a href="http://www.w3.org/html/wg/drafts/html/master/embedded-content.html#the-audio-element">audio</a> </code></td>
<TD>NONE</TD>
<TD><p>Role: <a href="#index-aria-application"><code>application</code></a> <br>
Any <code>aria-*</code> attributes applicable to the <a href="#index-aria-application"><code>application</code></a> role. Any <a
href="#index-aria-global">global <code>aria-*</code> attributes</a></p></TD>
</TR>
<tbody>
<tr>
<td><code><a href="http://www.w3.org/html/wg/drafts/html/master/document-metadata.html#the-base-element">base</a>
</code>
<td><a>NONE</a></td>
<td><strong class="nosupport">NONE</strong></td>
</tr>
<tr>
<td><a href="http://www.w3.org/html/wg/drafts/html/master/sections.html#the-body-element"><code>body</code></a></td>
<td><code>role=<a href="#index-aria-document">document</a></code></td>
<td><a href="#index-aria-global">global <code>aria-*</code> attributes</a> </td>
</tr>
<tr>
<td><code><a href="http://www.w3.org/html/wg/drafts/html/master/forms.html#the-button-element">button</a>
</code>
<td><code>role=<a href="#index-aria-button">button</a></code></td>
<td><p>Roles: <code><a href="#index-aria-link">link</a>, <a href="#index-aria-menuitem">menuitem</a>, <a
href="#index-aria-menuitemcheckbox">menuitemcheckbox</a>, <a href="#index-aria-menuitemradio">menuitemradio</a>, <a
href="#index-aria-radio">radio</a></code>. <br>
<a href="#index-aria-global">global <code>aria-*</code> attributes</a> and any <code>aria-*</code> attributes applicable to the
allowed roles
</p>
<p><strong>Not</strong> <code>role=presentation</code></p></td>
</tr>
<tr>
<td><code><a href="http://www.w3.org/html/wg/drafts/html/master/forms.html#the-button-element">button</a> <a
href="http://www.w3.org/html/wg/drafts/html/master/forms.html#attr-button-type-menu-state">type="menu"</a></code>
<td><code>role=button</code> with <code>aria-haspopup=true</code></td>
<td><p>Roles: <code><a href="#index-aria-link">link</a>, <a href="#index-aria-menuitem">menuitem</a>, <a
href="#index-aria-menuitemcheckbox">menuitemcheckbox</a>, <a href="#index-aria-menuitemradio">menuitemradio</a>, <a
href="#index-aria-radio">radio</a></code>. <br>
<a href="#index-aria-global">global <code>aria-*</code> attributes</a> and any <code>aria-*</code> attributes applicable to the
allowed roles
</p>
<p><strong>Not</strong> <code>role=presentation</code></p></td>
</tr>
<tr>
<td><a href="http://www.w3.org/html/wg/drafts/html/master/tabular-data.html#the-caption-element"><code>caption</code></a>
<td><a>NONE</a></td>
<td><a href="#index-aria-global">global <code>aria-*</code> attributes</a></td>
</tr>
<tr>
<td>
<p><a href="http://www.w3.org/html/wg/drafts/html/master/tabular-data.html#the-col-element"><code>col</code></a><code>, <a
href="http://www.w3.org/html/wg/drafts/html/master/tabular-data.html#the-colgroup-element">colgroup</a></code><a
href="http://www.w3.org/html/wg/drafts/html/master/single-page.html#the-colgroup-element"></a></p>
<p></p>
<td><a>NONE</a></td>
<td><strong class="nosupport">NONE</strong></td>
</tr>
<tr>
<td><code><a href="http://www.w3.org/html/wg/drafts/html/master/forms.html#the-datalist-element">datalist</a>
</code>
<td><code>role=listbox</code>, with <code>aria-multiselectable=false</code></td>
<td><p><a href="#index-aria-global">global <code>aria-*</code> attributes</a> and any <code>aria-*</code> attributes applicable to the
<code> listbox</code> role.
</p></td>
</tr>
<tr>
<td><a href="http://www.w3.org/html/wg/drafts/html/master/grouping-content.html#the-dd-element"><code>dd</code></a>, <code><a
href="http://www.w3.org/html/wg/drafts/html/master/grouping-content.html#the-dt-element">dt</a></code>
<td><a>NONE</a></td>
<td><a href="#index-aria-global">global <code>aria-*</code> attributes</a></td>
</tr>
<tr>
<td><code><a href="http://www.w3.org/html/wg/drafts/html/master/interactive-elements.html#the-details-element">details</a>
</code>
<td><code>role=group</code></td>
<td><a href="#index-aria-global">global <code>aria-*</code> attributes</a> and any <code>aria-*</code> attributes applicable to the
<code>group</code> role.</td>
</tr>
<tr>
<td><a href="http://www.w3.org/html/wg/drafts/html/master/interactive-elements.html#the-dialog-element"><code>dialog</code></a> element
with no <a href="http://www.w3.org/html/wg/drafts/html/master/interactive-elements.html#attr-dialog-open"><code>open</code></a> attribute
</td>
<td><code>role=dialog</code>, with <code>aria-hidden</code> <code>=</code><code>true</code></td>
<td><p><a href="#index-aria-global">global <code>aria-*</code> attributes</a> and any <code>aria-*</code> attributes applicable to the
<code>dialog</code> role. </p>
<p><strong>Not</strong> <code>role=presentation</code></p></td>
</tr>
<tr>
<td><a href="http://www.w3.org/html/wg/drafts/html/master/grouping-content.html#the-div-element"><code>div</code> </a>
<td><a>NONE</a></td>
<td><p>Role: Any</p>
<p><a href="#index-aria-global">global <code>aria-*</code> attributes</a> and any <code>aria-*</code> attributes applicable to the
allowed roles</p>
<p><strong>Note:</strong> It is recommended that any scripted widgets use the semantically neutral <code>div</code> or <code>span</code>
elements unless HTML elements with native semantics are being used as fallback.</p></td>
</tr>
<tr>
<td><a href="http://www.w3.org/html/wg/drafts/html/master/grouping-content.html#the-dl-element"><code>dl</code></a>
<td><code>role=list</code></td>
<td><p><a href="#index-aria-global">global <code>aria-*</code> attributes</a></p></td>
</tr>
<tr>
<td><code><a href="http://www.w3.org/html/wg/drafts/html/master/embedded-content.html#the-embed-element">embed</a>
</code>
<td><a>NONE</a></td>
<td> <p>Role: <code>application, document, </code>or<code> img </code></p>
<p><a href="#index-aria-global">global <code>aria-*</code> attributes</a> and any <code>aria-*</code> attributes applicable to the
allowed roles</p></td>
</tr>
<tr>
<td><a href="http://www.w3.org/html/wg/drafts/html/master/grouping-content.html#the-figure-element"><code>figure </code></a>
<td><a>NONE</a></td>
<td><p>Role: Any, recommend <code>role=group</code></p>
<p><a href="#index-aria-global">global <code>aria-*</code> attributes</a> and any <code>aria-*</code> attributes applicable to the
allowed roles</p></td>
</tr>
<tr>
<td><code><a href="http://www.w3.org/html/wg/drafts/html/master/sections.html#the-footer-element">footer</a>
</code>
<td><a>NONE</a></td>
<td><p>Use <code>contentinfo</code> role for the main <code>footer</code> on a page. </p>
<p><a href="#index-aria-global">global <code>aria-*</code> attributes</a> </p></td>
</tr>
<tr>
<td><code><a href="http://www.w3.org/html/wg/drafts/html/master/forms.html#the-form-element">form</a></code></td>
<td><code>role=form</code></td>
<td><p><a href="#index-aria-global">global <code>aria-*</code> attributes</a></p></td>
</tr>
<tr>
<td><p>grouping content elements not listed elsewhere:</p>
<p><a href="http://www.w3.org/html/wg/drafts/html/master/grouping-content.html#the-p-element"><code>p</code></a><code>, <a
href="http://www.w3.org/html/wg/drafts/html/master/grouping-content.html#the-pre-element">pre</a>, <a
href="http://www.w3.org/html/wg/drafts/html/master/grouping-content.html#the-blockquote-element">blockquote</a></code><a
href="http://www.w3.org/html/wg/drafts/html/master/single-page.html#the-blockquote-element"></a></p></td>
<td><a>NONE</a></td>
<td><p>Role: any</p>
<p><a href="#index-aria-global">global <code>aria-*</code> attributes</a> and any <code>aria-*</code> attributes applicable to the
allowed roles</p></td>
</tr>
<tr>
<td><a href="http://www.w3.org/html/wg/drafts/html/master/sections.html#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements"><code>h1</code></a> to <a
href="http://www.w3.org/html/wg/drafts/html/master/sections.html#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements"><code>h6</code></a> element</td>
<td><code>role=heading</code>, with the <code>aria-level</code> = element's <a
href="http://www.w3.org/html/wg/drafts/html/master/single-page.html#outline-depth">outline depth</a></td>
<td><span><a href="#index-aria-global">global <code>aria-*</code> attributes</a> </span></td>
</tr>
<tr>
<td><code><a href="http://www.w3.org/html/wg/drafts/html/master/document-metadata.html#the-head-element">head</a>
</code>
<td><a>NONE</a></td>
<td><strong class="nosupport">NONE</strong></td>
</tr>
<tr>
<td><a href="http://www.w3.org/html/wg/drafts/html/master/sections.html#the-header-element"><code>header</code></a>
<td><a>NONE</a></td>
<td>
<p>global<a href="#index-aria-global"> <code>aria-*</code> attributes</a> </p></td>
</tr>
<tr>
<td><code><a href="http://www.w3.org/html/wg/drafts/html/master/grouping-content.html#the-hr-element">hr</a>
</code>
<td><code>role=separator</code></td>
<td>global<code> aria-*</code> attributes and any <code>aria-*</code> attributes applicable to the <code>separator</code> role.</td>
</tr>
<tr>
<td><code><a href="http://www.w3.org/html/wg/drafts/html/master/semantics.html#the-html-element">html</a>
</code>
<td><a>NONE</a></td>
<td>NONE</td>
</tr>
<tr>
<td><a href="http://www.w3.org/html/wg/drafts/html/master/embedded-content.html#the-iframe-element"><code>iframe</code></a>
<td><a>NONE</a></td>
<td><p>Role: <code>application, document, </code>or<code> img </code></p>
<p><a href="#index-aria-global"><code>globalaria-*</code> attributes</a> and any <code>aria-*</code> attributes applicable to the
allowed roles</p></td>
</tr>
<tr>
<td><a href="http://www.w3.org/html/wg/drafts/html/master/embedded-content.html#the-iframe-element"><code>iframe (seamless)</code></a>
<td>EDITOR: okay to override with any general grouping role.</td>
<td><p>Role: <code>application, document, </code>or<code> img </code></p>
<p><a href="#index-aria-global">global <code>aria-*</code> attributes</a> and any <code>aria-*</code> attributes applicable to the
allowed roles</p></td>
</tr>
<tr>
<td><code><a href="http://www.w3.org/html/wg/drafts/html/master/embedded-content.html#the-img-element">img</a> with <a
href="http://www.w3.org/html/wg/drafts/html/master/embedded-content.html#attr-img-alt">alt</a>=""</code></td>
<td><code>role=presentation</code></td>
<td>NONE</td>
</tr>
<tr>
<td><code><a href="http://www.w3.org/html/wg/drafts/html/master/embedded-content.html#the-img-element">img</a> with <a
href="http://www.w3.org/html/wg/drafts/html/master/embedded-content.html#attr-img-alt">alt</a>="<em>some text</em>"</code></td>
<td><code>role=img</code></td>
<td><p>Role: Any</p>
<p><a href="#index-aria-global">global <code>aria-*</code> attributes</a> and any <code>aria-*</code> attributes applicable to the
allowed roles</p></td>
</tr>
<tr>
<td><code>input type= </code><a href="http://www.w3.org/html/wg/drafts/html/master/forms.html#button-state-(type=button)"><code>button
</code></a></td>
<td><code>role=button</code></td>
<td><p>Role: <code> link, menuitem, menuitemcheckbox, menuitemradio, radio </code></p>
<p><a href="#index-aria-global">global <code>aria-*</code> attributes</a> and any <code>aria-*</code> attributes applicable to the
allowed roles </p>
<p><strong>Not</strong> <code>role=presentation</code></p></td>
</tr>
<tr>
<td><code>input type= <a href="http://www.w3.org/html/wg/drafts/html/master/forms.html#checkbox-state-(type=checkbox)">checkbox</a></code>
</td>
<td><code>aria-checked=mixed</code> if the element's <a
href="http://www.w3.org/html/wg/drafts/html/master/single-page.html#dom-input-indeterminate">indeterminate</a> IDL attribute is true, or
<code>aria-checked=true</code> if <code>checked</code> attribute is present</td>
<td><p><a href="#index-aria-global">global <code>aria-*</code> attributes</a></p>
<p><strong>Not</strong> <code>role=presentation</code></p></td>
</tr>
<tr>
<td><code>input type = <a href="http://www.w3.org/html/wg/drafts/html/master/forms.html#color-state-(type=color)">color</a></code></td>
<td><a>NONE</a></td>
<td><p><a href="#index-aria-global">global <code>aria-*</code> attributes</a></p>
<p><strong>Not</strong> <code>role=presentation</code></p></td>
</tr>
<tr>
<td><code>input type = <a href="http://www.w3.org/html/wg/drafts/html/master/forms.html#date-state-(type=date)">date</a></code></td>
<td><a>NONE</a></td>
<td><p><a href="#index-aria-global">global <code>aria-*</code> attributes</a></p>
<p><strong>Not</strong> <code>role=presentation</code></p></td>
</tr>
<tr>
<td><code>input type = <a href="http://www.w3.org/html/wg/drafts/html/master/forms.html#date-and-time-state-(type=datetime)">datetime</a>
</code></td>
<td><a>NONE</a></td>
<td><p><a href="#index-aria-global">global <code>aria-*</code> attributes</a></p>
<p><strong>Not</strong> <code>role=presentation</code></p></td>
</tr>
<tr>
<td><code>input type = <a href="http://www.w3.org/html/wg/drafts/html/master/forms.html#e-mail-state-(type=email)">email</a></code> with
no <a href="http://www.w3.org/html/wg/drafts/html/master/forms.html#attr-input-list"><code>list</code></a> attribute</td>
<td><code>role=textbox</code></td>
<td><p><a href="#index-aria-global">global <code>aria-*</code> attributes</a></p>
<p><strong>Not</strong> <code>role=presentation</code></p>
</td>
</tr>
<tr>
<td><code>input type = <a href="http://www.w3.org/html/wg/drafts/html/master/forms.html#file-upload-state-(type=file)">file</a></code></td>
<td><a>NONE</a></td>
<td><p><a href="#index-aria-global">global <code>aria-*</code> attributes</a></p>
<p><strong>Not</strong> <code>role=presentation</code></p></td>
</tr>
<tr>
<td><code>input type = <a href="http://www.w3.org/html/wg/drafts/html/master/forms.html#hidden-state-(type=hidden)">hidden</a></code></td>
<td><a>NONE</a></td>
<td><strong class="nosupport">NONE</strong></td>
</tr>
<tr>
<td><code>input type= </code><a href="http://www.w3.org/html/wg/drafts/html/master/forms.html#image-button-state-(type=image)"><code>image
</code></a></td>
<td><code>role=button</code></td>
<td><p>Role: <code> link, menuitem, menuitemcheckbox, menuitemradio, radio </code></p>
<p><a href="#index-aria-global">global <code>aria-*</code> attributes</a> and any <code>aria-*</code> attributes applicable to the
allowed roles </p>
<p><strong>Not</strong> <code>role=presentation</code></p></td>
</tr>
<tr>
<td><code>input type = <a href="http://www.w3.org/html/wg/drafts/html/master/forms.html#month-state-(type=month)">month</a></code></td>
<td><a>NONE</a></td>
<td><p><a href="#index-aria-global">global <code>aria-*</code> attributes</a></p>
<p><strong>Not</strong> <code>role=presentation</code></p>
</td>
</tr>
<tr>
<td><code>input type = <a href="http://www.w3.org/html/wg/drafts/html/master/forms.html#number-state-(type=number)">number</a></code></td>
<td><code>role=spinbutton</code>, with the aria-readonly property set to "true" if the element has a <a
href="http://www.w3.org/html/wg/drafts/html/master/forms.html#attr-input-readonly"><code>readonly</code></a> attribute, the <code>
aria-valuemax</code> property set to the element's <a data-anolis-xref="concept-input-max"
href="http://www.w3.org/html/wg/drafts/html/master/forms.html#concept-input-max">maximum</a>, the <code>aria-valuemin</code> property set
to the element's <a data-anolis-xref="concept-input-min" href="http://www.w3.org/html/wg/drafts/html/master/forms.html#concept-input-min">
minimum</a>, and, if the result of applying the <a
href="http://www.w3.org/html/wg/drafts/html/master/infrastructure.html#rules-for-parsing-floating-point-number-values">rules for parsing
floating-point number values</a> to the element's <a data-anolis-xref="concept-fe-value"
href="http://www.w3.org/html/wg/drafts/html/master/forms.html#concept-fe-value">value</a> is a number, with the <code>aria-valuenow</code>
property set to that number </td>
<td><p><a href="#index-aria-global">global <code>aria-*</code> attributes</a> and any <code>aria-*</code> attributes applicable to the
<code>spinbutton</code> role.
</p>
<p><strong>Not</strong> <code>role=presentation</code></p></td>
</tr>
<tr>
<td><code>input type = <a href="http://www.w3.org/html/wg/drafts/html/master/forms.html#password-state-(type=password)"
title="attr-input-type-password">password</a></code></td>
<td><code>role=textbox</code></td>
<td><p><a href="#index-aria-global">global <code>aria-*</code> attributes</a></p>
<p><strong>Not</strong> <code>role=presentation</code></p></td>
</tr>
<tr>
<td><code>input type = <a href="http://www.w3.org/html/wg/drafts/html/master/forms.html#radio-button-state-(type=radio)"
title="attr-input-type-radio">radio</a></code></td>
<td><code>role=radio</code></td>
<td><p>Role: <code>menuitemradio</code></p>
<p><a href="#index-aria-global">global <code>aria-*</code> attributes</a> and any <code>aria-*</code> attributes applicable to the
<code>menuitemradio</code> role.</p>
<p><strong>Not</strong> <code>role=presentation</code></p></td>
</tr>
<tr>
<td><code>input type = <a href="http://www.w3.org/html/wg/drafts/html/master/forms.html#range-state-(type=range)"
title="attr-input-type-range">range</a></code></td>
<td><code>role=slider </code>with <code>aria-valuemax</code> property set to the element's <a data-anolis-xref="concept-input-max"
href="http://www.w3.org/html/wg/drafts/html/master/forms.html#concept-input-max">maximum</a>, and the <code>aria-valuemin</code> property
set to the element's <a data-anolis-xref="concept-input-min"
href="http://www.w3.org/html/wg/drafts/html/master/forms.html#concept-input-min">minimum</a>.</td>
<td><p><a href="#index-aria-global">global <code>aria-*</code> attributes</a> and any <code>aria-*</code> attributes applicable to the
<code> slider </code>role.
</p>
<p><strong>Not</strong> <code>role=presentation</code></p></td>
</tr>
<tr>
<td><code>input type= <a href="http://www.w3.org/html/wg/drafts/html/master/forms.html#reset-button-state-(type=reset)"
title="attr-input-type-reset">reset</a></code></td>
<td><code>button</code> role </td>
<td><p><a href="#index-aria-global">global <code>aria-*</code> attributes</a></p>
<p><strong>Not</strong> <code>role=presentation</code></p></td>
</tr>
<tr>
<td><code>input type = <a
href="http://www.w3.org/html/wg/drafts/html/master/forms.html#text-(type=text)-state-and-search-state-(type=search)"
title="attr-input-type-search">search</a></code>, with no <a
href="http://www.w3.org/html/wg/drafts/html/master/forms.html#attr-input-list"><code>list</code></a> attribute</td>
<td><code>textbox </code>role</td>
<td><p><a href="#index-aria-global">global <code>aria-*</code> attributes</a></p>
<p><strong>Not</strong> <code>role=presentation</code></p>
</td>
</tr>
<tr>
<td><code>input type = <a href="http://www.w3.org/html/wg/drafts/html/master/forms.html#submit-button-state-(type=submit)"
title="attr-input-type-submit">submit </a></code></td>
<td><code>button</code> role </td>
<td><p><a href="#index-aria-global">global <code>aria-*</code> attributes</a></p>
<p><strong>Not</strong> <code>role=presentation</code></p></td>
</tr>
<tr>
<td><code>input type = <a href="http://www.w3.org/html/wg/drafts/html/master/forms.html#telephone-state-(type=tel)"
title="attr-input-type-tel">tel</a> </code>with no <a href="http://www.w3.org/html/wg/drafts/html/master/forms.html#attr-input-list"><code>
list</code></a> attribute</td>
<td><code>textbox </code>role</td>
<td><p><a href="#index-aria-global">global <code>aria-*</code> attributes</a></p>
<p><strong>Not</strong> <code>role=presentation</code></p>
</td>
</tr>
<tr>
<td><code>input type = <a
href="http://www.w3.org/html/wg/drafts/html/master/forms.html#text-(type=text)-state-and-search-state-(type=search)">text</a> </code>with
no <a href="http://www.w3.org/html/wg/drafts/html/master/forms.html#attr-input-list" title="concept-input-list"><code>list</code></a>
attribute</td>
<td><code>textbox</code> role</td>
<td><p><a href="#index-aria-global">global <code>aria-*</code> attributes</a></p>
<p><strong>Not</strong> <code>role=presentation</code></p>
</td>
</tr>
<tr>
<td><code>input type =</code> <a
href="http://www.w3.org/html/wg/drafts/html/master/forms.html#text-(type=text)-state-and-search-state-(type=search)"
title="attr-input-type-text"><code>text</code></a><code>, <a
href="http://www.w3.org/html/wg/drafts/html/master/forms.html#text-(type=text)-state-and-search-state-(type=search)"
title="attr-input-type-search">search</a>, <a href="http://www.w3.org/html/wg/drafts/html/master/forms.html#telephone-state-(type=tel)"
title="attr-input-type-tel">tel</a>, <a href="http://www.w3.org/html/wg/drafts/html/master/forms.html#url-state-(type=url)"
title="attr-input-type-url">url</a>, </code>or<code> <a
href="http://www.w3.org/html/wg/drafts/html/master/forms.html#e-mail-state-(type=email)" title="attr-input-type-email">email</a></code>
with a <a href="http://www.w3.org/html/wg/drafts/html/master/forms.html#attr-input-list"><code>list</code></a> attribute</td>
<td><code>combobox</code> role, with the <code>aria-owns</code> property set to the same value as the <a
href="http://www.w3.org/html/wg/drafts/html/master/forms.html#attr-input-list"><code>list</code></a> attribute</td>
<td><p><a href="#index-aria-global">global <code>aria-*</code> attributes</a> and any <code>aria-*</code> attributes applicable to the
<code> combobox </code>role.
</p>
<p><strong>Not</strong> <code>role=presentation</code></p>
</td>
</tr>
<tr>
<td><code>input type= <a href="http://www.w3.org/html/wg/drafts/html/master/forms.html#time-state-(type=time)"
title="attr-input-type-time">time</a></code></td>
<td><a>NONE</a></td>
<td><p><a href="#index-aria-global">global <code>aria-*</code> attributes</a> </p>
<p><strong>Not</strong> <code>role=presentation</code></p></td>
</tr>
<tr>
<td><code>input type = <a href="http://www.w3.org/html/wg/drafts/html/master/forms.html#url-state-(type=url)">url</a></code><a
href="http://www.w3.org/html/wg/drafts/html/master/forms.html#url-state-(type=url)" title="attr-input-type-url"></a> with no <a
href="http://www.w3.org/html/wg/drafts/html/master/single-page.html#concept-input-list" title="concept-input-list"><code>list</code></a>
attribute</td>
<td><code>textbox</code> role</td>
<td><p><a href="#index-aria-global">global <code>aria-*</code> attributes</a> </p>
<p><strong>Not</strong> <code>role=presentation</code></p></td>
</tr>
<tr>
<td><code>input type = <a href="http://www.w3.org/html/wg/drafts/html/master/forms.html#week-state-(type=week)">week</a></code></td>
<td><a>NONE</a></td>
<td><p><a href="#index-aria-global">global <code>aria-*</code> attributes</a> </p>
<p><strong>Not</strong> <code>role=presentation</code></p></td>
</tr>
<tr>
<td><p><a href="http://www.w3.org/html/wg/drafts/html/master/edits.html#the-ins-element">ins</a> and <a
href="http://www.w3.org/html/wg/drafts/html/master/edits.html#the-del-element">del</a></p>
<td><a>NONE</a></td>
<td><p>Role: any
</p>
<p><a href="#index-aria-global">global <code>aria-*</code> attributes</a> and any <code>aria-*</code> attributes applicable to the
allowed roles</p></td>
</tr>
<tr>
<td><a href="http://www.w3.org/html/wg/drafts/html/master/forms.html#the-keygen-element"><code>keygen</code></a>
<td><a>NONE</a></td>
<td><p><a href="#index-aria-global">global <code>aria-*</code> attributes</a> </p>
<p><strong>Not</strong> <code>role=presentation</code></p></td>
</tr>
<tr>
<td><a href="http://www.w3.org/html/wg/drafts/html/master/forms.html#the-label-element"><code>label</code></a>
<td><a>NONE</a></td>
<td><a href="#index-aria-global">global <code>aria-*</code> attributes</a> </td>
</tr>
<tr>
<td><a href="http://www.w3.org/html/wg/drafts/html/master/grouping-content.html#the-li-element"><code>li</code></a> element whose parent is
an <a href="http://www.w3.org/html/wg/drafts/html/master/grouping-content.html#the-ol-element"><code>ol</code></a> or <a
href="http://www.w3.org/html/wg/drafts/html/master/grouping-content.html#the-ul-element"><code>ul</code></a>
<td><code>role=listitem</code></td>
<td><p>Role: <code>listitem, menuitem, menuitemcheckbox, menuitemradio, option, separator, tab, </code>or<code> treeitem</code></p>
</td>
</tr>
<tr>
<td><a href="http://www.w3.org/html/wg/drafts/html/master/document-metadata.html#the-link-element"><code>link</code></a> element with a <a
href="http://www.w3.org/html/wg/drafts/html/master/document-metadata.html#attr-link-href"><code>href</code></a></td>
<td><code>role=link</code></td>
<td><strong class="nosupport">NONE</strong></td>
</tr>
<tr>
<td><a href="http://www.w3.org/html/wg/drafts/html/master/grouping-content.html#the-main-element"><code>main</code></a></td>
<td><code>role=main</code></td>
<td><a href="#index-aria-global">global <code>aria-*</code> attributes</a></td>
</tr>
<tr>
<td><a href="http://www.w3.org/html/wg/drafts/html/master/embedded-content.html#the-map-element"><code>map</code></a></td>
<td><a>NONE</a></td>
<td><strong class="nosupport">NONE</strong></td>
</tr>
<tr>
<td><a href="http://www.w3.org/html/wg/drafts/html/master/embedded-content.html#mathml"><code>math</code></a></td>
<td><a>NONE</a></td>
<td><a href="#index-aria-global">global <code>aria-*</code> attributes</a></td>
</tr>
<!--
<tr>
<td><code><a href="http://www.w3.org/html/wg/drafts/html/master/single-page.html#the-menu-element">menu</a> <a
href="http://www.w3.org/html/wg/drafts/html/master/single-page.html#attr-menu-type">type</a> = <a
href="http://www.w3.org/html/wg/drafts/html/master/single-page.html#context-menu-state" title="context menu state"> popup menu</a></code>
</td>
<td><code>role=menu</code> with <code>aria-haspopup="true"</code></td>
<TD class="nosupport"><strong>NO</strong> <strong><sup><a href="#note6">note 6</a></sup></strong></TD>
<td><p><a id="note6" tabindex="-1">Note 6:<strong> <span class="support">YES</span></strong></a> if <code>menu </code>element is being used
in a <a href="https://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-browser-Polyfills">scripted polyfill</a>.</p>
<p><a href="#index-aria-global">global <code>aria-*</code> attributes</a> and any <code>aria-*</code> attributes applicable to the
<code> toolbar </code>role. </p>
<p><strong>Not</strong> <code>role=presentation</code></p></td>
</tr>
<tr>
<td><code><a href="http://www.w3.org/html/wg/drafts/html/master/single-page.html#the-menu-element">menu</a> <a
href="http://www.w3.org/html/wg/drafts/html/master/single-page.html#attr-menu-type">type</a> = <a
href="http://www.w3.org/html/wg/drafts/html/master/single-page.html#list-state" title="list state">list</a></code></td>
<td><code>role=menu</code></td>
<td class="nosupport"><strong>NO <sup><a href="#note6">note 6</a></sup></strong></td>
<td><p><a id="note6" tabindex="-1">Note 6<strong>: <span class="support">YES</span></strong></a> if<code> menu </code>element is being used
in a <a href="https://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-browser-Polyfills">scripted polyfill</a>.</p>
<p><a href="#index-aria-global">global <code>aria-*</code> attributes</a> and any <code>aria-*</code> attributes applicable to the
<code> menu </code>role. </p>
<p><strong>Not</strong> <code>role=presentation</code></p></td>
</tr>
-->
<tr>
<td><code><a href="http://www.w3.org/html/wg/drafts/html/master/interactive-elements.html#the-menu-element">menu</a> <a
href="http://www.w3.org/html/wg/drafts/html/master/interactive-elements.html#attr-menu-type">type</a> = <a
href="http://www.w3.org/html/wg/drafts/html/master/interactive-elements.html#toolbar-state">toolbar</a></code></td>
<td><code>role=toolbar</code></td>
<td><p><a href="#index-aria-global">global <code>aria-*</code> attributes</a> and any <code>aria-*</code> attributes applicable to the
<code> toolbar </code>role. </p>
<p><strong>Not</strong> <code>role=presentation</code></p></td>
</tr>
<tr>
<td><a href="http://www.w3.org/html/wg/drafts/html/master/interactive-elements.html#the-menuitem-element"><code>menuitem</code></a>
<code><a href="http://www.w3.org/html/wg/drafts/html/master/interactive-elements.html#attr-menuitem-type">type</a> = <a
href="http://www.w3.org/html/wg/drafts/html/master/interactive-elements.html#attr-menuitem-type-state-command">command</a></code>
<td><code>role=menuitem</code></td>
<td>
<p><a href="#index-aria-global">global <code>aria-*</code> attributes</a> and any <code>aria-*</code> attributes applicable to the
<code> menuitem </code>role. </p>
<p><strong>Not</strong> <code>role=presentation</code></p></td>
</tr>
<tr>
<td><a href="http://www.w3.org/html/wg/drafts/html/master/interactive-elements.html#the-menuitem-element"><code>menuitem</code></a> <code>
<a href="http://www.w3.org/html/wg/drafts/html/master/interactive-elements.html#attr-menuitem-type">type</a> = <a
href="http://www.w3.org/html/wg/drafts/html/master/interactive-elements.html#attr-menuitem-type-state-checkbox">checkbox</a></code>
<td><code>role=menuitemcheckbox</code></td>
<td>
<p><a href="#index-aria-global">global <code>aria-*</code> attributes</a> and any <code>aria-*</code> attributes applicable to the
<code> menuitemcheckbox </code>role. </p>
<p><strong>Not</strong> <code>role=presentation</code></p></td>
</tr>
<tr>
<td><a href="http://www.w3.org/html/wg/drafts/html/master/interactive-elements.html#the-menuitem-element"><code>menuitem</code></a> <code>
<a href="http://www.w3.org/html/wg/drafts/html/master/interactive-elements.html#attr-menuitem-type">type</a> = <a
href="http://www.w3.org/html/wg/drafts/html/master/interactive-elements.html#attr-menuitem-type-state-radio">radio</a></code>
<td><code>role=menuitemradio</code></td>
<td>
<p><a href="#index-aria-global">global <code>aria-*</code> attributes</a> and any <code>aria-*</code> attributes applicable to the
<code> menuitemradio </code>role. </p>
<p><strong>Not</strong> <code>role=presentation</code></p></td>
</tr>
<tr>
<td><code><a href="http://www.w3.org/html/wg/drafts/html/master/document-metadata.html#the-meta-element">meta</a>
</code>
<td><a>NONE</a></td>
<td>NONE</td>
</tr>
<tr>
<td><code><a href="http://www.w3.org/html/wg/drafts/html/master/forms.html#the-meter-element">meter</a>
</code>
<td>role=progressbar</td>
<td><a href="#index-aria-global">global <code>aria-*</code> attributes</a></td>
</tr>
<tr>
<td><code><a href="http://www.w3.org/html/wg/drafts/html/master/sections.html#the-nav-element">nav</a>
</code>
<td><code>role=navigation</code></td>
<td><a href="#index-aria-global">global <code>aria-*</code> attributes</a></td>
</tr>
<tr>
<td><code><a href="http://www.w3.org/html/wg/drafts/html/master/scripting-1.html#the-noscript-element">noscript</a>
</code>
<td><a>NONE</a></td>
<td>NONE</td>
</tr>
<tr>
<td><a href="http://www.w3.org/html/wg/drafts/html/master/embedded-content.html#the-object-element"><code>object</code></a><code>
</code>
<td><a>NONE</a></td>
<td><p>Role: <code>application, document, </code>or<code> img </code></p>
<p><a href="#index-aria-global">global <code>aria-*</code> attributes</a> and any <code>aria-*</code> attributes applicable to the
allowed roles</p></td>
</tr>
<tr>
<td><code><a href="http://www.w3.org/html/wg/drafts/html/master/single-page.html#the-ol-element">ol</a> </code>
<td><code>role=list </code></td>
<td><p>Role: <code>directory, group, listbox, menu, menubar, tablist, toolbar </code>or<code> tree </code></p>
<p><a href="#index-aria-global">global <code>aria-*</code> attributes</a> and any <code>aria-*</code> attributes applicable to the
allowed roles</p></td>
</tr>
<tr>
<td><a href="http://www.w3.org/html/wg/drafts/html/master/forms.html#the-optgroup-element"><code>optgroup</code></a>
<td><a>NONE</a></td>
<td><a href="#index-aria-global">global <code>aria-*</code> attributes</a></td>
</tr>
<tr>
<td><a href="http://www.w3.org/html/wg/drafts/html/master/forms.html#the-option-element">option</a> element that is in a <a
href="http://www.w3.org/html/wg/drafts/html/master/forms.html#concept-select-option-list">list of options</a> or that represents a
suggestion in a <a href="http://www.w3.org/html/wg/drafts/html/master/forms.html#the-datalist-element">datalist</a>
<td><code>role=option</code>, with <code>aria-selected=true</code> if the <code>selected</code> attribute is present, <code>
aria-selected=false</code> otherwise. </td>
<td><p><a href="#index-aria-global">global <code>aria-*</code> attributes</a></p>
<p><strong>Not</strong> <code>role=presentation</code></p></td>
</tr>
<tr>
<td><code><a href="http://www.w3.org/html/wg/drafts/html/master/forms.html#the-output-element">output</a>
</code>
<td><code>role=status </code></td>
<td><p>Role: Any, use in conjunction with <code>aria-live=polite</code></p>
<p><a href="#index-aria-global">global <code>aria-*</code> attributes</a> and any <code>aria-*</code> attributes applicable to the
allowed roles</p></td>
</tr>
<tr>
<td><code><a href="http://www.w3.org/html/wg/drafts/html/master/embedded-content.html#the-param-element">param</a>
</code>
<td><a>NONE</a></td>
<td>NONE</td>
</tr>
<tr>
<td><code><a href="http://picture.responsiveimages.org/">picture</a> </code>
<td><a>NONE</a></td>
<td>NONE</td>
</tr>
<tr>
<td><code><a href="http://www.w3.org/html/wg/drafts/html/master/forms.html#the-progress-element">progress</a>
</code>
<td><code>progressbar</code> role, with, if the progress bar is determinate, the <code>aria-valuemax</code> property set to the maximum
value of the progress bar, the aria-valuemin property set to zero, and the aria-valuenow property set to the current value of the progress
bar </td>
<td><p>.</p>
<p><a href="#index-aria-global">global <code>aria-*</code> attributes</a> and any <code>aria-*</code> attributes applicable to the
<code> progressbar </code>role. </p></td>
</tr>
<tr>
<td><code><a href="http://www.w3.org/html/wg/drafts/html/master/scripting-1.html#the-script-element">script</a>
</code>
<td><a>NONE</a></td>
<td>NONE</td>
</tr>
<tr>
<td><a href="http://www.w3.org/html/wg/drafts/html/master/sections.html#the-section-element"><code>section</code></a>
<td><code>role=region</code></td>
<td><p>Role: <code>alert, alertdialog, application, contentinfo, dialog, document, log,
marquee, search, </code>or<code> status </code></p>
<p><a href="#index-aria-global">global <code>aria-*</code> attributes</a> and any <code>aria-*</code> attributes applicable to the
allowed roles</p></td>
</tr>
<tr>
<td><a href="http://www.w3.org/html/wg/drafts/html/master/forms.html#the-select-element"><code>select</code></a> element with a <a
href="http://www.w3.org/html/wg/drafts/html/master/forms.html#attr-select-multiple"><code>multiple</code></a> attribute </td>
<td><code>role=listbox</code>, with <code>aria-multiselectable=true</code></td>
<td><p><a href="#index-aria-global">global <code>aria-*</code> attributes</a></p>
<p><strong>Not</strong> <code>role=presentation</code></p></td>
</tr>
<tr>
<td><a href="http://www.w3.org/html/wg/drafts/html/master/forms.html#the-select-element"><code>select</code></a> element with no <a
href="http://www.w3.org/html/wg/drafts/html/master/forms.html#attr-select-multiple"><code>multiple</code></a> attribute </td>
<td><code>role=listbox</code>, with <code>aria-multiselectable=false</code></td>
<td><p><a href="#index-aria-global">global <code>aria-*</code> attributes</a></p>
<p><strong>Not</strong> <code>role=presentation</code></p></td>
</tr>
<tr>
<td><code><a href="http://www.w3.org/html/wg/drafts/html/master/embedded-content.html#the-source-element">source</a>
</code>
<td><a>NONE</a></td>
<td>NONE</td>
</tr>
<tr>
<td><a href="http://www.w3.org/html/wg/drafts/html/master/text-level-semantics.html#the-span-element"><code>span</code></a>
<td><a>NONE</a></td>
<td><p>Role: Any</p>
<p><a href="#index-aria-global">global <code>aria-*</code> attributes</a> and any <code>aria-*</code> attributes applicable to the
allowed roles</p></td>
</tr>
<tr>
<td><code><a href="http://www.w3.org/html/wg/drafts/html/master/document-metadata.html#the-style-element">style</a>
</code>
<td><a>NONE</a></td>
<td>NONE</td>
</tr>
<tr>
<td><code><a href="http://www.w3.org/html/wg/drafts/html/master/embedded-content.html#svg">SVG</a></code>
<td><a>NONE</a></td>
<td><p>Role: <code>application, document, </code>or<code> img </code></p>
<p><a href="#index-aria-global">global <code>aria-*</code> attributes</a> and any <code>aria-*</code> attributes applicable to the
allowed roles</p></td>
</tr>
<tr>
<td><code><a href="http://www.w3.org/html/wg/drafts/html/master/interactive-elements.html#the-summary-element">summary</a>
</code>
<td><a>NONE</a></td>
<td><p>Role: <code>button</code> with
<code>aria-expanded="true"</code> if the parent (<code>details</code>) element's <a
href="http://www.w3.org/html/wg/drafts/html/master/single-page.html#attr-details-open"><code>open</code></a> attribute is present, <code>
aria-expanded="false"</code> otherwise. </p>
<p><a href="#index-aria-global">global <code>aria-*</code> attributes</a> and any <code>aria-*</code> attributes applicable to the
<code> button </code>role. </p></td>
</tr>
<tr>
<td><a href="http://www.w3.org/html/wg/drafts/html/master/tabular-data.html#the-table-element"><code>table</code></a>
<td><a>NONE</a></td>
<td><p>Role: any
</p>
<p><a href="#index-aria-global">global <code>aria-*</code> attributes</a> and any <code>aria-*</code> attributes applicable to the
allowed roles</p></td>
</tr>
<tr>
<td><code><a href="http://www.w3.org/html/wg/drafts/html/master/scripting-1.html#the-template-element">template</a> </code>
<td><a>NONE</a></td>
<td><strong class="nosupport">NONE</strong></td>
</tr>
<tr>
<td><code><a href="http://www.w3.org/html/wg/drafts/html/master/forms.html#the-textarea-element">textarea</a> </code>
<td><code>role=textbox</code></td>
<td><p><a href="#index-aria-global">global <code>aria-*</code> attributes</a></p>
<p><strong>Not</strong> <code>role=presentation</code></p></td>
</tr>
<tr>
<td><p><a href="http://www.w3.org/html/wg/drafts/html/master/tabular-data.html#the-tbody-element"><code>tbody</code></a>, <a
href="http://www.w3.org/html/wg/drafts/html/master/tabular-data.html#the-thead-element"><code>thead</code></a>,
<a href="http://www.w3.org/html/wg/drafts/html/master/tabular-data.html#the-tfoot-element"><code>tfoot</code></a></p></td>
<td><code>role=rowgroup</code></td>
<td><p>Role: any
</p>
<p><a href="#index-aria-global">global <code>aria-*</code> attributes</a></p></td>
</tr>
<tr>
<td><code><a href="http://www.w3.org/html/wg/drafts/html/master/document-metadata.html#the-title-element">title</a>
</code>
<td><a>NONE</a></td>
<td><strong class="nosupport">NONE</strong></td>
</tr>
<tr>
<td><code><a href="http://www.w3.org/html/wg/drafts/html/master/tabular-data.html#the-td-element">td</a></code>
<td><a>NONE</a></td>
<td><p>Role: any
</p>
<p><a href="#index-aria-global">global <code>aria-*</code> attributes</a> and any <code>aria-*</code> attributes applicable to the
allowed roles</p></td>
</tr>
<tr>
<td> <p>Text level semantic elements not listed elsewhere:</p>
<p><a href="http://www.w3.org/html/wg/drafts/html/master/text-level-semantics.html#the-em-element"><code>em</code></a><code>,
<a href="http://www.w3.org/html/wg/drafts/html/master/text-level-semantics.html#the-strong-element">strong</a>,
<a href="http://www.w3.org/html/wg/drafts/html/master/text-level-semantics.html#the-small-element">small</a>,
<a href="http://www.w3.org/html/wg/drafts/html/master/text-level-semantics.html#the-s-element">s</a>,
<a href="http://www.w3.org/html/wg/drafts/html/master/text-level-semantics.html#the-cite-element">cite</a>,
<a href="http://www.w3.org/html/wg/drafts/html/master/text-level-semantics.html#the-q-element">q</a>,
<a href="http://www.w3.org/html/wg/drafts/html/master/text-level-semantics.html#the-dfn-element">dfn</a>,
<a href="http://www.w3.org/html/wg/drafts/html/master/text-level-semantics.html#the-abbr-element">abbr</a>,
<a href="http://www.w3.org/html/wg/drafts/html/master/text-level-semantics.html#the-time-element">time</a>,
<a href="http://www.w3.org/html/wg/drafts/html/master/text-level-semantics.html#the-code-element">code</a>,
<a href="http://www.w3.org/html/wg/drafts/html/master/text-level-semantics.html#the-var-element">var</a>,
<a href="http://www.w3.org/html/wg/drafts/html/master/single-page.html#the-samp-element">samp</a>,
<a href="http://www.w3.org/html/wg/drafts/html/master/text-level-semantics.html#the-kbd-element">kbd</a>,
<a href="http://www.w3.org/html/wg/drafts/html/master/text-level-semantics.html#the-sub-and-sup-elements">sub and sup</a>,
<a href="http://www.w3.org/html/wg/drafts/html/master/text-level-semantics.html#the-i-element">i</a>,
<a href="http://www.w3.org/html/wg/drafts/html/master/text-level-semantics.html#the-b-element">b</a>,
<a href="http://www.w3.org/html/wg/drafts/html/master/text-level-semantics.html#the-u-element">u</a>,
<a href="http://www.w3.org/html/wg/drafts/html/master/text-level-semantics.html#the-mark-element">mark </a>,
<a href="http://www.w3.org/html/wg/drafts/html/master/text-level-semantics.html#the-ruby-element">ruby</a>,
<a href="http://www.w3.org/html/wg/drafts/html/master/text-level-semantics.html#the-rt-element">rt</a>,
<a href="http://www.w3.org/html/wg/drafts/html/master/text-level-semantics.html#the-rp-element">rp</a>,
<a href="http://www.w3.org/html/wg/drafts/html/master/text-level-semantics.html#the-bdi-element">bdi</a>,
<a href="http://www.w3.org/html/wg/drafts/html/master/text-level-semantics.html#the-bdo-element">bdo</a>,
<a href="http://www.w3.org/html/wg/drafts/html/master/text-level-semantics.html#the-br-element">br</a>,
<a href="http://www.w3.org/html/wg/drafts/html/master/text-level-semantics.html#the-wbr-element">wbr</a> </code></p></td>
<td><a>NONE</a></td>
<td><p>Role: any
</p>
<p><a href="#index-aria-global">global <code>aria-*</code> attributes</a> and any <code>aria-*</code> attributes applicable to the
allowed roles</p></td>
</tr>
<tr>
<td><code><a href="http://www.w3.org/html/wg/drafts/html/master/tabular-data.html#the-th-element">th</a></code><a
href="http://www.w3.org/html/wg/drafts/html/master/single-page.html#the-th-element"></a>
<td><a>NONE</a></td>
<td><p>Role: any
</p>
<p><a href="#index-aria-global">global <code>aria-*</code> attributes</a> and any <code>aria-*</code> attributes applicable to the
allowed roles</p></td>
</tr>
<tr>
<td><a href="http://www.w3.org/html/wg/drafts/html/master/tabular-data.html#the-th-element"><code>th</code></a> element that is a <span
data-anolis-xref="sorting-capable-th-element"><a
href="http://www.w3.org/html/wg/drafts/html/master/tabular-data.html#sorting-capable-th-element">sorting-capable</a> <a
href="http://www.w3.org/html/wg/drafts/html/master/tabular-data.html#the-th-element"><code>th</code></a> element</span> whose column key <a
data-anolis-xref="column key ordinality" href="http://www.w3.org/html/wg/drafts/html/master/tabular-data.html#column-key-ordinality">
ordinality</a> is 1
<td><code>role=columnheader</code>, with the <code>aria-sort</code> state set to "ascending" if the element's <span
data-anolis-xref="#column-sort-direction">column sort direction is <em>normal</em>, and "descending" otherwise. </span></td>
<td><p><a href="#index-aria-global">global <code>aria-*</code> attributes</a></p>
<p><strong>Not</strong> <code>role=presentation</code></p></td>
</tr>
<tr>
<td><p><a href="http://www.w3.org/html/wg/drafts/html/master/tabular-data.html#the-tr-element"><code>tr</code></a></p>
<td><a>NONE</a></td>
<td><p>Role: any
</p>
<p><a href="#index-aria-global">global <code>aria-*</code> attributes</a> and any <code>aria-*</code> attributes applicable to the
allowed roles</p></td>
</tr>
<tr>
<td><a href="http://www.w3.org/html/wg/drafts/html/master/embedded-content.html#the-track-element"><code>track</code></a>
<td><a>NONE</a></td>
<td>NONE</td>
</tr>
<tr>
<td><a href="http://www.w3.org/html/wg/drafts/html/master/grouping-content.html#the-ul-element"><code>ul</code></a>
<td><code>role=list</code></td>
<td><p>Role: <code>directory, group, listbox, menu, menubar, tablist, toolbar, tree, presentation </code></p>
<p><a href="#index-aria-global">global <code>aria-*</code> attributes</a> and any <code>aria-*</code> attributes applicable to the
allowed roles</p></td>
</tr>
<tr>
<td><a href="http://www.w3.org/html/wg/drafts/html/master/embedded-content.html#the-video-element"><code>video</code></a>
<td><a>NONE</a></td>
<td> <p>Role: <code>application </code></p>
<p><a href="#index-aria-global">global <code>aria-*</code> attributes</a> and any <code>aria-*</code> attributes applicable to the
<code> application </code>role. </p></td>
</tr>
<tr>
<td>Element with a <a href="http://www.w3.org/html/wg/drafts/html/master/forms.html#attr-fe-disabled"><code>disabled</code></a> attribute
</td>
<td><code>aria-disabled="true"</code></td>
<td><p>Use the <code>disabled</code> attribute on any element that is <a
href="http://www.w3.org/html/wg/drafts/html/master/single-page.html#attributes-1">allowed the <code>disabled</code> attribute</a> in HTML5.
</p>
<p>Only use the <code>aria-disabled</code> attribute for elements that are not allowed to have a <code>disabled </code>attribute in HTML5
</p></td>
</tr>
<tr>
<td>Element with a <a href="http://www.w3.org/html/wg/drafts/html/master/forms.html#attr-input-required"><code>required</code></a>
attribute</td>
<td>The <code>aria-required="true"</code></td>
<td><p>Use the <code>aria-required</code> attribute on any element that is <a
href="http://www.w3.org/html/wg/drafts/html/master/index.html#attributes-1">allowed the <code>required</code> attribute</a> in HTML5.
</p>
<p>Also use the <code>aria-required</code> attribute for elements that have an attached ARIA role which allows the <code>aria-required
</code> attribute.</p></td>
</tr>
<tr>
<td>Element with a <a href="http://www.w3.org/html/wg/drafts/html/master/forms.html#the-readonly-attribute"><code>readonly</code></a>
attribute </td>
<td><code>aria-readonly=true</code></td>
<td><p>Use the <code>readonly</code> attribute on any element that is <a
href="http://www.w3.org/html/wg/drafts/html/master/index.html#attributes-1">allowed the <code>readonly</code> attribute</a> in HTML5.
</p>
<p>Only use the <code>aria-readonly</code> attribute for elements that are <em>not allowed</em> to have a <code>readonly</code> attribute in HTML5
</p></td>
</tr>
<tr>
<td>Element with a <a href="http://www.w3.org/html/wg/drafts/html/master/editing.html#the-hidden-attribute"><code>hidden</code></a>
attribute </td>
<td><code>aria-hidden=true</code></td>
<td>Use the <code>hidden</code> attribute in conjunction with the CSS <code>display:none </code>property</td>
</tr>
<tr>
<td>Element is natively focusable (links, buttons, etc.)</td>
<td><a>NONE</a></td>
<td><p><strong>Not</strong> <code>role=presentation</code></p>
</td>
</tr>
<tr>
<td>Element is not focusable by default (e.g. li, span, div, etc.) is in a visible display state and is made focusable (via <code>tabindex
</code>). </td>
<td><em>DEPENDS</em></td>
<td><strong>Not</strong> <code>role=presentation </code>
</td>
</tr>
<tr>
<td>Element that is a <a href="http://www.w3.org/html/wg/drafts/html/master/forms.html#candidate-for-constraint-validation">candidate for
constraint validation</a> but that does not <a data-anolis-xref="concept-fv-valid"
href="http://www.w3.org/html/wg/drafts/html/master/forms.html#concept-fv-valid">satisfy its constraints</a></td>
<td><code>aria-invalid=true</code></td>
<td><p>Only use the <code>aria-invalid=true</code> attribute after form has been validated, setting it prior means users think the field is
invalid before they even input data or interact with it.</p>
<p>(Editor's NOTE) Provide link to what HTML defines what constitutes the user has interacted with the control "significantly." ARIA defines <code>
aria-invalid="grammar"</code> and <code>aria-invalid="spelling"</code></p>
</td>
</tr>
</table>
<p>The listed elements with default ARIA semantics of <dfn>NONE</dfn> do not have any default ARIA semantics, but they do have meaning and this meaning may be represented in roles, states and properties not provided by ARIA, but present in accessibility APIs. It is therefore recommended that authors should add a role attribute to a semantically neutral element such as a <code>div</code> or <code>span</code>, rather than overriding the semantics of the listed elements. </p>