Twenty Fourteen: a11y fix for keyboard navigation and Skip Content link, see #25054.
git-svn-id: https://develop.svn.wordpress.org/trunk@25742 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
99df61b666
commit
bf799fd276
@ -46,7 +46,7 @@
|
|||||||
|
|
||||||
<nav role="navigation" class="site-navigation primary-navigation">
|
<nav role="navigation" class="site-navigation primary-navigation">
|
||||||
<h1 class="screen-reader-text"><?php _e( 'Primary Menu', 'twentyfourteen' ); ?></h1>
|
<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' ) ); ?>
|
<?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user