WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/12/2014 10:54:32 PM (7 years ago)
Author:
iandstewart
Message:

Twenty Fifteen: adding context to page links for screenreaders.

Props afercia, fixes #30174.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfifteen/image.php

    r30216 r30314  
    5454                                'link_before' => '<span>',
    5555                                'link_after'  => '</span>',
     56                                'pagelink'    => '<span class="screen-reader-text">' . esc_html__( 'Page', 'twentyfifteen' ) . ' </span>%',
     57                                'separator'   => '<span class="screen-reader-text">, </span>',
    5658                            ) );
    5759                        ?>
Note: See TracChangeset for help on using the changeset viewer.