This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-site.git
The following commit(s) were added to refs/heads/master by this push:
new d3fb4211 Underline links in the home page's running text
d3fb4211 is described below
commit d3fb42117077287468576763cbb9be6cd7c0393f
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Mon Nov 2 09:04:37 2026 +0000
Underline links in the home page's running text
The grey text around them is too close to the link blue (1.91:1 and
1.47:1), so colour alone does not tell readers which words are links.
---
content/resources/css/site.css | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/content/resources/css/site.css b/content/resources/css/site.css
index fc863303..910fc128 100644
--- a/content/resources/css/site.css
+++ b/content/resources/css/site.css
@@ -194,6 +194,14 @@ h2.mh-group {
margin: 0;
}
+/* Links inside running text need more than colour to stand out from the grey
text around them (WCAG 1.4.1). */
+.mh-callout a,
+.mh-card p:not(.mh-card-title) a,
+.mh-note a,
+.mh-asf p a {
+ text-decoration: underline;
+}
+
@media (max-width: 767px) {
.mh-lead {
font-size: 1.15em;