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 1 commit
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
32 changes: 32 additions & 0 deletions aria-practices.html
Original file line number Diff line number Diff line change
Expand Up @@ -4235,6 +4235,16 @@ <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>
<ul>
<li>Naming is optional, but can potentially help screen reader users understand the context and purpose of the quote.</li>
zcorpan marked this conversation as resolved.
Show resolved Hide resolved
<li>Named using <code>aria-labelledby</code> if a visible label is present, otherwise with <code>aria-label</code>.</li>
zcorpan marked this conversation as resolved.
Show resolved Hide resolved
</ul>
</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 @@ -4588,6 +4598,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 the <code>meter</code> role is applied to an HTML <code>meter</code> element, can be named with an HTML <code>label</code> element.</li>
zcorpan marked this conversation as resolved.
Show resolved Hide resolved
<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 @@ -4869,6 +4890,16 @@ <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>time</code></a></td>
zcorpan marked this conversation as resolved.
Show resolved Hide resolved
<td>Discretionary</td>
<td>
<ul>
<li>Naming is optional, but can potentially help screen reader users understand the context and purpose of the given specific point in time.</li>
zcorpan marked this conversation as resolved.
Show resolved Hide resolved
<li>Named using <code>aria-labelledby</code> if a visible label is present, otherwise with <code>aria-label</code>.</li>
</ul>
</td>
</tr>
<tr>
<td><a href="#timer" class="role-reference"><code>timer</code></a></td>
<td>Discretionary</td>
Expand Down Expand Up @@ -6464,6 +6495,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