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

Add naming guidance for blockquote, meter and time roles #1231

Merged
merged 5 commits into from
Nov 6, 2019
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 26 additions & 2 deletions aria-practices.html
Original file line number Diff line number Diff line change
Expand Up @@ -4235,6 +4235,13 @@ <h4><span id="naming_role_guidance_heading">Accessible Name Guidance by Role</sp
</ul>
</td>
</tr>
<tr>
<td><a href="#blockquote" class="role-reference"><code>blockquote</code></a></td>
<td>Discretionary</td>
<td>
If a visible label is present, associating it with the blockquote by using <code>aria-labelledby</code> could benefit some assistive technology users.
</td>
</tr>
<tr>
<td><a href="#button" class="role-reference"><code>button</code></a></td>
<td>Required <strong>Only If</strong> Content Insufficient</td>
Expand Down Expand Up @@ -4489,7 +4496,7 @@ <h4><span id="naming_role_guidance_heading">Accessible Name Guidance by Role</sp
<tr>
<td><a href="#listitem" class="role-reference"><code>listitem</code></a></td>
<td>Do Not Name</td>
<td>Not supported by assistive technologies; it is necessary to include relevant content within the list item.</td>
<td>Naming is not supported by assistive technologies; it is necessary to include relevant content within the list item.</td>
</tr>
<tr>
<td><a href="#log" class="role-reference"><code>log</code></a></td>
Expand Down Expand Up @@ -4588,6 +4595,17 @@ <h4><span id="naming_role_guidance_heading">Accessible Name Guidance by Role</sp
</ul>
</td>
</tr>
<tr>
<td><a href="#meter" class="role-reference"><code>meter</code></a></td>
<td>Required</td>
<td>
<ul>
<li>If based on an HTML <code>meter</code> element, can be named with an HTML <code>label</code> element.</li>
<li>Otherwise use <code>aria-labelledby</code> if a visible label is present.</li>
<li>Use <code>aria-label</code> if a visible label is not present.</li>
</ul>
</td>
</tr>
<tr>
<td><a href="#navigation" class="role-reference"><code>navigation</code></a></td>
<td>Recommended</td>
Expand Down Expand Up @@ -4695,7 +4713,7 @@ <h4><span id="naming_role_guidance_heading">Accessible Name Guidance by Role</sp
<tr>
<td><a href="#rowgroup" class="role-reference"><code>rowgroup</code></a></td>
<td>Do Not Name</td>
<td>Not supported by assistive technologies.</td>
<td>Naming is not supported by assistive technologies.</td>
</tr>
<tr>
<td><a href="#rowheader" class="role-reference"><code>rowheader</code></a></td>
Expand Down Expand Up @@ -4869,6 +4887,11 @@ <h4><span id="naming_role_guidance_heading">Accessible Name Guidance by Role</sp
</ul>
</td>
</tr>
<tr>
<td><a href="#time" class="role-reference"><code>time</code></a></td>
<td>Do Not Name</td>
<td>Naming is not supported by assistive technologies.</td>
</tr>
<tr>
<td><a href="#timer" class="role-reference"><code>timer</code></a></td>
<td>Discretionary</td>
Expand Down Expand Up @@ -6464,6 +6487,7 @@ <h2>Roles That Automatically Hide Semantics by Making Their Descendants Presenta
<li>button</li>
<li>checkbox</li>
<li>img</li>
<li>meter</li>
<li>math</li>
<li>menuitemcheckbox</li>
<li>menuitemradio</li>
Expand Down