_s: Adding ARIA navigation roles to the all the nav elements

git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8851 d957f892-c61d-0410-b221-f235e6eecf30
This commit is contained in:
Ian Stewart 2012-02-03 14:22:08 +00:00
parent 44c46fd181
commit 0a42cc02cb
2 changed files with 3 additions and 3 deletions

View file

@ -22,7 +22,7 @@ function _s_content_nav( $nav_id ) {
$nav_class = 'site-navigation post-navigation';
?>
<nav id="<?php echo $nav_id; ?>" class="<?php echo $nav_class; ?>">
<nav role="navigation" id="<?php echo $nav_id; ?>" class="<?php echo $nav_class; ?>">
<h1 class="assistive-text"><?php _e( 'Post navigation', '_s' ); ?></h1>
<?php if ( is_single() ) : // navigation links for single posts ?>