Remove the WordPress logo from the focusable elements on the install/update screens. Fixes #28674. Props stompweb

Built from https://develop.svn.wordpress.org/trunk@28896


git-svn-id: http://core.svn.wordpress.org/trunk@28695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
John Blackbourn 2014-06-29 14:10:15 +00:00
parent 60ff3a61f9
commit 548c41455a
5 changed files with 5 additions and 5 deletions

View File

@ -90,7 +90,7 @@ function display_header( $body_classes = '' ) {
?> ?>
</head> </head>
<body class="wp-core-ui<?php echo $body_classes ?>"> <body class="wp-core-ui<?php echo $body_classes ?>">
<h1 id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>"><?php _e( 'WordPress' ); ?></a></h1> <h1 id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>" tabindex="-1"><?php _e( 'WordPress' ); ?></a></h1>
<?php <?php
} // end display_header() } // end display_header()

View File

@ -22,7 +22,7 @@ header( 'Content-Type: text/html; charset=utf-8' );
?> ?>
</head> </head>
<body class="wp-core-ui"> <body class="wp-core-ui">
<h1 id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>"><?php _e( 'WordPress' ); ?></a></h1> <h1 id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>" tabindex="-1"><?php _e( 'WordPress' ); ?></a></h1>
<?php <?php

View File

@ -103,7 +103,7 @@ function setup_config_display_header() {
</head> </head>
<body class="wp-core-ui<?php if ( is_rtl() ) echo ' rtl'; ?>"> <body class="wp-core-ui<?php if ( is_rtl() ) echo ' rtl'; ?>">
<h1 id="logo"><a href="<?php esc_attr_e( 'https://wordpress.org/' ); ?>"><?php _e( 'WordPress' ); ?></a></h1> <h1 id="logo"><a href="<?php esc_attr_e( 'https://wordpress.org/' ); ?>" tabindex="-1"><?php _e( 'WordPress' ); ?></a></h1>
<?php <?php
} // end function setup_config_display_header(); } // end function setup_config_display_header();

View File

@ -59,7 +59,7 @@ else
?> ?>
</head> </head>
<body class="wp-core-ui"> <body class="wp-core-ui">
<h1 id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>"><?php _e( 'WordPress' ); ?></a></h1> <h1 id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>" tabindex="-1"><?php _e( 'WordPress' ); ?></a></h1>
<?php if ( get_option( 'db_version' ) == $wp_db_version || !is_blog_installed() ) : ?> <?php if ( get_option( 'db_version' ) == $wp_db_version || !is_blog_installed() ) : ?>

View File

@ -146,7 +146,7 @@ function login_header( $title = 'Log In', $message = '', $wp_error = '' ) {
</head> </head>
<body class="login <?php echo esc_attr( implode( ' ', $classes ) ); ?>"> <body class="login <?php echo esc_attr( implode( ' ', $classes ) ); ?>">
<div id="login"> <div id="login">
<h1><a href="<?php echo esc_url( $login_header_url ); ?>" title="<?php echo esc_attr( $login_header_title ); ?>"><?php bloginfo( 'name' ); ?></a></h1> <h1><a href="<?php echo esc_url( $login_header_url ); ?>" title="<?php echo esc_attr( $login_header_title ); ?>" tabindex="-1"><?php bloginfo( 'name' ); ?></a></h1>
<?php <?php
unset( $login_header_url, $login_header_title ); unset( $login_header_url, $login_header_title );