From 6240cc810eb6ee2db0cadb7ea4cccd933caac600 Mon Sep 17 00:00:00 2001 From: Khokan Sardar Date: Tue, 1 Sep 2026 21:16:35 +0530 Subject: [PATCH] Administration: Underline the in-text links in the Activity widget. In the Recent Comments section of the Activity dashboard widget, the comment author and post links sit inside a sentence and were distinguished from the surrounding text by color alone, which fails WCAG SC 1.4.1 Use of Color. `#dashboard-widgets li a` removes the underline from every link in a dashboard widget list item. Restore it for the links inside `.comment-meta`, leaving the row action and footer links, which are distinguishable by context, unchanged. Fixes #66017. --- src/wp-admin/css/dashboard.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/wp-admin/css/dashboard.css b/src/wp-admin/css/dashboard.css index 7b0d0fe01c493..70010cfc4cc9a 100644 --- a/src/wp-admin/css/dashboard.css +++ b/src/wp-admin/css/dashboard.css @@ -1123,6 +1123,10 @@ body #dashboard-widgets .postbox form .submit { color: #646970; } +#latest-comments #the-comment-list .comment-meta a { + text-decoration: underline; +} + #latest-comments #the-comment-list .comment-meta cite { font-style: normal; font-weight: 400;