Skip to content

Commit 892a700

Browse files
authored
correction: allow role=math on img element (#525)
closes #523 includes allowance of `role=math` on `img` elements. Per the ARIA specification: >While it is not ideal to use an image of a mathematical expression, there exists a significant amount of legacy content where images are used to represent mathematical expressions. Authors SHOULD ensure that images of math are labeled by text that describes the mathematical expression as it might be spoken. so this role should be allowed for such instances, and any further accessibility gaps caused by the use of the img element would be for authors to resolve beyond the scope of what this spec covers.
1 parent 11b9625 commit 892a700

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

index.html

+9-1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@
6464
the following substantive additions and/or corrections have been proposed:
6565
</p>
6666
<ul>
67+
<li>
68+
<a href="https://github.com/w3c/html-aria/pull/525">23 December 2024 - Addition:</a>
69+
Update the <a href="#el-img">`img`</a> element to allow the `math` role.
70+
</li>
6771
<li>
6872
<a href="https://github.com/w3c/html-aria/pull/533">13 December 2024 - Addition:</a>
6973
Update to include the `image` role as preferred synonym to the `img` role.
@@ -1595,6 +1599,9 @@ <h2 id="docconformance">
15951599
<a href="#index-aria-button">`button`</a>,
15961600
<a href="#index-aria-checkbox">`checkbox`</a>,
15971601
<a href="#index-aria-link">`link`</a>,
1602+
<span class="correction">
1603+
<a href="#index-aria-math">`math`</a>,
1604+
</span>
15981605
<a href="#index-aria-menuitem">`menuitem`</a>,
15991606
<a href="#index-aria-menuitemcheckbox">`menuitemcheckbox`</a>,
16001607
<a href="#index-aria-menuitemradio">`menuitemradio`</a>,
@@ -1611,7 +1618,8 @@ <h2 id="docconformance">
16111618
<a href="#index-aria-slider">`slider`</a>,
16121619
<a href="#index-aria-switch">`switch`</a>,
16131620
<a href="#index-aria-tab">`tab`</a> or
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.)
1621+
<a href="#index-aria-treeitem">`treeitem`</a>.
1622+
(<code><a href="#index-aria-img">img or image</a></code> is also allowed, but NOT RECOMMENDED.)
16151623
</p>
16161624
<p>
16171625
DPub Role:

0 commit comments

Comments
 (0)