From 813a2eba333c0d11dba896af9d2c8f5259ff7c3b Mon Sep 17 00:00:00 2001 From: notabene <notabene@users.noreply.github.com> Date: Mon, 9 Dec 2019 22:21:18 +0100 Subject: [PATCH 1/2] Accessibility: do not convey meaning through colour alone Some people aren't sensitive to colour, so in order to differentiate links from surrounding text, we must rely on colour **plus** something else. Reinstate underlines, please pretty please. /me doing my Bambi eyes --- themes/beautifulhugo/static/css/light.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/themes/beautifulhugo/static/css/light.css b/themes/beautifulhugo/static/css/light.css index 0912d78..e970bb5 100644 --- a/themes/beautifulhugo/static/css/light.css +++ b/themes/beautifulhugo/static/css/light.css @@ -49,9 +49,11 @@ ul { padding-left: 2em; } -a, a:visited { +a:links, a:visited { color: #0085a1; - text-decoration: none; + /* text-decoration: none; */ + text-decoration: underline; + text-decoration-skip-ink: auto; } a:hover { From 8cfab18e04ff639d25321ae12df3f49bb35d8535 Mon Sep 17 00:00:00 2001 From: notabene <notabene@users.noreply.github.com> Date: Tue, 10 Dec 2019 08:14:43 +0100 Subject: [PATCH 2/2] Deleting now-useless line --- themes/beautifulhugo/static/css/light.css | 1 - 1 file changed, 1 deletion(-) diff --git a/themes/beautifulhugo/static/css/light.css b/themes/beautifulhugo/static/css/light.css index e970bb5..82b9edf 100644 --- a/themes/beautifulhugo/static/css/light.css +++ b/themes/beautifulhugo/static/css/light.css @@ -51,7 +51,6 @@ ul { a:links, a:visited { color: #0085a1; - /* text-decoration: none; */ text-decoration: underline; text-decoration-skip-ink: auto; }