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:
parent
60ff3a61f9
commit
548c41455a
|
@ -90,7 +90,7 @@ function display_header( $body_classes = '' ) {
|
|||
?>
|
||||
</head>
|
||||
<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
|
||||
} // end display_header()
|
||||
|
|
|
@ -22,7 +22,7 @@ header( 'Content-Type: text/html; charset=utf-8' );
|
|||
?>
|
||||
</head>
|
||||
<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
|
||||
|
||||
|
|
|
@ -103,7 +103,7 @@ function setup_config_display_header() {
|
|||
|
||||
</head>
|
||||
<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
|
||||
} // end function setup_config_display_header();
|
||||
|
||||
|
|
|
@ -59,7 +59,7 @@ else
|
|||
?>
|
||||
</head>
|
||||
<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() ) : ?>
|
||||
|
||||
|
|
|
@ -146,7 +146,7 @@ function login_header( $title = 'Log In', $message = '', $wp_error = '' ) {
|
|||
</head>
|
||||
<body class="login <?php echo esc_attr( implode( ' ', $classes ) ); ?>">
|
||||
<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
|
||||
|
||||
unset( $login_header_url, $login_header_title );
|
||||
|
|
Loading…
Reference in New Issue