WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/27/2019 06:46:12 PM (17 months ago)
Author:
afercia
Message:

Accessibility: Improve the "Alt text" description.

Moves the word "Describe" within the link.

Amends [44900].
See #41612.

File:
1 edited

Legend:

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

    r44900 r45038  
    165165    $alt_text_description = sprintf(
    166166        /* translators: 1: link start tag, 2: accessibility text, 3: link end tag */
    167         __( 'Describe %1$sthe purpose of the image%2$s%3$s. Leave empty if the image is purely decorative.' ),
     167        __( '%1$sDescribe the purpose of the image%2$s%3$s. Leave empty if the image is purely decorative.' ),
    168168        '<a href="' . esc_url( 'https://www.w3.org/WAI/tutorials/images/decision-tree' ) . '" target="_blank" rel="noopener noreferrer">',
    169169        sprintf(
Note: See TracChangeset for help on using the changeset viewer.