8000 update figure role · w3c/aria@5a14d4d · GitHub
[go: up one dir, main page]

Skip to content

Commit 5a14d4d

Browse files
authored
update figure role
This PR requires #1703 be merged.
1 parent af94c5f commit 5a14d4d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3453,7 +3453,8 @@ <h2>Definition of Roles</h2>
34533453
<rdef>figure</rdef>
34543454
<div class="role-description">
34553455
<p>A perceivable <rref>section</rref> of content that typically contains a <a>graphical document</a>, images, code snippets, or example text. The parts of a <code>figure</code> MAY be user-navigable.</p>
3456-
<p>Authors SHOULD provide a reference to the <code>figure</code> from the main text, but the <code>figure</code> need not be displayed at the same location as the referencing element. Authors MAY reference text serving as a caption using <pref>aria-describedby</pref>. Authors MAY provide a label using <pref>aria-label</pref> or MAY reference text serving as a label using <pref>aria-labelledby</pref>.</p>
3456+
<p>Authors SHOULD provide a reference to the <code>figure</code> from the main text, but the <code>figure</code> need not be displayed at the same location as the referencing element. Authors MAY provide a <code>figure</code> a <rref>caption</rref> to serve as the name, description, or both to the element. Please refer to the <rref>caption</rref> role for more information on how to associate these roles.</p>
3457+
<p>If a <code>figure</code> does not contain a <code>caption</code>, authors MAY provide a <code>figure</code> an accessible name using <pref>aria-label</pref> or MAY reference other text serving as a label using <pref>aria-labelledby</pref>.</p>
34573458
<p><a>Assistive technologies</a> SHOULD enable users to quickly navigate to figures. <a>User agents</a> MAY enable users to quickly navigate to figures.</p>
34583459
</div>
34593460
<table class="role-features">

0 commit comments

Comments
 (0)
0