@@ -531,11 +531,11 @@ <h2 id="docconformance">
531
531
[^a^] without [^a/href^]
532
532
</ th >
533
533
< td >
534
- < code > role=< a href ="#index-aria-generic "> ` generic` </ a > </ code >
534
+ < code > role=< a href ="#index-aria-generic "> generic</ a > </ code >
535
535
</ td >
536
536
< td >
537
537
< p >
538
- < a > < strong > Any `role`</ strong > </ a > , though < code > < a href ="#index-aria-generic "> ` generic` </ a > </ code > SHOULD NOT be used.
538
+ < a > < strong > Any `role`</ strong > </ a > , though < code > < a href ="#index-aria-generic "> generic</ a > </ code > SHOULD NOT be used.
539
539
</ p >
540
540
< p class ="addition "> < a > Naming Prohibited</ a > </ p >
541
541
< p >
@@ -602,14 +602,14 @@ <h2 id="docconformance">
602
602
[^area^] without [^area/href^]
603
603
</ th >
604
604
< td >
605
- < code > role=< a href ="#index-aria-generic "> ` generic` </ a > </ code >
605
+ < code > role=< a href ="#index-aria-generic "> generic</ a > </ code >
606
606
</ td >
607
607
< td >
608
608
< div class ="addition ">
609
609
< p >
610
610
Roles:
611
611
< a href ="#index-aria-button "> `button`</ a >
612
- or < a href ="#index-aria-link "> `link`</ a > . (< code > < a href ="#index-aria-generic "> ` generic` </ a > </ code > is also allowed, but SHOULD NOT BE USED.)
612
+ or < a href ="#index-aria-link "> `link`</ a > . (< code > < a href ="#index-aria-generic "> generic</ a > </ code > is also allowed, but SHOULD NOT BE USED.)
613
613
</ p >
614
614
< p > < a > Naming Prohibited</ a > </ p >
615
615
< p >
@@ -702,7 +702,7 @@ <h2 id="docconformance">
702
702
Role exposed from author defined {{ElementInternals}}
703
703
</ p >
704
704
< p >
705
- Otherwise < code > role=< a href ="#index-aria-generic "> ` generic` </ a > </ code >
705
+ Otherwise < code > role=< a href ="#index-aria-generic "> generic</ a > </ code >
706
706
</ p >
707
707
</ td >
708
708
< td >
@@ -711,7 +711,7 @@ <h2 id="docconformance">
711
711
< a > < strong class ="nosupport "> no `role`</ strong > </ a >
712
712
</ p >
713
713
< p >
714
- Otherwise, < a > < strong > any `role`</ strong > </ a > , though < code > < a href ="#index-aria-generic "> ` generic` </ a > </ code > SHOULD NOT be used.
714
+ Otherwise, < a > < strong > any `role`</ strong > </ a > , though < code > < a href ="#index-aria-generic "> generic</ a > </ code > SHOULD NOT be used.
715
715
</ p >
716
716
< p class ="addition ">
717
717
< a > Naming Prohibited</ a > if exposed as the `generic` role, or if exposed
@@ -728,11 +728,11 @@ <h2 id="docconformance">
728
728
[^b^]
729
729
</ th >
730
730
< td >
731
- < code > role=< a href ="#index-aria-generic "> ` generic` </ a > </ code >
731
+ < code > role=< a href ="#index-aria-generic "> generic</ a > </ code >
732
732
</ td >
733
733
< td >
734
734
< p >
735
- < a > < strong > Any `role`</ strong > </ a > , though < code > < a href ="#index-aria-generic "> ` generic` </ a > </ code > SHOULD NOT be used.
735
+ < a > < strong > Any `role`</ strong > </ a > , though < code > < a href ="#index-aria-generic "> generic</ a > </ code > SHOULD NOT be used.
736
736
</ p >
737
737
< p class ="addition "> < a > Naming Prohibited</ a > </ p >
738
738
< p >
@@ -759,11 +759,11 @@ <h2 id="docconformance">
759
759
[^bdi^]
760
760
</ th >
761
761
< td >
762
- < code > role=< a href ="#index-aria-generic "> ` generic` </ a > </ code >
762
+ < code > role=< a href ="#index-aria-generic "> generic</ a > </ code >
763
763
</ td >
764
764
< td >
765
765
< p >
766
- < a > < strong > Any `role`</ strong > </ a > , though < code > < a href ="#index-aria-generic "> ` generic` </ a > </ code > SHOULD NOT be used.
766
+ < a > < strong > Any `role`</ strong > </ a > , though < code > < a href ="#index-aria-generic "> generic</ a > </ code > SHOULD NOT be used.
767
767
</ p >
768
768
< p class ="addition "> < a > Naming Prohibited</ a > </ p >
769
769
< p >
@@ -777,11 +777,11 @@ <h2 id="docconformance">
777
777
[^bdo^]
778
778
</ th >
779
779
< td >
780
- < code > role=< a href ="#index-aria-generic "> ` generic` </ a > </ code >
780
+ < code > role=< a href ="#index-aria-generic "> generic</ a > </ code >
781
781
</ td >
782
782
< td >
783
783
< p >
784
- < a > < strong > Any `role`</ strong > </ a > , though < code > < a href ="#index-aria-generic "> ` generic` </ a > </ code > SHOULD NOT be used.
784
+ < a > < strong > Any `role`</ strong > </ a > , though < code > < a href ="#index-aria-generic "> generic</ a > </ code > SHOULD NOT be used.
785
785
</ p >
786
786
< p class ="addition "> < a > Naming Prohibited</ a > </ p >
787
787
< p >
@@ -812,11 +812,11 @@ <h2 id="docconformance">
812
812
[^body^]
813
813
</ th >
814
814
< td >
815
- < code > role=< a href ="#index-aria-generic "> ` generic` </ a > </ code >
815
+ < code > role=< a href ="#index-aria-generic "> generic</ a > </ code >
816
816
</ td >
817
817
< td >
818
818
< p >
819
- < a > < strong class ="nosupport "> No `role`</ strong > </ a > other than < code > < a href ="#index-aria-generic "> ` generic` </ a > </ code > , which SHOULD NOT be used.
819
+ < a > < strong class ="nosupport "> No `role`</ strong > </ a > other than < code > < a href ="#index-aria-generic "> generic</ a > </ code > , which SHOULD NOT be used.
820
820
</ p >
821
821
< p class ="addition "> < a > Naming Prohibited</ a > </ p >
822
822
< p >
@@ -974,11 +974,11 @@ <h2 id="docconformance">
974
974
[^data^]
975
975
</ th >
976
976
< td >
977
- < code > role=< a href ="#index-aria-generic "> ` generic` </ a > </ code >
977
+ < code > role=< a href ="#index-aria-generic "> generic</ a > </ code >
978
978
</ td >
979
979
< td >
980
980
< p >
981
- < a > < strong > Any `role`</ strong > </ a > , though < code > < a href ="#index-aria-generic "> ` generic` </ a > </ code > SHOULD NOT be used.
981
+ < a > < strong > Any `role`</ strong > </ a > , though < code > < a href ="#index-aria-generic "> generic</ a > </ code > SHOULD NOT be used.
982
982
</ p >
983
983
< p class ="addition "> < a > Naming Prohibited</ a > </ p >
984
984
< p >
@@ -1097,14 +1097,14 @@ <h2 id="docconformance">
1097
1097
[^div^]
1098
1098
</ th >
1099
1099
< td >
1100
- < code > role=< a href ="#index-aria-generic "> ` generic` </ a > </ code >
1100
+ < code > role=< a href ="#index-aria-generic "> generic</ a > </ code >
1101
1101
</ td >
1102
1102
< td >
1103
1103
< p class ="addition ">
1104
1104
If a direct child of a [^dl^] element,
1105
1105
only < a href ="#index-aria-presentation "> `presentation`</ a >
1106
1106
or < a href ="#index-aria-none "> `none`</ a > . Otherwise,
1107
- < a > < strong > any `role`</ strong > </ a > , though < code > < a href ="#index-aria-generic "> ` generic` </ a > </ code > SHOULD NOT be used.
1107
+ < a > < strong > any `role`</ strong > </ a > , though < code > < a href ="#index-aria-generic "> generic</ a > </ code > SHOULD NOT be used.
1108
1108
</ p >
1109
1109
< p class ="addition "> < a > Naming Prohibited</ a > </ p >
1110
1110
< p >
@@ -1273,7 +1273,7 @@ <h2 id="docconformance">
1273
1273
then < code > role=< a href ="#index-aria-contentinfo "> contentinfo</ a > </ code >
1274
1274
</ p >
1275
1275
< p >
1276
- Otherwise, < code > role=< a href ="#index-aria-generic "> ` generic` </ a > </ code >
1276
+ Otherwise, < code > role=< a href ="#index-aria-generic "> generic</ a > </ code >
1277
1277
</ p >
1278
1278
</ td >
1279
1279
< td >
@@ -1287,7 +1287,7 @@ <h2 id="docconformance">
1287
1287
`main`, `navigation` or `region`,
1288
1288
then < code > role=< a href ="#index-aria-contentinfo "> contentinfo</ a > </ code >
1289
1289
is also allowed, but NOT RECOMMENDED.
1290
- Otherwise, < code > role=< a href ="#index-aria-generic "> ` generic` </ a > </ code >
1290
+ Otherwise, < code > role=< a href ="#index-aria-generic "> generic</ a > </ code >
1291
1291
is also allowed, but SHOULD NOT be used.)
1292
1292
</ p >
1293
1293
< p >
@@ -1335,7 +1335,7 @@ <h2 id="docconformance">
1335
1335
Role exposed from author defined {{ElementInternals}}
1336
1336
</ p >
1337
1337
< p >
1338
- Otherwise < code > role=< a href ="#index-aria-generic "> ` generic` </ a > </ code >
1338
+ Otherwise < code > role=< a href ="#index-aria-generic "> generic</ a > </ code >
1339
1339
</ p >
1340
1340
</ td >
1341
1341
< td >
@@ -1357,7 +1357,7 @@ <h2 id="docconformance">
1357
1357
< a href ="#index-aria-slider "> `slider`</ a > ,
1358
1358
< a href ="#index-aria-spinbutton "> `spinbutton`</ a > ,
1359
1359
< a href ="#index-aria-switch "> `switch`</ a >
1360
- or < a href ="#index-aria-textbox "> `textbox`</ a > . (< code > < a href ="#index-aria-generic "> ` generic` </ a > </ code > is also allowed, but SHOULD NOT be used.)
1360
+ or < a href ="#index-aria-textbox "> `textbox`</ a > . (< code > < a href ="#index-aria-generic "> generic</ a > </ code > is also allowed, but SHOULD NOT be used.)
1361
1361
</ p >
1362
1362
< p class ="addition ">
1363
1363
< a > Naming Prohibited</ a > if exposed as the `generic` role.
@@ -1418,7 +1418,7 @@ <h2 id="docconformance">
1418
1418
< code > role=< a href ="#index-aria-banner "> banner</ a > </ code >
1419
1419
</ p >
1420
1420
< p >
1421
- Otherwise, < code > role=< a href ="#index-aria-generic "> ` generic` </ a > </ code >
1421
+ Otherwise, < code > role=< a href ="#index-aria-generic "> generic</ a > </ code >
1422
1422
</ p >
1423
1423
</ td >
1424
1424
< td >
@@ -1432,7 +1432,7 @@ <h2 id="docconformance">
1432
1432
`main`, `navigation` or `region`,
1433
1433
then < code > role=< a href ="#index-aria-contentinfo "> contentinfo</ a > </ code >
1434
1434
is also allowed, but NOT RECOMMENDED.
1435
- Otherwise, < code > role=< a href ="#index-aria-generic "> ` generic` </ a > </ code >
1435
+ Otherwise, < code > role=< a href ="#index-aria-generic "> generic</ a > </ code >
1436
1436
is also allowed, but SHOULD NOT be used.)
1437
1437
</ p >
1438
1438
< p class ="addition "> < a > Naming Prohibited</ a > if exposed as `generic`.</ p >
@@ -1447,11 +1447,11 @@ <h2 id="docconformance">
1447
1447
[^hgroup^]
1448
1448
</ th >
1449
1449
< td >
1450
- < code > role=< a href ="#index-aria-generic "> ` generic` </ a > </ code >
1450
+ < code > role=< a href ="#index-aria-generic "> generic</ a > </ code >
1451
1451
</ td >
1452
1452
< td >
1453
1453
< p >
1454
- < a > < strong > Any `role`</ strong > </ a > , though < code > < a href ="#index-aria-generic "> ` generic` </ a > </ code > SHOULD NOT be used.
1454
+ < a > < strong > Any `role`</ strong > </ a > , though < code > < a href ="#index-aria-generic "> generic</ a > </ code > SHOULD NOT be used.
1455
1455
</ p >
1456
1456
< p class ="addition "> < a > Naming Prohibited</ a > </ p >
1457
1457
< p >
@@ -1504,11 +1504,11 @@ <h2 id="docconformance">
1504
1504
[^i^]
1505
1505
</ th >
1506
1506
< td >
1507
- < code > role=< a href ="#index-aria-generic "> ` generic` </ a > </ code >
1507
+ < code > role=< a href ="#index-aria-generic "> generic</ a > </ code >
1508
1508
</ td >
1509
1509
< td >
1510
1510
< p >
1511
- < a > < strong > Any `role`</ strong > </ a > , though < code > < a href ="#index-aria-generic "> ` generic` </ a > </ code > SHOULD NOT be used.
1511
+ < a > < strong > Any `role`</ strong > </ a > , though < code > < a href ="#index-aria-generic "> generic</ a > </ code > SHOULD NOT be used.
1512
1512
</ p >
1513
1513
< p class ="addition "> < a > Naming Prohibited</ a > </ p >
1514
1514
< p >
@@ -2521,11 +2521,11 @@ <h2 id="docconformance">
2521
2521
[^pre^]
2522
2522
</ th >
2523
2523
< td >
2524
- < code > role=< a href ="#index-aria-generic "> ` generic` </ a > </ code >
2524
+ < code > role=< a href ="#index-aria-generic "> generic</ a > </ code >
2525
2525
</ td >
2526
2526
< td >
2527
2527
< p >
2528
- < a > < strong > Any `role`</ strong > </ a > , though < code > < a href ="#index-aria-generic "> ` generic` </ a > </ code > SHOULD NOT be used.
2528
+ < a > < strong > Any `role`</ strong > </ a > , though < code > < a href ="#index-aria-generic "> generic</ a > </ code > SHOULD NOT be used.
2529
2529
</ p >
2530
2530
< p class ="addition "> < a > Naming Prohibited</ a > </ p >
2531
2531
< p >
@@ -2561,11 +2561,11 @@ <h2 id="docconformance">
2561
2561
[^q^]
2562
2562
</ th >
2563
2563
< td >
2564
- < code > role=< a href ="#index-aria-generic "> ` generic` </ a > </ code >
2564
+ < code > role=< a href ="#index-aria-generic "> generic</ a > </ code >
2565
2565
</ td >
2566
2566
< td >
2567
2567
< p >
2568
- < a > < strong > Any `role`</ strong > </ a > , though < code > < a href ="#index-aria-generic "> ` generic` </ a > </ code > SHOULD NOT be used.
2568
+ < a > < strong > Any `role`</ strong > </ a > , though < code > < a href ="#index-aria-generic "> generic</ a > </ code > SHOULD NOT be used.
2569
2569
</ p >
2570
2570
< p class ="addition "> < a > Naming Prohibited</ a > </ p >
2571
2571
< p >
@@ -2649,11 +2649,11 @@ <h2 id="docconformance">
2649
2649
[^samp^]
2650
2650
</ th >
2651
2651
< td >
2652
- < code > role=< a href ="#index-aria-generic "> ` generic` </ a > </ code >
2652
+ < code > role=< a href ="#index-aria-generic "> generic</ a > </ code >
2653
2653
</ td >
2654
2654
< td >
2655
2655
< p >
2656
- < a > < strong > Any `role`</ strong > </ a > , though < code > < a href ="#index-aria-generic "> ` generic` </ a > </ code > SHOULD NOT be used.
2656
+ < a > < strong > Any `role`</ strong > </ a > , though < code > < a href ="#index-aria-generic "> generic</ a > </ code > SHOULD NOT be used.
2657
2657
</ p >
2658
2658
< p class ="addition "> < a > Naming Prohibited</ a > </ p >
2659
2659
< p >
@@ -2713,7 +2713,7 @@ <h2 id="docconformance">
2713
2713
< a data-cite ="accname-1.2/#dfn-accessible-name "> accessible name</ a >
2714
2714
</ p >
2715
2715
< p >
2716
- Otherwise, < a > no corresponding role</ a >
2716
+ Otherwise, < code > role= < a href =" #index-aria-generic " > generic </ a > </ code >
2717
2717
</ p >
2718
2718
</ td >
2719
2719
< td >
@@ -2739,9 +2739,8 @@ <h2 id="docconformance">
2739
2739
< a href ="#index-aria-search "> `search`</ a > ,
2740
2740
< a href ="#index-aria-status "> `status`</ a >
2741
2741
or < a href ="#index-aria-tabpanel "> `tabpanel`</ a > .
2742
- (If the [^section^] element has an
2743
- < a data-cite ="accname-1.2/#dfn-accessible-name "> accessible name</ a > ,
2744
- < code > role=< a href ="#index-aria-region "> region</ a > </ code > is also allowed, but NOT RECOMMENDED.)
2742
+ (< code > role=< a href ="#index-aria-region "> region</ a > </ code > is also allowed,
2743
+ but NOT RECOMMENDED. < code > role=< a href ="#index-aria-generic "> generic</ a > </ code > SHOULD NOT be used.)
2745
2744
</ p >
2746
2745
< p >
2747
2746
DPub Roles:
@@ -2842,11 +2841,11 @@ <h2 id="docconformance">
2842
2841
[^small^]
2843
2842
</ th >
2844
2843
< td >
2845
- < code > role=< a href ="#index-aria-generic "> ` generic` </ a > </ code >
2844
+ < code > role=< a href ="#index-aria-generic "> generic</ a > </ code >
2846
2845
</ td >
2847
2846
< td >
2848
2847
< p >
2849
- < a > < strong > Any `role`</ strong > </ a > , though < code > < a href ="#index-aria-generic "> ` generic` </ a > </ code > SHOULD NOT be used.
2848
+ < a > < strong > Any `role`</ strong > </ a > , though < code > < a href ="#index-aria-generic "> generic</ a > </ code > SHOULD NOT be used.
2850
2849
</ p >
2851
2850
< p class ="addition "> < a > Naming Prohibited</ a > </ p >
2852
2851
< p >
@@ -2873,11 +2872,11 @@ <h2 id="docconformance">
2873
2872
[^span^]
2874
2873
</ th >
2875
2874
< td >
2876
- < code > role=< a href ="#index-aria-generic "> ` generic` </ a > </ code >
2875
+ < code > role=< a href ="#index-aria-generic "> generic</ a > </ code >
2877
2876
</ td >
2878
2877
< td >
2879
2878
< p >
2880
- < a > < strong > Any `role`</ strong > </ a > , though < code > < a href ="#index-aria-generic "> ` generic` </ a > </ code > SHOULD NOT be used.
2879
+ < a > < strong > Any `role`</ strong > </ a > , though < code > < a href ="#index-aria-generic "> generic</ a > </ code > SHOULD NOT be used.
2881
2880
</ p >
2882
2881
< p class ="addition "> < a > Naming Prohibited</ a > </ p >
2883
2882
< p >
@@ -2971,11 +2970,11 @@ <h2 id="docconformance">
2971
2970
[^sup^]
2972
2971
</ th >
2973
2972
< td >
2974
- < code > role=< a href ="#index-aria-superscript "> ` superscript` </ a > </ code >
2973
+ < code > role=< a href ="#index-aria-superscript "> superscript</ a > </ code >
2975
2974
</ td >
2976
2975
< td >
2977
2976
< p >
2978
- < a > < strong > Any `role`</ strong > </ a > , though < code > < a href ="#index-aria-superscript "> ` superscript` </ a > </ code > is NOT RECOMMENDED.
2977
+ < a > < strong > Any `role`</ strong > </ a > , though < code > < a href ="#index-aria-superscript "> superscript</ a > </ code > is NOT RECOMMENDED.
2979
2978
</ p >
2980
2979
< p class ="addition "> < a > Naming Prohibited</ a > </ p >
2981
2980
< p >
@@ -3105,11 +3104,11 @@ <h2 id="docconformance">
3105
3104
[^time^]
3106
3105
</ th >
3107
3106
< td >
3108
- < code > role=< a href ="#index-aria-time "> ` time` </ a > </ code >
3107
+ < code > role=< a href ="#index-aria-time "> time</ a > </ code >
3109
3108
</ td >
3110
3109
< td >
3111
3110
< p >
3112
- < a > < strong > Any `role`</ strong > </ a > , though < code > < a href ="#index-aria-time "> ` time` </ a > </ code > is NOT RECOMMENDED.
3111
+ < a > < strong > Any `role`</ strong > </ a > , though < code > < a href ="#index-aria-time "> time</ a > </ code > is NOT RECOMMENDED.
3113
3112
</ p >
3114
3113
< p class ="addition "> < a > Naming Prohibited</ a > </ p >
3115
3114
< p >
@@ -3267,11 +3266,11 @@ <h2 id="docconformance">
3267
3266
[^u^]
3268
3267
</ th >
3269
3268
< td >
3270
- < code > role=< a href ="#index-aria-generic "> ` generic` </ a > </ code >
3269
+ < code > role=< a href ="#index-aria-generic "> generic</ a > </ code >
3271
3270
</ td >
3272
3271
< td >
3273
3272
< p >
3274
- < a > < strong > Any `role`</ strong > </ a > , though < code > < a href ="#index-aria-generic "> ` generic` </ a > </ code > SHOULD NOT be used.
3273
+ < a > < strong > Any `role`</ strong > </ a > , though < code > < a href ="#index-aria-generic "> generic</ a > </ code > SHOULD NOT be used.
3275
3274
</ p >
3276
3275
< p class ="addition "> < a > Naming Prohibited</ a > </ p >
3277
3276
< p >
@@ -3467,12 +3466,15 @@ <h3 id="docconformance-attr">
3467
3466
Requirements for use of ARIA attributes in place of equivalent HTML attributes
3468
3467
</ h3 >
3469
3468
< p >
3470
- Unless otherwise stated, authors MAY use `aria-*` attributes in place of their HTML equivalents on HTML elements where the `aria-*` semantics would be expected. For example, authors MAY specify `aria-disabled=true` on a [^button^] element, while also implementing the necessary scripting to functionally disable the `button`, rather than the use `disabled` attribute.
3469
+ Unless otherwise stated, authors MAY use `aria-*` attributes in place of their HTML equivalents on HTML elements where the `aria-*` semantics would
3470
+ be expected. For example, authors MAY specify `aria-disabled=true` on a [^button^] element, while also implementing the necessary scripting to functionally
3471
+ disable the `button`, rather than the use `disabled` attribute.
3471
3472
</ p >
3472
3473
< p >
3473
- As stated in
3474
- < a data-cite ="wai-aria-1.2#host_general_conflict "> WAI-ARIA's Conflicts with Host Language Semantics</ a > ,
3475
- when HTML elements use < em > both</ em > `aria-*` attributes and their host language (HTML) equivalents, user agents MUST ignore the WAI-ARIA attributes – the native HTML attributes with the same < a > implicit ARIA semantics</ a > take precedence. For this reason, authors SHOULD NOT specify both the native HTML attribute and the equivalent `aria-*` attribute on an element. Please review each attribute for any further author specific requirements.
3474
+ As stated in < a data-cite ="wai-aria-1.2#host_general_conflict "> WAI-ARIA's Conflicts with Host Language Semantics</ a > ,
3475
+ when HTML elements use < em > both</ em > `aria-*` attributes and their host language (HTML) equivalents, user agents MUST ignore the WAI-ARIA attributes – the
3476
+ native HTML attributes with the same < a > implicit ARIA semantics</ a > take precedence. For this reason, authors SHOULD NOT specify both the native HTML attribute
3477
+ and the equivalent `aria-*` attribute on an element. Please review each attribute for any further author specific requirements.
3476
3478
</ p >
3477
3479
< p >
3478
3480
The following table represents HTML elements and their attributes which have `aria-*` attribute parity.
0 commit comments