diff --git a/src/wp-admin/includes/media.php b/src/wp-admin/includes/media.php index 8436bde73b7fa..ee5339d13fe92 100644 --- a/src/wp-admin/includes/media.php +++ b/src/wp-admin/includes/media.php @@ -3237,8 +3237,8 @@ function edit_form_image_editor( $post ) { Learn how to describe the purpose of the image%3$s. Leave empty if the image is purely decorative.' ), + /* translators: 1: Link to tutorial, 2: Additional link attributes, 3: Accessibility text, 4: External link icon. */ + __( 'Alt text describes the image\'s purpose. Leave it blank if the image is purely decorative. Learn more about alt text%3$s.%4$s' ), /* translators: Localized tutorial, if one exists. W3C Web Accessibility Initiative link has list of existing translations. */ esc_url( __( 'https://www.w3.org/WAI/tutorials/images/decision-tree/' ) ), 'target="_blank"', @@ -3246,7 +3246,8 @@ function edit_form_image_editor( $post ) { ' %s', /* translators: Hidden accessibility text. */ __( '(opens in a new tab)' ) - ) + ), + '' ); ?> diff --git a/src/wp-includes/media-template.php b/src/wp-includes/media-template.php index 21b66d088caa4..92928a64adc08 100644 --- a/src/wp-includes/media-template.php +++ b/src/wp-includes/media-template.php @@ -157,8 +157,8 @@ function wp_print_media_templates() { $class = 'media-modal wp-core-ui'; $alt_text_description = sprintf( - /* translators: 1: Link to tutorial, 2: Additional link attributes, 3: Accessibility text. */ - __( 'Learn how to describe the purpose of the image%3$s. Leave empty if the image is purely decorative.' ), + /* translators: 1: Link to tutorial, 2: Additional link attributes, 3: Accessibility text, 4: External link icon. */ + __( 'Alt text describes the image\'s purpose. Leave it blank if the image is purely decorative. Learn more about alt text%3$s.%4$s' ), /* translators: Localized tutorial, if one exists. W3C Web Accessibility Initiative link has list of existing translations. */ esc_url( __( 'https://www.w3.org/WAI/tutorials/images/decision-tree/' ) ), 'target="_blank"', @@ -166,7 +166,8 @@ function wp_print_media_templates() { ' %s', /* translators: Hidden accessibility text. */ __( '(opens in a new tab)' ) - ) + ), + '' ); ?>