Skip to content

Commit

Permalink
fix(checkbox): do not announce icon for screen readers
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 549679188
  • Loading branch information
asyncLiz authored and copybara-github committed Jul 20, 2023
1 parent 65ab45a commit 921f185
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion checkbox/lib/checkbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export class Checkbox extends LitElement {
<div class="background"></div>
<md-focus-ring part="focus-ring" for="input"></md-focus-ring>
<md-ripple for="input" ?disabled=${this.disabled}></md-ripple>
<svg class="icon" viewBox="0 0 18 18">
<svg class="icon" viewBox="0 0 18 18" aria-hidden="true">
<rect class="mark short" />
<rect class="mark long" />
</svg>
Expand Down

0 comments on commit 921f185

Please sign in to comment.