From 2ecd7718df269d43a0de9e7947e7b361fdfa8a8b Mon Sep 17 00:00:00 2001 From: John Livingston Date: Mon, 7 Aug 2023 17:34:44 +0200 Subject: [PATCH] Documentation accessibility: underline links. --- support/documentation/static/css/livechatdoc.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/support/documentation/static/css/livechatdoc.css b/support/documentation/static/css/livechatdoc.css index 83d2c768..75262b53 100644 --- a/support/documentation/static/css/livechatdoc.css +++ b/support/documentation/static/css/livechatdoc.css @@ -31,3 +31,14 @@ div.notices p { /* more contrast than the default theme. */ color: #000; } + +/* + By default, links are not underlined. This is not recommaned for accessibility. + So we will underline links, and let the a.highlight animation double underline on hovering. + Si hugo-theme.css, a.highlight, for more information on about it is done. + */ +#body a.highlight, +#body a.highlight:hover, +#body a.highlight:focus { + text-decoration: underline; +}