Make WordPress Core


Ignore:
Timestamp:
11/08/2021 12:21:50 AM (3 years ago)
Author:
antpb
Message:

Media: Adjust alt text info link text.

Previous messaging of this link was confusing given it went to an external source. This change describes more accurately that it will perform the action of taking you to the resource.

Props karmatosed, joedolson, melchoyce, hellofromTonya, afercia, sabernhardt, antpb.
Fixes #48939.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/media-template.php

    r51542 r52033  
    159159    $alt_text_description = sprintf(
    160160        /* translators: 1: Link to tutorial, 2: Additional link attributes, 3: Accessibility text. */
    161         __( '<a href="%1$s" %2$s>Describe the purpose of the image%3$s</a>. Leave empty if the image is purely decorative.' ),
     161        __( '<a href="%1$s" %2$s>Learn how to describe the purpose of the image%3$s</a>. Leave empty if the image is purely decorative.' ),
    162162        esc_url( 'https://www.w3.org/WAI/tutorials/images/decision-tree' ),
    163163        'target="_blank" rel="noopener"',
Note: See TracChangeset for help on using the changeset viewer.