From 829bdb770832ce59d15a7884ae93ab2e58162f8f Mon Sep 17 00:00:00 2001 From: Roan Horning Date: Thu, 17 Jul 2025 16:58:29 -0400 Subject: [PATCH] Initial accessibility tweaks based on ARC Tookit Ran the ARC Tookit Firefox extension which pointed out accessiblity issues with color contrasts, link display, and skip to main link. Some of the link colors don't look great when they reach the recommended contrast level. --- public_html/css/hpr.css | 10 ++++++---- templates/content-index.tpl.html | 14 +++++++------- templates/page.tpl.html | 21 ++++++++++++--------- 3 files changed, 25 insertions(+), 20 deletions(-) diff --git a/public_html/css/hpr.css b/public_html/css/hpr.css index e6faa5c0..897aac4c 100644 --- a/public_html/css/hpr.css +++ b/public_html/css/hpr.css @@ -26,10 +26,10 @@ https://creativecommons.org/publicdomain/ --banner-text-primary: #000000; --background-secondary: #4d4d4d; --text-secondary: #dfdfdf; - --link-primary: #247ba0; + --link-primary: #004852 /*#154a60*/; --link-primary-hover: #f8961e; - --link-secondary: #7fc5e2; - --link-secondary-hover: #f9c74f; + --link-secondary: #a8f8ff; + --link-secondary-hover: #f9e9c2; --font-family-hpr: Verdana, Arial, Helvetica, sans-serif; /* 1em/1.5 OpenDyslexic, */; /* screen breakpoints */ @@ -117,7 +117,9 @@ body > footer hr:first-child { body > footer a { color: var(--link-secondary); } - +body > footer a:hover { + color: var(--link-secondary-hover); +} div, h1, h2, diff --git a/templates/content-index.tpl.html b/templates/content-index.tpl.html index a85e2d6b..599a5371 100644 --- a/templates/content-index.tpl.html +++ b/templates/content-index.tpl.html @@ -46,19 +46,19 @@
Podcast
- Microphone icon + Record - Calendar icon + Schedule - RSS icon + Subscribe - Speaker icon + Listen
@@ -67,15 +67,15 @@
Project
- Person icon + Host - Stack of Books icon + Series - Question Mark icon + About
diff --git a/templates/page.tpl.html b/templates/page.tpl.html index 428affb0..aed81ece 100644 --- a/templates/page.tpl.html +++ b/templates/page.tpl.html @@ -12,7 +12,6 @@ -