Index: /branches/5.2/src/wp-admin/includes/media.php
===================================================================
--- /branches/5.2/src/wp-admin/includes/media.php (revision 45334)
+++ /branches/5.2/src/wp-admin/includes/media.php (revision 45335)
@@ -3021,13 +3021,13 @@
',
+ /* translators: 1: link to tutorial, 2: additional link attributes, 3: accessibility text */
+ __( 'Describe the purpose of the image%3$s. Leave empty if the image is purely decorative.' ),
+ esc_url( 'https://www.w3.org/WAI/tutorials/images/decision-tree' ),
+ 'target="_blank" rel="noopener noreferrer"',
sprintf(
' %s',
/* translators: accessibility text */
__( '(opens in a new tab)' )
- ),
- ''
+ )
);
?>
Index: /branches/5.2/src/wp-includes/media-template.php
===================================================================
--- /branches/5.2/src/wp-includes/media-template.php (revision 45334)
+++ /branches/5.2/src/wp-includes/media-template.php (revision 45335)
@@ -164,13 +164,13 @@
$alt_text_description = sprintf(
- /* translators: 1: link start tag, 2: accessibility text, 3: link end tag */
- __( '%1$sDescribe the purpose of the image%2$s%3$s. Leave empty if the image is purely decorative.' ),
- '',
+ /* translators: 1: link to tutorial, 2: additional link attributes, 3: accessibility text */
+ __( 'Describe the purpose of the image%3$s. Leave empty if the image is purely decorative.' ),
+ esc_url( 'https://www.w3.org/WAI/tutorials/images/decision-tree' ),
+ 'target="_blank" rel="noopener noreferrer"',
sprintf(
' %s',
/* translators: accessibility text */
__( '(opens in a new tab)' )
- ),
- ''
+ )
);
?>