Twenty Fifteen: adding context to page links for screenreaders.

Props afercia, fixes #30174.



git-svn-id: https://develop.svn.wordpress.org/trunk@30314 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ian Stewart 2014-11-12 22:54:32 +00:00
parent 7514ac3218
commit 23259d37ef
5 changed files with 9 additions and 1 deletions

View File

@ -37,6 +37,8 @@
'after' => '</div>',
'link_before' => '<span>',
'link_after' => '</span>',
'pagelink' => '<span class="screen-reader-text">' . esc_html__( 'Page', 'twentyfifteen' ) . ' </span>%',
'separator' => '<span class="screen-reader-text">, </span>',
) );
?>
</div>

View File

@ -23,6 +23,8 @@
'after' => '</div>',
'link_before' => '<span>',
'link_after' => '</span>',
'pagelink' => '<span class="screen-reader-text">' . esc_html__( 'Page', 'twentyfifteen' ) . ' </span>%',
'separator' => '<span class="screen-reader-text">, </span>',
) );
?>
</div><!-- .entry-content -->

View File

@ -36,6 +36,8 @@
'after' => '</div>',
'link_before' => '<span>',
'link_after' => '</span>',
'pagelink' => '<span class="screen-reader-text">' . esc_html__( 'Page', 'twentyfifteen' ) . ' </span>%',
'separator' => '<span class="screen-reader-text">, </span>',
) );
?>
</div><!-- .entry-content -->

View File

@ -53,6 +53,8 @@ get_header(); ?>
'after' => '</div>',
'link_before' => '<span>',
'link_after' => '</span>',
'pagelink' => '<span class="screen-reader-text">' . esc_html__( 'Page', 'twentyfifteen' ) . ' </span>%',
'separator' => '<span class="screen-reader-text">, </span>',
) );
?>
</div><!-- .entry-content -->

View File

@ -2035,7 +2035,7 @@ a.post-thumbnail:focus {
font-size: 1.2rem;
height: 2em;
line-height: 2;
margin: 0 1px 2px 0;
margin: 0 6px 2px 0;
text-align: center;
width: 2em;
}