Skip to content

Commit

Permalink
Change screen-reader-text to span
Browse files Browse the repository at this point in the history
  • Loading branch information
tomusborne committed Aug 7, 2017
1 parent 4a04f6d commit 237119b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/template-tags.php
Expand Up @@ -35,7 +35,7 @@ function generate_content_nav( $nav_id ) {
$category_specific = apply_filters( 'generate_category_post_navigation', false );
?>
<nav id="<?php echo esc_attr( $nav_id ); ?>" class="<?php echo $nav_class; ?>">
<h6 class="screen-reader-text"><?php _e( 'Post navigation', 'generatepress' ); ?></h6>
<span class="screen-reader-text"><?php _e( 'Post navigation', 'generatepress' ); ?></span>

<?php if ( is_single() ) : // navigation links for single posts

Expand Down

0 comments on commit 237119b

Please sign in to comment.