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
Built from https://develop.svn.wordpress.org/trunk@47746


git-svn-id: http://core.svn.wordpress.org/trunk@47522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
John Blackbourn 2020-05-02 21:46:08 +00:00
parent 5641afd43b
commit cc4e27142e
7 changed files with 19 additions and 31 deletions

View File

@ -82,30 +82,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 {

File diff suppressed because one or more lines are too long

View File

@ -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 {

File diff suppressed because one or more lines are too long

View File

@ -74,7 +74,7 @@ function display_header( $body_classes = '' ) {
<?php wp_admin_css( 'install', true ); ?>
</head>
<body class="wp-core-ui<?php echo $body_classes; ?>">
<p id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>"><?php _e( 'WordPress' ); ?></a></p>
<p id="logo"><?php _e( 'WordPress' ); ?></p>
<?php
} // End display_header().

View File

@ -115,7 +115,7 @@ function setup_config_display_header( $body_classes = array() ) {
<?php wp_admin_css( 'install', true ); ?>
</head>
<body class="<?php echo implode( ' ', $body_classes ); ?>">
<p id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>"><?php _e( 'WordPress' ); ?></a></p>
<p id="logo"><?php _e( 'WordPress' ); ?></p>
<?php
} // End function setup_config_display_header();

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.5-alpha-47745';
$wp_version = '5.5-alpha-47746';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.