Make WordPress Core


Ignore:
Timestamp:
11/13/2014 11:59:23 AM (10 years ago)
Author:
ocean90
Message:

Improve keyboard accessibility on Custom Header and Custom Background screen.

props florianziegler.
fixes #29289.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwelve/inc/custom-header.php

    r27599 r30327  
    156156            $style = ' style="color:#' . get_header_textcolor() . ';"';
    157157        ?>
    158         <h1 class="displaying-header-text"><a id="name"<?php echo $style; ?> onclick="return false;" href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php bloginfo( 'name' ); ?></a></h1>
     158        <h1 class="displaying-header-text"><a id="name"<?php echo $style; ?> onclick="return false;" href="<?php echo esc_url( home_url( '/' ) ); ?>"  tabindex="-1"><?php bloginfo( 'name' ); ?></a></h1>
    159159        <h2 id="desc" class="displaying-header-text"<?php echo $style; ?>><?php bloginfo( 'description' ); ?></h2>
    160160        <?php $header_image = get_header_image();
Note: See TracChangeset for help on using the changeset viewer.