From 75c4fbf9064b8bd1d02fd4fe5454563444b2780e Mon Sep 17 00:00:00 2001 From: Khokan Sardar Date: Thu, 11 Jun 2026 19:51:13 +0530 Subject: [PATCH] Login and Registration: Underline links on the login screen. The navigation and "Back to" links on wp-login.php were rendered without an underline because the `.login #nav a, .login #backtoblog a` rule set `text-decoration: none`. With only a muted gray color to distinguish them, accessibility scanning tools flagged the links as not identifiable. Removing the `text-decoration: none` declaration restores the browser default underline, making the links clearly identifiable. The default underline is sufficient, so no `!important` override is required. Following discussion in the accessibility team bug scrub, this was agreed to meaningfully improve the accessibility and usability of the login screen. Props dcavins, audrasjb, khushdoms, joedolson. See #65075. --- src/wp-admin/css/login.css | 1 - 1 file changed, 1 deletion(-) diff --git a/src/wp-admin/css/login.css b/src/wp-admin/css/login.css index fec7b6ff78387..ae13230c5a254 100644 --- a/src/wp-admin/css/login.css +++ b/src/wp-admin/css/login.css @@ -326,7 +326,6 @@ p { .login #nav a, .login #backtoblog a { - text-decoration: none; color: #50575e; }