mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-29 23:57:41 +02:00
Twenty Fourteen: accessibility fix for allowing the search button in the toolbar to be focused with the keyboard. Props joedolson and sabreuse, see #25054.
Built from https://develop.svn.wordpress.org/trunk@25613 git-svn-id: http://core.svn.wordpress.org/trunk@25530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9891ee705d
commit
13c80a9951
@ -39,7 +39,9 @@
|
||||
<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
|
||||
|
||||
<div class="header-extra">
|
||||
<div class="search-toggle"><?php _e( 'Search', 'twentyfourteen' ); ?></div>
|
||||
<div class="search-toggle">
|
||||
<a href="#search-container"><?php _e( 'Search', 'twentyfourteen' ); ?></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<nav role="navigation" class="site-navigation primary-navigation">
|
||||
@ -51,7 +53,7 @@
|
||||
|
||||
<div id="mobile-navigations" class="hide"></div>
|
||||
|
||||
<div class="search-box-wrapper hide">
|
||||
<div id="search-container" class="search-box-wrapper hide">
|
||||
<div class="search-box clear">
|
||||
<?php get_search_form(); ?>
|
||||
</div>
|
||||
|
@ -609,6 +609,9 @@ body {
|
||||
text-align: center;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.search-toggle a {
|
||||
color: #fff;
|
||||
}
|
||||
.search-toggle:hover,
|
||||
.search-toggle.active {
|
||||
background-color: #35921f;
|
||||
|
Loading…
Reference in New Issue
Block a user