Skip to content

Commit

Permalink
rewording of how a _name_ (not necessarily a “label” - so changed tha…
Browse files Browse the repository at this point in the history
…t word) can be specified for a `role=img`
  • Loading branch information
scottaohara committed Jul 2, 2021
1 parent 88f0ed1 commit 912ff77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4095,7 +4095,7 @@ <h5>Note regarding the ARIA 1.3 <code>image</code> role.</h5>
<rdef>img</rdef>
<div class="role-description">
<p>A container for a collection of <a>elements</a> that form an image. See synonym <rref>image</rref>.</p>
<p>An <code>img</code> can contain captions and descriptive text, as well as multiple image files that when viewed together give the impression of a single image. An <code>img</code> represents a single graphic within a document, whether or not it is formed by a collection of drawing <a>objects</a>. In order for elements with a <a>role</a> of <code>img</code> to be <a>perceivable</a>, authors MUST provide a label using the <pref>aria-label</pref> or <pref>aria-labelledby</pref> attribute.</p>
<p>An <code>img</code> can contain captions and descriptive text, as well as multiple image files that when viewed together give the impression of a single image. An <code>img</code> represents a single graphic within a document, whether or not it is formed by a collection of drawing <a>objects</a>. In order for an element with a <a>role</a> of <code>img</code> to be <a>perceivable</a>, authors MUST provide the element with an <a>accessible name</a>. This can be done using the <pref>aria-label</pref> or <pref>aria-labelledby</pref> attribute.</p>
</div>
<table class="role-features">
<caption>Characteristics:</caption>
Expand Down

0 comments on commit 912ff77

Please sign in to comment.