From 2ba459b4131a11a68a5fd818a278c474c1888cde Mon Sep 17 00:00:00 2001 From: satnaing Date: Sat, 26 Nov 2022 23:45:17 +0630 Subject: [PATCH] refactor(a11y): update theme switch button for better accessibility Update title, add aria-label and aria-live in theme switch button. --- src/components/Header.astro | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/src/components/Header.astro b/src/components/Header.astro index 67a944918..1d9ceff26 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -76,7 +76,9 @@ const { activeNav } = Astro.props;