Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update figure role #1705

Merged
merged 5 commits into from Sep 1, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion index.html
Expand Up @@ -3453,7 +3453,8 @@ <h2>Definition of Roles</h2>
<rdef>figure</rdef>
<div class="role-description">
<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>
<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>
<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>
scottaohara marked this conversation as resolved.
Show resolved Hide resolved
<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>
scottaohara marked this conversation as resolved.
Show resolved Hide resolved
<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>
</div>
<table class="role-features">
Expand Down