diff --git a/src/wp-admin/css/media.css b/src/wp-admin/css/media.css index c45fa3b331..bb0f952aec 100644 --- a/src/wp-admin/css/media.css +++ b/src/wp-admin/css/media.css @@ -825,6 +825,13 @@ border color while dragging a file over the uploader drop area */ /*------------------------------------------------------------------------------ 14.2 - Image Editor ------------------------------------------------------------------------------*/ +.wp_attachment_details .attachment-alt-text { + margin-bottom: 5px; +} + +.wp_attachment_details .attachment-alt-text-description { + margin-top: 5px; +} .wp_attachment_details label[for="content"] { font-size: 13px; diff --git a/src/wp-admin/includes/media.php b/src/wp-admin/includes/media.php index b07f4e5bc8..e30cc08b1b 100644 --- a/src/wp-admin/includes/media.php +++ b/src/wp-admin/includes/media.php @@ -3012,19 +3012,33 @@ function edit_form_image_editor( $post ) { ?>
+ post_mime_type, 0, 5 ) ) : ?> +

+
+ +

+

+ ', + sprintf( + ' %s', + /* translators: accessibility text */ + __( '(opens in a new tab)' ) + ), + '' + ); + ?> +

+ +


- - post_mime_type, 0, 5 ) ) : ?> -

-
- -

- - 'strong,em,link,block,del,ins,img,ul,ol,li,code,close' ); $editor_args = array( @@ -3037,11 +3051,11 @@ function edit_form_image_editor( $post ) { ?> post_content, 'attachment_content', $editor_args ); ?>