Skip to content

Commit

Permalink
updated switch example labels
Browse files Browse the repository at this point in the history
  • Loading branch information
jongund committed Dec 10, 2024
1 parent e759904 commit 4420165
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/practices/high-contrast/high-contrast-practice.html
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ <h3 id="prefers-contrast-example">Increase Contrast Example</h3>
<div class="example">

<button type="button" role="switch" aria-checked="false" class="increase-contrast">
<span class="label">Increase Contrast</span>
<span class="label">Living Room Lights</span>
<svg xmlns="http://www.w3.org/2000/svg" height="20" width="36">
<rect class="container" x="1" y="1" width="34" height="18" rx="9" />
<circle class="off" cx="11" cy="10" r="8" />
Expand Down Expand Up @@ -397,7 +397,7 @@ <h3 id="color-scheme-switch">Color Scheme Example: Switch</h3>
<div class="example">

<button type="button" role="switch" aria-checked="false" class="color-scheme">
<span class="label">Dark Color Scheme</span>
<span class="label">Dining Room Lights</span>
<svg xmlns="http://www.w3.org/2000/svg" height="20" width="36">
<rect class="container" x="1" y="1" width="34" height="18" rx="9" />
<circle class="off" cx="11" cy="10" r="8" />
Expand Down

0 comments on commit 4420165

Please sign in to comment.