Use bootstrap class
Use `.sr-only` for `.screen-reader-text`
This commit is contained in:
parent
7808d0c4fd
commit
7ad430f3e9
|
@ -59,7 +59,7 @@ if ( post_password_required() ) {
|
||||||
|
|
||||||
<nav class="comment-navigation" id="comment-nav-above">
|
<nav class="comment-navigation" id="comment-nav-above">
|
||||||
|
|
||||||
<h1 class="screen-reader-text"><?php esc_html_e( 'Comment navigation', 'understrap' ); ?></h1>
|
<h1 class="sr-only"><?php esc_html_e( 'Comment navigation', 'understrap' ); ?></h1>
|
||||||
|
|
||||||
<?php if ( get_previous_comments_link() ) { ?>
|
<?php if ( get_previous_comments_link() ) { ?>
|
||||||
<div class="nav-previous">
|
<div class="nav-previous">
|
||||||
|
@ -94,7 +94,7 @@ if ( post_password_required() ) {
|
||||||
|
|
||||||
<nav class="comment-navigation" id="comment-nav-below">
|
<nav class="comment-navigation" id="comment-nav-below">
|
||||||
|
|
||||||
<h1 class="screen-reader-text"><?php esc_html_e( 'Comment navigation', 'understrap' ); ?></h1>
|
<h1 class="sr-only"><?php esc_html_e( 'Comment navigation', 'understrap' ); ?></h1>
|
||||||
|
|
||||||
<?php if ( get_previous_comments_link() ) { ?>
|
<?php if ( get_previous_comments_link() ) { ?>
|
||||||
<div class="nav-previous">
|
<div class="nav-previous">
|
||||||
|
|
Reference in New Issue