Skip to content

Commit

Permalink
menu aria-controls points at id, not class
Browse files Browse the repository at this point in the history
* fixes #104
  • Loading branch information
louking committed Jan 1, 2015
1 parent 205faa5 commit da158a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions header.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@

<div class="navigation-area">
<nav id="site-navigation" class="main-navigation" role="navigation">
<button class="menu-toggle" aria-controls="menu" aria-expanded="false"><?php _e( 'Menu', 'steeps' ); ?></button>
<?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>
<button class="menu-toggle" aria-controls="primary-menu" aria-expanded="false"><?php _e( 'Menu', 'steeps' ); ?></button>
<?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_id' => 'primary-menu' ) ); ?>
</nav><!-- #site-navigation -->
</div><!-- #navigation-area -->

Expand Down

0 comments on commit da158a5

Please sign in to comment.