From 1510f69d69bb69e72298c1356aa44cb5a4afda08 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Sat, 2 May 2020 21:44:48 +0000 Subject: [PATCH] Upgrade/Install: Unlink the logo on the installation and config setup screens. This allows for a natural tab order during installation, without negatively impacting users who use the keyboard for navigation, those who use a screen reader, or those who use neither. Props lwill, afercia, audrasjb. Fixes #47759 git-svn-id: https://develop.svn.wordpress.org/trunk@47746 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/install.css | 20 +++++++------------- src/wp-admin/install.php | 2 +- src/wp-admin/setup-config.php | 2 +- 3 files changed, 9 insertions(+), 15 deletions(-) diff --git a/src/wp-admin/css/install.css b/src/wp-admin/css/install.css index a9a2cdf85f..df9eaca5a4 100644 --- a/src/wp-admin/css/install.css +++ b/src/wp-admin/css/install.css @@ -81,30 +81,24 @@ label { } #logo { - margin: 6px 0 14px 0; - padding: 0 0 7px 0; - border-bottom: none; - text-align: center -} -#logo a { + margin: -130px auto 25px; + padding: 0 0 25px 0; + width: 84px; + height: 84px; + overflow: hidden; background-image: url(../images/w-logo-blue.png?ver=20131202); background-image: none, url(../images/wordpress-logo.svg?ver=20131107); background-size: 84px; background-position: center top; background-repeat: no-repeat; color: #444; /* same as login.css */ - height: 84px; font-size: 20px; font-weight: 400; - line-height: 1.3; - margin: -130px auto 25px; - padding: 0; + line-height: 1.3em; text-decoration: none; - width: 84px; + text-align: center; text-indent: -9999px; outline: none; - overflow: hidden; - display: block; } .step { diff --git a/src/wp-admin/install.php b/src/wp-admin/install.php index 2168c03e18..fa0c31724a 100644 --- a/src/wp-admin/install.php +++ b/src/wp-admin/install.php @@ -74,7 +74,7 @@ function display_header( $body_classes = '' ) { - + - +