Skip to content

Commit

Permalink
add in no shadow root use cae
Browse files Browse the repository at this point in the history
update wording to be consistent between steps
  • Loading branch information
scottaohara authored Nov 27, 2024
1 parent 07fa950 commit 67ce536
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions html-aam/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -824,13 +824,14 @@ <h4 id="el-autonomous-custom-element">
<th>[[wai-aria-1.2]]</th>
<td>
<ul>
<li>If the author assigned a conforming ARIA role using the `role` attribute, or by the custom element's internals, map to the specified role.</li>
<li>else if the author assigned HTML attributes that result in a <a>minimum role</a>, then map to the minimum role.</li>
<li>else if the custom element is focusable: expose the <a class="core-mapping" href="#role-map-generic">`group`</a> role</li>
<li>else if an author specifies an ARIA attribute on the custom element that creates a relation with another element: expose the <a class="core-mapping" href="#role-map-generic">`group`</a> role</li>
<li>else if the custom element has an `aria-live` attribute: expose the <a class="core-mapping" href="#role-map-generic">`generic`</a> role</li>
<li>else if element internals are used to set a global ARIA property: expose the <a class="core-mapping" href="#role-map-generic">`generic`</a> role.</li>
<li>Otherwise, the element maps to the <a class="core-mapping" href="#role-map-none">`none`</a> role.</li>
<li>If the author assigned a conforming ARIA role using the `role` attribute, or by the custom element's internals: map to the specified role.</li>
<li>else if the author assigned HTML attributes that result in a <a>minimum role</a>: map to the minimum role.</li>
<li>else if the custom element is focusable: map to the <a class="core-mapping" href="#role-map-generic">`group`</a> role</li>
<li>else if an author specifies a global ARIA attribute on the custom element that creates a relation with another element: map to the <a class="core-mapping" href="#role-map-generic">`group`</a> role</li>
<li>else if the custom element has no attached shadow root: map to the <a class="core-mapping" href="#role-map-generic">`generic`</a> role</li>
<li>else if the custom element has an `aria-live` attribute: map to the <a class="core-mapping" href="#role-map-generic">`generic`</a> role</li>
<li>else if element internals are used to set a global ARIA property: map to the <a class="core-mapping" href="#role-map-generic">`generic`</a> role.</li>
<li>Otherwise, the custom element maps to the <a class="core-mapping" href="#role-map-none">`none`</a> role.</li>
</ul>
</td>
</tr>
Expand Down

0 comments on commit 67ce536

Please sign in to comment.