mirror of
https://github.com/tachiyomiorg/website.git
synced 2024-10-31 23:15:05 +01:00
Add missing a11y attributes to the appearance switch. (#34)
This commit is contained in:
parent
01f1803c84
commit
d6c090ab3d
@ -21,6 +21,8 @@ onMounted(() => {
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<button
|
<button
|
||||||
|
type="button"
|
||||||
|
role="switch"
|
||||||
title="Toggle dark mode"
|
title="Toggle dark mode"
|
||||||
class="CustomSwitchAppearance"
|
class="CustomSwitchAppearance"
|
||||||
:aria-checked="isDark"
|
:aria-checked="isDark"
|
||||||
|
Loading…
Reference in New Issue
Block a user