From 7877a7f47d44f545e3aeaffc18d4956654407483 Mon Sep 17 00:00:00 2001 From: Kevin Kandlbinder Date: Wed, 19 May 2021 19:32:38 +0200 Subject: [PATCH] Optimize a11y --- public/index.html | 4 ++-- src/App.module.scss | 2 +- src/components/Navigation.js | 6 +++--- src/pages/About.js | 4 ++-- src/pages/Home.js | 4 ++-- src/pages/NotFound.js | 4 ++-- src/pages/Tools.js | 4 ++-- src/tools/cyphers_and_cryptography/rot/RotTool.js | 4 ++-- 8 files changed, 16 insertions(+), 16 deletions(-) diff --git a/public/index.html b/public/index.html index 84e116c..2f7d1da 100644 --- a/public/index.html +++ b/public/index.html @@ -12,8 +12,8 @@ Kevin's Data-Toolbox - - + + diff --git a/src/App.module.scss b/src/App.module.scss index 0594371..8a1bd6f 100644 --- a/src/App.module.scss +++ b/src/App.module.scss @@ -11,7 +11,7 @@ flex-shrink: 0; } - > div { + > div, > main { flex-grow: 1; } } diff --git a/src/components/Navigation.js b/src/components/Navigation.js index 9549320..e986cc8 100644 --- a/src/components/Navigation.js +++ b/src/components/Navigation.js @@ -13,16 +13,16 @@ const Navigation = () => { const [langChooserActive, setLangChooserActive] = useState(false); return ( -
+
-
+ ); } diff --git a/src/pages/About.js b/src/pages/About.js index e6b0466..9292466 100644 --- a/src/pages/About.js +++ b/src/pages/About.js @@ -10,7 +10,7 @@ const AboutPage = () => { return ([ {t("about.title")} | {t("site.title")}, -
+

{t("about.title")}

@@ -22,7 +22,7 @@ const AboutPage = () => {

-
+ ]); } diff --git a/src/pages/Home.js b/src/pages/Home.js index a2c4ce9..d045677 100644 --- a/src/pages/Home.js +++ b/src/pages/Home.js @@ -19,7 +19,7 @@ const HomePage = () => { {t("home.heroSubtitle")} , -
+
{t("tools.toolCategories")} @@ -29,7 +29,7 @@ const HomePage = () => { {/**/}
- + ]); } diff --git a/src/pages/NotFound.js b/src/pages/NotFound.js index 781abb2..8ed1729 100644 --- a/src/pages/NotFound.js +++ b/src/pages/NotFound.js @@ -11,12 +11,12 @@ const NotFoundPage = () => { return ([ 404: {t("system.notfound")}, -
+

404: {t("system.notfound")}

-
+ ]); } diff --git a/src/pages/Tools.js b/src/pages/Tools.js index 308d511..de78caf 100644 --- a/src/pages/Tools.js +++ b/src/pages/Tools.js @@ -23,7 +23,7 @@ const ToolsPage = () => { return ([ {t("tools.toolList")} | {t("site.title")}, -
+
{t("tools.toolList")} @@ -41,7 +41,7 @@ const ToolsPage = () => { {toolList.length === 0 ? {t("tools.noresults")} : null}
- + ]); } diff --git a/src/tools/cyphers_and_cryptography/rot/RotTool.js b/src/tools/cyphers_and_cryptography/rot/RotTool.js index 0a44898..1ea0699 100644 --- a/src/tools/cyphers_and_cryptography/rot/RotTool.js +++ b/src/tools/cyphers_and_cryptography/rot/RotTool.js @@ -52,7 +52,7 @@ const RotTool = () => { }, [input, output, reversed, offset]) return ( -
+
{t("tools.cryptography.rot.title")} | {t("site.title")} @@ -73,7 +73,7 @@ const RotTool = () => {
- + ) }