Make WordPress Core


Ignore:
Timestamp:
04/29/2022 05:01:22 AM (2 years ago)
Author:
peterwilsoncc
Message:

Bundled Themes: Note visually hidden text for translators.

Indicate the use of screen reader only text in translator comments.

Props sabernhardt.
Fixes #55591.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentysixteen/template-parts/content.php

    r45932 r53308  
    2626            the_content(
    2727                sprintf(
    28                     /* translators: %s: Post title. */
     28                    /* translators: %s: Post title. Only visible to screen readers. */
    2929                    __( 'Continue reading<span class="screen-reader-text"> "%s"</span>', 'twentysixteen' ),
    3030                    get_the_title()
     
    5050            edit_post_link(
    5151                sprintf(
    52                     /* translators: %s: Post title. */
     52                    /* translators: %s: Post title. Only visible to screen readers. */
    5353                    __( 'Edit<span class="screen-reader-text"> "%s"</span>', 'twentysixteen' ),
    5454                    get_the_title()
Note: See TracChangeset for help on using the changeset viewer.