Skip to content

Commit

Permalink
fix toggle label
Browse files Browse the repository at this point in the history
  • Loading branch information
basher committed Aug 6, 2024
1 parent f5633b5 commit 36ae2f0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export const WebUIToggleHtml = () => `
type="button"
role="switch"
aria-checked="false"
aria-label="toggle / switch"
aria-label="toggle label"
>
<span class="toggle__on" aria-hidden="true">on</span>
<span class="toggle__off" aria-hidden="true">off</span>
Expand All @@ -21,7 +21,7 @@ export const WebUIToggleWithLabelHtml = () => `
role="switch"
aria-checked="false"
>
<span class="toggle__label">toggle / switch label</span>
<span class="toggle__label">toggle label</span>
<span class="toggle__indicator">
<span class="toggle__on" aria-hidden="true">on</span>
<span class="toggle__off" aria-hidden="true">off</span>
Expand Down

0 comments on commit 36ae2f0

Please sign in to comment.