Skip to content

Commit

Permalink
chore(chips): move trailing icon aria-hidden
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 590311910
  • Loading branch information
asyncLiz authored and copybara-github committed Dec 12, 2023
1 parent 8e75343 commit 79f7dd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chips/internal/trailing-icons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ export function renderRemoveButton({
@focus=${focusListener}>
<md-focus-ring part="trailing-focus-ring"></md-focus-ring>
<md-ripple ?disabled=${disabled}></md-ripple>
<span class="trailing icon">
<span class="trailing icon" aria-hidden="true">
<slot name="remove-trailing-icon">
<svg viewBox="0 96 960 960" aria-hidden="true">
<svg viewBox="0 96 960 960">
<path
d="m249 849-42-42 231-231-231-231 42-42 231 231 231-231 42 42-231 231 231 231-42 42-231-231-231 231Z" />
</svg>
Expand Down

0 comments on commit 79f7dd2

Please sign in to comment.