Add missing a11y attributes to the appearance switch. (#34)

This commit is contained in:
Alessandro Jean 2023-09-08 20:33:16 -03:00 committed by GitHub
parent 01f1803c84
commit d6c090ab3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,6 +21,8 @@ onMounted(() => {
<template>
<button
type="button"
role="switch"
title="Toggle dark mode"
class="CustomSwitchAppearance"
:aria-checked="isDark"