WordPress.org

Make WordPress Core

Changeset 52033


Ignore:
Timestamp:
11/08/2021 12:21:50 AM (2 months 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.

Location:
trunk/src
Files:
2 edited

Legend:

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

    r51957 r52033  
    32293229        printf(
    32303230            /* translators: 1: Link to tutorial, 2: Additional link attributes, 3: Accessibility text. */
    3231             __( '<a href="%1$s" %2$s>Describe the purpose of the image%3$s</a>. Leave empty if the image is purely decorative.' ),
     3231            __( '<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.' ),
    32323232            esc_url( 'https://www.w3.org/WAI/tutorials/images/decision-tree' ),
    32333233            'target="_blank" rel="noopener"',
  • 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.