From 500068b41b054abc52f28c838e88386406825731 Mon Sep 17 00:00:00 2001 From: Matchu Date: Wed, 12 Aug 2020 10:59:27 -0700 Subject: [PATCH] improve a11y for dark/light mode button add an aria-label, and move it to a better tab position at the end of the page, to match the visual placement --- src/app/HomePage.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/app/HomePage.js b/src/app/HomePage.js index cb4eb7c..77f654e 100644 --- a/src/app/HomePage.js +++ b/src/app/HomePage.js @@ -31,7 +31,6 @@ function HomePage() { return ( - + ); } @@ -246,6 +246,9 @@ function ColorModeToggleButton() { return ( : } onClick={toggleColorMode} variant="ghost"