Skip to content

Commit

Permalink
Add note about UA SHOULD guidance for roles outside of required a11y …
Browse files Browse the repository at this point in the history
…parent role
  • Loading branch information
Rahim Abdi committed Jan 30, 2025
1 parent a2d34fe commit e5b2c09
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -655,6 +655,7 @@ <h3>Allowed Accessibility Child Roles</h3>
<h3>Required Accessibility Parent Role</h3>
<p>The required <a>accessibility parent</a> (simplified as "parent") role defines the container where this <a>role</a> is allowed. If a role has a required accessibility parent, authors MUST ensure that an element with the role is an <a>accessibility child</a> of an element with the required accessibility parent role. For example, an element with role <code>listitem</code> is only meaningful when it is a child of an element with role <code>list</code>.</p>
<p>To determine whether an element has a parent with the required role, <a>user agents</a> MUST ignore any elements with the role <rref>generic</rref> or <rref>none</rref>.</p>
<p>Also, <a>user agents</a> SHOULD ignore the role if it occurs outside the context of a required accessibility parent role. </p>
<p class="note">An element with the appropriate <a href="#implicit_semantics">implicit WAI-ARIA semantic</a> fulfills this requirement.</p>
</section>
<section id="namecalculation">
Expand Down

0 comments on commit e5b2c09

Please sign in to comment.