From 70546c38af729afc183300e6bcf36660c9fea891 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oleksis=20Fraga=20Men=C3=A9ndez?= Date: Sat, 16 Sep 2023 10:44:15 -0400 Subject: [PATCH 01/12] Testing Web Accessibility tools Fix: color-contrast https://wave.webaim.org/ https://www.accessibilitychecker.org/ https://microsoftedge.microsoft.com/addons/detail/accessibility-insights-fo/ghbhpcookfemncgoinjblecnilppimih --- assets/css/bpd.css | 42 +++++++----------------------------------- 1 file changed, 7 insertions(+), 35 deletions(-) diff --git a/assets/css/bpd.css b/assets/css/bpd.css index af96ec4..9c3befd 100644 --- a/assets/css/bpd.css +++ b/assets/css/bpd.css @@ -99,7 +99,7 @@ input::-moz-focus-inner { } .menu-item a { - color: #9ba6ad; + color: #70777d; display: inline-block; font-size: 0.88889rem; font-weight: 700; @@ -107,14 +107,16 @@ input::-moz-focus-inner { text-decoration: none; } -.menu-item a:hover { - color: #2d72d9; -} - .menu-toggle { display: none; } +.menu-item a:hover, +.menu-item.nav-current a:link, +.menu-item.nav-current a:visited { + color: #2d72d9; +} + .icon-menu { background: currentColor; color: inherit; @@ -217,36 +219,6 @@ input::-moz-focus-inner { margin-left: auto; } -.menu { - list-style: none; - margin: 0; - padding: 0; -} - -.menu-item { - display: inline-block; - margin: 0 0 0 15px; -} - -.menu-item a { - color: #9ba6ad; - display: inline-block; - font-size: 0.88889rem; - font-weight: 700; - padding: 5px 0; - text-decoration: none; -} - -.menu-item a:hover, -.menu-item.nav-current a:link, -.menu-item.nav-current a:visited { - color: #2d72d9; -} - -.menu-toggle { - display: none; -} - @media only screen and (max-width: 800px) { #menu-open { display: block; From faa5b900663a27295322fedb3269d8d322e93bc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oleksis=20Fraga=20Men=C3=A9ndez?= Date: Sat, 16 Sep 2023 10:48:57 -0400 Subject: [PATCH 02/12] Setting custom controls have ARIA roles --- _includes/footer.html | 2 +- _includes/header.html | 6 +++--- _layouts/default.html | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/_includes/footer.html b/_includes/footer.html index 6e43b9f..06b7245 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -1,3 +1,3 @@ -