Skip to content

Commit

Permalink
Leverage delegation over reflection
Browse files Browse the repository at this point in the history
  • Loading branch information
Westbrook authored Jul 17, 2022
1 parent b0f5050 commit 43a6428
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cross-root-aria-reflection.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,8 @@ benefits the refactor of the pattern from raw DOM to custom elements.
aria-expanded="true"
aria-controls="cb1-listbox"
>
#shadow-root reflects="role"
<button reflect-role></button>
#shadow-root delegates="aria-expanded aria-controls aria-label"
<button auto-aria-expanded auto-aria-controls auto-aria-label></button>
</x-button>
</x-input-group>
<x-listbox
Expand Down

0 comments on commit 43a6428

Please sign in to comment.