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/twentyseventeen/inc/template-tags.php

    r52929 r53308  
    113113        edit_post_link(
    114114            sprintf(
    115                 /* translators: %s: Post title. */
     115                /* translators: %s: Post title. Only visible to screen readers. */
    116116                __( 'Edit<span class="screen-reader-text"> "%s"</span>', 'twentyseventeen' ),
    117117                get_the_title()
Note: See TracChangeset for help on using the changeset viewer.