Make WordPress Core


Ignore:
Timestamp:
09/24/2013 11:03:14 PM (13 years ago)
Author:
lancewillett
Message:

Twenty Fourteen: accessibility fix for allowing the search button in the toolbar to be focused with the keyboard. Props joedolson and sabreuse, see #25054.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/header.php

    r25604 r25613  
    4040
    4141                        <div class="header-extra">
    42                                 <div class="search-toggle"><?php _e( 'Search', 'twentyfourteen' ); ?></div>
     42                                <div class="search-toggle">
     43                                        <a href="#search-container"><?php _e( 'Search', 'twentyfourteen' ); ?></a>
     44                                </div>
    4345                        </div>
    4446
    … …  
    5254                <div id="mobile-navigations" class="hide"></div>
    5355
    54                 <div class="search-box-wrapper hide">
     56                <div id="search-container" class="search-box-wrapper hide">
    5557                        <div class="search-box clear">
    5658                                <?php get_search_form(); ?>
Note: See TracChangeset for help on using the changeset viewer.