Skip to content

Commit

Permalink
Update screenreader prompts
Browse files Browse the repository at this point in the history
  • Loading branch information
VeckoTheGecko committed Jul 25, 2023
1 parent ae9a7d9 commit cff882f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/components/DarkModeControl.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@

<button type="button" role="switch" aria-checked={darkMode} class={cssClass} on:click={setColorMode}>
{#if darkMode}
<MoonStarsFill aria-hidden="true"/><span class="sr-only">Light</span>
<MoonStarsFill aria-hidden="true"/><span class="sr-only">Dark mode</span>
{:else}
<SunFill aria-hidden="true"/><span class="sr-only">Dark</span>
<SunFill aria-hidden="true"/><span class="sr-only">Light mode</span>
{/if}
<span class="sr-only">&nbsp;Colour Scheme Mode</span>
</button>

0 comments on commit cff882f

Please sign in to comment.