Skip to content

Commit d70ee10

Browse files
authored
correction: allow role=math on img element
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 7856a5b commit d70ee10

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

index.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1585,6 +1585,9 @@ <h2 id="docconformance">
15851585
<a href="#index-aria-button">`button`</a>,
15861586
<a href="#index-aria-checkbox">`checkbox`</a>,
15871587
<a href="#index-aria-link">`link`</a>,
1588+
<span class="correction">
1589+
<a href="#index-aria-math">`math`</a>,
1590+
</span>
15881591
<a href="#index-aria-menuitem">`menuitem`</a>,
15891592
<a href="#index-aria-menuitemcheckbox">`menuitemcheckbox`</a>,
15901593
<a href="#index-aria-menuitemradio">`menuitemradio`</a>,
@@ -1601,7 +1604,8 @@ <h2 id="docconformance">
16011604
<a href="#index-aria-slider">`slider`</a>,
16021605
<a href="#index-aria-switch">`switch`</a>,
16031606
<a href="#index-aria-tab">`tab`</a> or
1604-
<a href="#index-aria-treeitem">`treeitem`</a>. (<code><a href="#index-aria-img">img</a></code> is also allowed, but NOT RECOMMENDED.)
1607+
<a href="#index-aria-treeitem">`treeitem`</a>.
1608+
(<code><a href="#index-aria-img">img</a></code> is also allowed, but NOT RECOMMENDED.)
16051609
</p>
16061610
<p>
16071611
DPub Role:

0 commit comments

Comments
 (0)