Twenty Fourteen: a11y fix for keyboard navigation and Skip Content link, see #25054.

Built from https://develop.svn.wordpress.org/trunk@25742


git-svn-id: http://core.svn.wordpress.org/trunk@25655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Lance Willett 2013-10-09 18:52:10 +00:00
parent 75eb364ced
commit ffd47afa4b
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@
<nav role="navigation" class="site-navigation primary-navigation">
<h1 class="screen-reader-text"><?php _e( 'Primary Menu', 'twentyfourteen' ); ?></h1>
<div class="screen-reader-text skip-link"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentyfourteen' ); ?>"><?php _e( 'Skip to content', 'twentyfourteen' ); ?></a></div>
<a class="screen-reader-text skip-link" href="#content"><?php _e( 'Skip to content', 'twentyfourteen' ); ?></a></a>
<?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>
</nav>
</div>