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-search.php

    r45932 r53308  
    2525                edit_post_link(
    2626                    sprintf(
    27                         /* translators: %s: Post title. */
     27                        /* translators: %s: Post title. Only visible to screen readers. */
    2828                        __( 'Edit<span class="screen-reader-text"> "%s"</span>', 'twentysixteen' ),
    2929                        get_the_title()
     
    4040            edit_post_link(
    4141                sprintf(
    42                     /* translators: %s: Post title. */
     42                    /* translators: %s: Post title. Only visible to screen readers. */
    4343                    __( 'Edit<span class="screen-reader-text"> "%s"</span>', 'twentysixteen' ),
    4444                    get_the_title()
Note: See TracChangeset for help on using the changeset viewer.