Make WordPress Core

Changeset 44545


Ignore:
Timestamp:
01/10/2019 05:20:59 PM (6 years ago)
Author:
afercia
Message:

Accessibility: Remove negative tabindex from the login, install, and setup pages header.

Props bamadesigner, rishishah, jainnidhi.
Fixes #42632.

Location:
trunk/src
Files:
6 edited

Legend:

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

    r41648 r44545  
    108108}
    109109
    110 #logo a:focus {
    111     box-shadow: none;
    112 }
    113 
    114110.step {
    115111    margin: 20px 0 15px;
  • trunk/src/wp-admin/install.php

    r44451 r44545  
    7878</head>
    7979<body class="wp-core-ui<?php echo $body_classes; ?>">
    80 <p id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>" tabindex="-1"><?php _e( 'WordPress' ); ?></a></p>
     80<p id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>"><?php _e( 'WordPress' ); ?></a></p>
    8181
    8282    <?php
  • trunk/src/wp-admin/maint/repair.php

    r43571 r44545  
    2424</head>
    2525<body class="wp-core-ui">
    26 <p id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>" tabindex="-1"><?php _e( 'WordPress' ); ?></a></p>
     26<p id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>"><?php _e( 'WordPress' ); ?></a></p>
    2727
    2828<?php
  • trunk/src/wp-admin/setup-config.php

    r43650 r44545  
    114114</head>
    115115<body class="<?php echo implode( ' ', $body_classes ); ?>">
    116 <p id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>" tabindex="-1"><?php _e( 'WordPress' ); ?></a></p>
     116<p id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>"><?php _e( 'WordPress' ); ?></a></p>
    117117    <?php
    118118} // end function setup_config_display_header();
     
    202202
    203203        setup_config_display_header();
     204
     205        $autofocus = wp_is_mobile() ? '' : ' autofocus';
    204206        ?>
    205207<h1 class="screen-reader-text"><?php _e( 'Set up your database connection' ); ?></h1>
     
    209211        <tr>
    210212            <th scope="row"><label for="dbname"><?php _e( 'Database Name' ); ?></label></th>
    211             <td><input name="dbname" id="dbname" type="text" size="25" value="wordpress" /></td>
     213            <td><input name="dbname" id="dbname" type="text" size="25" value="wordpress"<?php echo $autofocus; ?>/></td>
    212214            <td><?php _e( 'The name of the database you want to use with WordPress.' ); ?></td>
    213215        </tr>
  • trunk/src/wp-admin/upgrade.php

    r44451 r44545  
    7171</head>
    7272<body class="wp-core-ui">
    73 <p id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>" tabindex="-1"><?php _e( 'WordPress' ); ?></a></p>
     73<p id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>"><?php _e( 'WordPress' ); ?></a></p>
    7474
    7575<?php if ( get_option( 'db_version' ) == $wp_db_version || ! is_blog_installed() ) : ?>
  • trunk/src/wp-login.php

    r44489 r44545  
    188188    ?>
    189189    <div id="login">
    190         <h1><a href="<?php echo esc_url( $login_header_url ); ?>" title="<?php echo esc_attr( $login_header_title ); ?>" tabindex="-1"><?php echo $login_header_text; ?></a></h1>
     190        <h1><a href="<?php echo esc_url( $login_header_url ); ?>" title="<?php echo esc_attr( $login_header_title ); ?>"><?php echo $login_header_text; ?></a></h1>
    191191    <?php
    192192
Note: See TracChangeset for help on using the changeset viewer.