Make WordPress Core


Ignore:
Timestamp:
11/13/2014 11:59:23 AM (12 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/twentythirteen/inc/custom-header.php

    r28701 r30327  
    221221                <?php $style = ' style="color:#' . get_header_textcolor() . ';"'; ?>
    222222                <div class="home-link">
    223                         <h1 class="displaying-header-text"><a id="name"<?php echo $style; ?> onclick="return false;" href="#"><?php bloginfo( 'name' ); ?></a></h1>
     223                        <h1 class="displaying-header-text"><a id="name"<?php echo $style; ?> onclick="return false;" href="#" tabindex="-1"><?php bloginfo( 'name' ); ?></a></h1>
    224224                        <h2 id="desc" class="displaying-header-text"<?php echo $style; ?>><?php bloginfo( 'description' ); ?></h2>
    225225                </div>
Note: See TracChangeset for help on using the changeset viewer.