WCAG 2 fixes for contrast and empty header
Testing Done:
Ran WAVE tool browser extension. They have a no-install, web version at https://wave.webaim.org/
As an example, improvement goes from 3+24 errors to 2+0 errors on https://pidgin.im/contact/
The colors are directly-scaled, viable suggestions, but it would be possible to make the green more green by exchanging red/blue for green while maintaining the same level of contrast. As an example #0c8a0c might be a bit more vibrant green. Please let me know if you would like me to suggest other slight color variations.
Bugs closed: NEST-45
Reviewed at https://reviews.imfreedom.org/r/777/
--- a/hugo/layouts/partials/custom-footer.html Mon Jun 21 23:21:10 2021 -0500
+++ b/hugo/layouts/partials/custom-footer.html Sun Jun 27 01:57:32 2021 -0500
@@ -34,17 +34,18 @@
- background-color: #4caf50;
+ background-color: #0c8a0c;
+ text-decoration: underline;
.alert-bar-close-button {
--- a/hugo/themes/learn/layouts/partials/menu.html Mon Jun 21 23:21:10 2021 -0500
+++ b/hugo/themes/learn/layouts/partials/menu.html Sun Jun 27 01:57:32 2021 -0500
@@ -24,7 +24,7 @@
{{ $disableShortcutsTitle := .Site.Params.DisableShortcutsTitle }}
{{ with .Site.Menus.shortcuts }}
- <h3>{{ if not $disableShortcutsTitle }}{{ T "Shortcuts-Title" }}{{ end }}</h3>
+ {{ if not $disableShortcutsTitle }}<h3>{{ T "Shortcuts-Title" }}</h3>{{ else }}<br />{{ end }} {{ range sort . "Weight" }}
--- a/hugo/themes/learn/static/css/hugo-theme.css Mon Jun 21 23:21:10 2021 -0500
+++ b/hugo/themes/learn/static/css/hugo-theme.css Sun Jun 27 01:57:32 2021 -0500
@@ -136,7 +136,7 @@
--- a/hugo/themes/learn/static/css/theme.css Mon Jun 21 23:21:10 2021 -0500
+++ b/hugo/themes/learn/static/css/theme.css Sun Jun 27 01:57:32 2021 -0500
@@ -52,7 +52,7 @@
@@ -218,10 +218,10 @@
- color: #777 !important;
+ color: #767676 !important; - color: #777 !important;
+ color: #767676 !important; #sidebar h5 + ul.topics {
@@ -280,7 +280,7 @@
#sidebar ul li.active > a {
- color: #777 !important;
+ color: #767676 !important;