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/image.php

    r52013 r53308  
    8585                        edit_post_link(
    8686                            sprintf(
    87                                 /* translators: %s: Post title. */
     87                                /* translators: %s: Post title. Only visible to screen readers. */
    8888                                __( 'Edit<span class="screen-reader-text"> "%s"</span>', 'twentysixteen' ),
    8989                                get_the_title()
Note: See TracChangeset for help on using the changeset viewer.