Skip to content

Commit

Permalink
Header: Made aria-controls refer to an ID instead of a class
Browse files Browse the repository at this point in the history
  • Loading branch information
jaspermdegroot committed Dec 3, 2014
1 parent cfda009 commit 6194ed1
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 @@ -28,8 +28,8 @@
</div><!-- .site-branding -->

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

Expand Down

0 comments on commit 6194ed1

Please sign in to comment.