Skip to content

Commit

Permalink
Button Example: remove aria-hidden from child svg
Browse files Browse the repository at this point in the history
For issue #814, removes aria-hidden from the svg element nested inside the toggle button.
  • Loading branch information
mcking65 committed Jul 31, 2018
1 parent b388731 commit 00282ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/button/button.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ <h2 id="ex_label">Example</h2>
<p>This <q>Mute</q> toggle button uses an <code>a</code> element.</p>
<a tabindex="0" role="button" id="toggle" aria-pressed="false">
Mute
<svg aria-hidden="true">
<svg>
<use xlink:href="images/mute.svg#icon-sound"></use>
</svg>
</a>
Expand Down

0 comments on commit 00282ea

Please sign in to comment.