64
64
the following substantive additions and/or corrections have been proposed:
65
65
</ p >
66
66
< ul >
67
+ < li >
68
+ < a href ="https://github.com/w3c/html-aria/pull/533 "> 13 December 2024 - Addition:</ a >
69
+ Update to include the `image` role as preferred synonym to the `img` role.
70
+ </ li >
67
71
< li >
68
72
< a href ="https://github.com/w3c/html-aria/pull/507 "> 13 December 2024 - Addition:</ a >
69
73
Clarify the allowance for `aria-hidden` when used with the `hidden` attribute.
@@ -1217,6 +1221,7 @@ <h2 id="docconformance">
1217
1221
< a href ="#index-aria-application "> `application`</ a > ,
1218
1222
< a href ="#index-aria-document "> `document`</ a > ,
1219
1223
< a href ="#index-aria-img "> `img`</ a > ,
1224
+ < a href ="#index-aria-img "> `image`</ a > ,
1220
1225
< a href ="#index-aria-none "> `none`</ a >
1221
1226
or < a href ="#index-aria-presentation "> `presentation`</ a > .
1222
1227
</ p >
@@ -1563,6 +1568,7 @@ <h2 id="docconformance">
1563
1568
< a href ="#index-aria-application "> `application`</ a > ,
1564
1569
< a href ="#index-aria-document "> `document`</ a > ,
1565
1570
< a href ="#index-aria-img "> `img`</ a > ,
1571
+ < a href ="#index-aria-img "> `image`</ a > ,
1566
1572
< a href ="#index-aria-none "> `none`</ a >
1567
1573
or < a href ="#index-aria-presentation "> `presentation`</ a > .
1568
1574
</ p >
@@ -1581,7 +1587,7 @@ <h2 id="docconformance">
1581
1587
< td >
1582
1588
If the `img` has non-empty [^img/alt^] (`alt="some text"`) or an accessible name is provided another
1583
1589
< a data-cite ="html-aam-1.0#img-element-accessible-name-computation "> `img` naming method</ a > :< br >
1584
- < code > role=< a href ="#index-aria-img "> img</ a > </ code >
1590
+ < code > role=< a href ="#index-aria-img "> img or image </ a > </ code >
1585
1591
</ td >
1586
1592
< td >
1587
1593
< p >
@@ -1605,7 +1611,7 @@ <h2 id="docconformance">
1605
1611
< a href ="#index-aria-slider "> `slider`</ a > ,
1606
1612
< a href ="#index-aria-switch "> `switch`</ a > ,
1607
1613
< a href ="#index-aria-tab "> `tab`</ a > or
1608
- < a href ="#index-aria-treeitem "> `treeitem`</ a > . (< code > < a href ="#index-aria-img "> img</ a > </ code > is also allowed, but NOT RECOMMENDED.)
1614
+ < a href ="#index-aria-treeitem "> `treeitem`</ a > . (< code > < a href ="#index-aria-img "> img or image </ a > </ code > is also allowed, but NOT RECOMMENDED.)
1609
1615
</ p >
1610
1616
< p >
1611
1617
DPub Role:
@@ -1632,7 +1638,7 @@ <h2 id="docconformance">
1632
1638
< p id ="el-img-no-alt " tabindex ="-1 ">
1633
1639
If the `img` < a data-cite ="html/images.html#unknown-images "> lacks an `alt` attribute</ a > and lacks any other
1634
1640
< a data-cite ="html-aam-1.0#img-element-accessible-name-computation "> `img` naming methods</ a > :< br >
1635
- < code > role=< a href ="#index-aria-img "> img</ a > </ code >
1641
+ < code > role=< a href ="#index-aria-img "> img or image </ a > </ code >
1636
1642
</ p >
1637
1643
</ div >
1638
1644
</ td >
@@ -1642,7 +1648,7 @@ <h2 id="docconformance">
1642
1648
If the `img` has no `alt` attribute or accessible name:
1643
1649
< a > < strong class ="nosupport "> No `role`</ strong > </ a > other than the
1644
1650
< code > role=< a href ="#index-aria-none "> none</ a > </ code > or < code > < a href ="#index-aria-presentation "> presentation</ a > </ code > roles.
1645
- (< code > role=< a href ="#index-aria-img "> img</ a > </ code > is also allowed, but NOT RECOMMENDED.)
1651
+ (< code > role=< a href ="#index-aria-img "> img or image </ a > </ code > is also allowed, but NOT RECOMMENDED.)
1646
1652
</ p >
1647
1653
< p >
1648
1654
If the `img` has an empty `alt=""` attribute and no `aria-label` or `aria-labelledby` attributes to provide it an accessible name:
@@ -2476,8 +2482,9 @@ <h2 id="docconformance">
2476
2482
< p >
2477
2483
Roles:
2478
2484
< a href ="#index-aria-application "> `application`</ a > ,
2479
- < a href ="#index-aria-document "> `document`</ a >
2480
- or < a href ="#index-aria-img "> `img`</ a > .
2485
+ < a href ="#index-aria-document "> `document`</ a > ,
2486
+ < a href ="#index-aria-img "> `img`</ a >
2487
+ or < a href ="#index-aria-img "> `image`</ a > .
2481
2488
</ p >
2482
2489
< p >
2483
2490
< a data-cite ="wai-aria-1.2#global_states "> Global `aria-*` attributes</ a > and
@@ -4416,7 +4423,7 @@ <h2>
4416
4423
</ tr >
4417
4424
< tr >
4418
4425
< th tabindex ="-1 " id ="index-aria-img ">
4419
- < a data-cite ="wai-aria-1.2#img "> `img`</ a >
4426
+ < a data-cite ="wai-aria-1.2#img "> `img` or `image` </ a >
4420
4427
</ th >
4421
4428
< td >
4422
4429
< ul >
0 commit comments