Accessibility: Improve the image "Alternative Text" field in the Edit Media screen.
Brings parity with the changes for the Media Views introduced in [44900]. - moves the alt text field to the top as first field - adds an explanatory text with a link pointing to the W3C "alt decision tree" tutorial - adds `aria-describedby` to target the explanatory text - adjusts the CSS and indentation Props chetan200891. Fixes #46875. Built from https://develop.svn.wordpress.org/trunk@45158 git-svn-id: http://core.svn.wordpress.org/trunk@44967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -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;
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -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;
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user