a11y improvements on primary navigation menu toggle

This commit is contained in:
Philip Arthur Moore 2014-04-13 04:02:17 -05:00
parent 34aa212143
commit 4b883e2aee
2 changed files with 2 additions and 2 deletions

View file

@ -28,7 +28,7 @@
</div>
<nav id="site-navigation" class="main-navigation" role="navigation">
<h1 class="menu-toggle"><?php _e( 'Menu', '_s' ); ?></h1>
<button class="menu-toggle"><?php _e( 'Primary Menu', '_s' ); ?></button>
<a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', '_s' ); ?></a>
<?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>