Merge pull request #56 from jducrot/theme-buttons-aria-labels
Remove aria-labels on theme buttons
This commit is contained in:
commit
80be598c2e
1 changed files with 2 additions and 2 deletions
|
|
@ -60,8 +60,8 @@ function setPreference() {
|
||||||
|
|
||||||
function reflectPreference() {
|
function reflectPreference() {
|
||||||
document.firstElementChild.setAttribute('data-theme', theme.value);
|
document.firstElementChild.setAttribute('data-theme', theme.value);
|
||||||
document.querySelector('#light-theme-toggle')?.setAttribute('aria-label', lightLabel);
|
// document.querySelector('#light-theme-toggle')?.setAttribute('aria-label', lightLabel);
|
||||||
document.querySelector('#dark-theme-toggle')?.setAttribute('aria-label', darkLabel);
|
// document.querySelector('#dark-theme-toggle')?.setAttribute('aria-label', darkLabel);
|
||||||
}
|
}
|
||||||
|
|
||||||
function updateMetaThemeColor() {
|
function updateMetaThemeColor() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue