Skip to content

Commit 31de8fa

Browse files
committed
Remove mention of grid and tablist
See w3c/aria#915 Fixes #1156.
1 parent 4dcd209 commit 31de8fa

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

aria-practices.html

+3-9
Original file line numberDiff line numberDiff line change
@@ -3742,7 +3742,7 @@ <h3>What ARE Accessible Names and Descriptions?</h3>
37423742
For example, a switch button named <q>Mute Conversation</q> in the <q>off</q> state could be announced as <q>Mute Conversation switch button off</q>.
37433743
Because descriptions are optional strings that are usually significantly longer than names, they are presented last, sometimes after a slight delay.
37443744
For example, <q>Mute Conversation Switch button off, Silences alerts and notifications about activity in this conversation.</q>
3745-
To reduce verbosity, some screen readers do not announce descriptions by default but instead inform users of their presence so that users can press a key that will announce the description.
3745+
To reduce verbosity, some screen readers do not announce descriptions by default but instead inform users of their presence so that users can press a key that will announce the description.
37463746
</p>
37473747
</section>
37483748

@@ -4074,7 +4074,7 @@ <h5>Naming Tables and Figures with Captions</h5>
40744074
&lt;/figure></code></pre>
40754075
<p>
40764076
Like with <code>table</code> elements, if a <code>figure</code> is not named using <code>aria-label</code> or <code>aria-labelledby</code>, the content of the <code>figcaption</code> element will be used as the accessible name.
4077-
However unlike <code>table</code> elements, if the <code>figcaption</code> element is not used for the name, it does not become an accessible description unless it is referenced by <code>aria-describedby</code>.
4077+
However unlike <code>table</code> elements, if the <code>figcaption</code> element is not used for the name, it does not become an accessible description unless it is referenced by <code>aria-describedby</code>.
40784078
Nevertheless, assistive technologies will render the content of a <code>figcaption</code> regardless of whether it is used as a name, description, or neither.
40794079
</p>
40804080
<p>Using the <code>caption</code> element to name a <code>table</code> element, or a <code>figcaption</code> element to name a <code>figure</code> element, satisfies <a href="#naming_rule_visible_text">Rule 2: Prefer Visible Text</a> and <a href="#naming_rule_native_techniques">Rule 3: Prefer Native Techniques</a>.</p>
@@ -6287,9 +6287,8 @@ <h2>Describing Hierarchical Structure with <code>aria-level</code></h2>
62876287
<ul>
62886288
<li><code>heading</code></li>
62896289
<li><code>listitem</code></li>
6290+
<li><code>treeitem</code></li>
62906291
<li><code>row</code></li>
6291-
<li><code>tablist</code> (not recommended)</li>
6292-
<li><code>grid</code> (not recommended)</li>
62936292
</ul>
62946293
<section id="aria-level_heading_role">
62956294
<h3><code>heading</code> Role</h3>
@@ -6391,11 +6390,6 @@ <h3><code>row</code> Role</h3>
63916390
<p>Do not use <code>aria-level</code> on rows that are in a <code>grid</code> or a <code>table</code> because only rows in a <code>treegrid</code> table are expected to have a hierarchical relationship.</p>
63926391
</section>
63936392

6394-
<section id="aria-level_grid_role">
6395-
<h3><code>grid</code> Role</h3>
6396-
<p>The attribute <code>aria-level</code> can be used on elements with role <code>grid</code> to represent nested grids but it is not recommended.</p>
6397-
</section>
6398-
63996393
</section>
64006394

64016395
<section id="presentation_role">

0 commit comments

Comments
 (0)