diff --git src/wp-admin/includes/media.php src/wp-admin/includes/media.php
index e30cc08b1b..05bc43b8a8 100644
|
|
function edit_form_image_editor( $post ) { |
3020 | 3020 | <p class="attachment-alt-text-description" id="alt-text-description"> |
3021 | 3021 | <?php |
3022 | 3022 | printf( |
3023 | | /* translators: 1: link start tag, 2: accessibility text, 3: link end tag */ |
3024 | | __( '%1$sDescribe the purpose of the image%2$s%3$s. Leave empty if the image is purely decorative.' ), |
3025 | | '<a href="' . esc_url( 'https://www.w3.org/WAI/tutorials/images/decision-tree' ) . '" target="_blank" rel="noopener noreferrer">', |
| 3023 | /* translators: 1: link to tutorial, 2: additional link attributes, 3: accessibility text */ |
| 3024 | __( '<a href="%1$s" %2$s>Describe the purpose of the image%3$s</a>. Leave empty if the image is purely decorative.' ), |
| 3025 | esc_url( 'https://www.w3.org/WAI/tutorials/images/decision-tree' ), |
| 3026 | 'target="_blank" rel="noopener noreferrer"', |
3026 | 3027 | sprintf( |
3027 | 3028 | '<span class="screen-reader-text"> %s</span>', |
3028 | 3029 | /* translators: accessibility text */ |
diff --git src/wp-includes/media-template.php src/wp-includes/media-template.php
index 1711f50ab4..d107fd64be 100644
|
|
function wp_print_media_templates() { |
163 | 163 | } |
164 | 164 | |
165 | 165 | $alt_text_description = sprintf( |
166 | | /* translators: 1: link start tag, 2: accessibility text, 3: link end tag */ |
167 | | __( '%1$sDescribe the purpose of the image%2$s%3$s. Leave empty if the image is purely decorative.' ), |
168 | | '<a href="' . esc_url( 'https://www.w3.org/WAI/tutorials/images/decision-tree' ) . '" target="_blank" rel="noopener noreferrer">', |
| 166 | /* translators: 1: link to tutorial, 2: additional link attributes, 3: accessibility text */ |
| 167 | __( '<a href="%1$s" %2$s>Describe the purpose of the image%3$s</a>. Leave empty if the image is purely decorative.' ), |
| 168 | esc_url( 'https://www.w3.org/WAI/tutorials/images/decision-tree' ), |
| 169 | 'target="_blank" rel="noopener noreferrer"', |
169 | 170 | sprintf( |
170 | 171 | '<span class="screen-reader-text"> %s</span>', |
171 | 172 | /* translators: accessibility text */ |