a11y improvements on primary navigation menu toggle
This commit is contained in:
parent
34aa212143
commit
4b883e2aee
2 changed files with 2 additions and 2 deletions
|
@ -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' ) ); ?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue