Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a7439fe

Browse files
authored
Editorial: Issue2775 (#2783)
Closes #2775 Updated language to reflect guidance for when accessibility child roles are present vs empty. Added note about host language restrictions.
1 parent 39373fb commit a7439fe

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

index.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1171,9 +1171,9 @@ <h3><dfn>Prohibited</dfn> States and Properties</h3>
11711171
<section id="mustContain">
11721172
<h3>Allowed Accessibility Child Roles</h3>
11731173
<p>
1174-
A list of roles which are allowed on an <a>accessibility child</a> of the element with this <a>role</a>. Authors MUST only add <a>accessibility children</a> with allowed roles. For
1174+
A list of roles which are allowed on an <a>accessibility child</a> of the element with this <a>role</a>. If the list is not empty, authors MUST only add <a>accessibility children</a> with allowed roles. For
11751175
example, an element with the role <rref>list</rref> allows <a>accessibility children</a> with the role <rref>listitem</rref>, but does not allow <a>accessibility children</a> with the role
1176-
<rref>option</rref>.
1176+
<rref>option</rref>. If the list is empty, then there are no restrictions on accessibility child roles.
11771177
</p>
11781178
<p>
11791179
Descendants which are not children of an element ancestor are not constrained by <em>allowed accessibility child roles</em>. For example, an <code>image</code> is not an
@@ -1190,6 +1190,7 @@ <h3>Allowed Accessibility Child Roles</h3>
11901190
<a>accessibility child</a> with a role of <rref>row</rref> will not fulfill the requirement that <rref>listbox</rref> allows children with <rref>option</rref> or <rref>group</rref> roles.
11911191
</p>
11921192
<p class="note">An element with the appropriate <a href="#implicit_semantics">implicit WAI-ARIA semantic</a> fulfills this requirement.</p>
1193+
<p class="note">Host languages may further restrict accessibility child roles.</p>
11931194
<div class="note">
11941195
<p>Examples of valid ways to mark up allowed accessibility child roles include:</p>
11951196
<ol>

0 commit comments

Comments
 (0)