forked from mirror/_s
Move skip-to-content link to top to make it first focusable element for keyboard navigation.
This commit is contained in:
parent
9a6b539bba
commit
4df5790db7
|
@ -20,6 +20,7 @@
|
||||||
|
|
||||||
<body <?php body_class(); ?>>
|
<body <?php body_class(); ?>>
|
||||||
<div id="page" class="hfeed site">
|
<div id="page" class="hfeed site">
|
||||||
|
<a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', '_s' ); ?></a>
|
||||||
|
|
||||||
<header id="masthead" class="site-header" role="banner">
|
<header id="masthead" class="site-header" role="banner">
|
||||||
<div class="site-branding">
|
<div class="site-branding">
|
||||||
|
@ -29,8 +30,6 @@
|
||||||
|
|
||||||
<nav id="site-navigation" class="main-navigation" role="navigation">
|
<nav id="site-navigation" class="main-navigation" role="navigation">
|
||||||
<h1 class="menu-toggle"><?php _e( 'Menu', '_s' ); ?></h1>
|
<h1 class="menu-toggle"><?php _e( 'Menu', '_s' ); ?></h1>
|
||||||
<a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', '_s' ); ?></a>
|
|
||||||
|
|
||||||
<?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>
|
<?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>
|
||||||
</nav><!-- #site-navigation -->
|
</nav><!-- #site-navigation -->
|
||||||
</header><!-- #masthead -->
|
</header><!-- #masthead -->
|
||||||
|
|
Reference in New Issue