Skip to content

Commit

Permalink
feat(toolbar): improve color scheme label
Browse files Browse the repository at this point in the history
screen reader was reading "/" as "slash"
  • Loading branch information
davidlj95 committed Sep 22, 2023
1 parent 1c131a8 commit 886bde7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/header/header.component.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="bar">
<div class="buttons hideIfNoScript">
<button (click)="colorSchemeService.toggleDarkLight()" aria-label="Dark/light color scheme toggle"
<button (click)="colorSchemeService.toggleDarkLight()" aria-label="Color scheme toggle (dark or light)"
class="dark-light-scheme-toggle">
<span class="material-symbols-outlined light-only">{{ MaterialSymbol.DarkTheme }}</span>
<span class="material-symbols-outlined dark-only">{{ MaterialSymbol.LightTheme }}</span>
Expand Down

0 comments on commit 886bde7

Please sign in to comment.