Make WordPress Core

Changeset 47746


Ignore:
Timestamp:
05/02/2020 09:44:48 PM (5 years ago)
Author:
johnbillion
Message:

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

Location:
trunk/src/wp-admin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/install.css

    r47070 r47746  
    8282
    8383#logo {
    84     margin: 6px 0 14px 0;
    85     padding: 0 0 7px 0;
    86     border-bottom: none;
    87     text-align: center
    88 }
    89 #logo a {
     84    margin: -130px auto 25px;
     85    padding: 0 0 25px 0;
     86    width: 84px;
     87    height: 84px;
     88    overflow: hidden;
    9089    background-image: url(../images/w-logo-blue.png?ver=20131202);
    9190    background-image: none, url(../images/wordpress-logo.svg?ver=20131107);
     
    9493    background-repeat: no-repeat;
    9594    color: #444; /* same as login.css */
    96     height: 84px;
    9795    font-size: 20px;
    9896    font-weight: 400;
    99     line-height: 1.3;
    100     margin: -130px auto 25px;
    101     padding: 0;
     97    line-height: 1.3em;
    10298    text-decoration: none;
    103     width: 84px;
     99    text-align: center;
    104100    text-indent: -9999px;
    105101    outline: none;
    106     overflow: hidden;
    107     display: block;
    108102}
    109103
  • trunk/src/wp-admin/install.php

    r47230 r47746  
    7575</head>
    7676<body class="wp-core-ui<?php echo $body_classes; ?>">
    77 <p id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>"><?php _e( 'WordPress' ); ?></a></p>
     77<p id="logo"><?php _e( 'WordPress' ); ?></p>
    7878
    7979    <?php
  • trunk/src/wp-admin/setup-config.php

    r47478 r47746  
    116116</head>
    117117<body class="<?php echo implode( ' ', $body_classes ); ?>">
    118 <p id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>"><?php _e( 'WordPress' ); ?></a></p>
     118<p id="logo"><?php _e( 'WordPress' ); ?></p>
    119119    <?php
    120120} // End function setup_config_display_header();
Note: See TracChangeset for help on using the changeset viewer.