You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: index.html
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1171,9 +1171,9 @@ <h3><dfn>Prohibited</dfn> States and Properties</h3>
1171
1171
<section id="mustContain">
1172
1172
<h3>Allowed Accessibility Child Roles</h3>
1173
1173
<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
1175
1175
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.
1177
1177
</p>
1178
1178
<p>
1179
1179
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
<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.
1191
1191
</p>
1192
1192
<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>
1193
1194
<div class="note">
1194
1195
<p>Examples of valid ways to mark up allowed accessibility child roles include:</p>
0 commit comments