mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Accessibility: Remove the title attribute from the Featured Image postbox thumbnail.
The title attribute is now replaced with plain text in a `howto` paragraph, as done for example in the Tags postbox. Adds an `aria-describedby` attribute on the thumbnail link to target the description. Also, fixes the focus style on the featured image thumbnail. Fixes #35076. git-svn-id: https://develop.svn.wordpress.org/trunk@36000 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -303,10 +303,16 @@ ul.wp-tab-bar li {
|
||||
padding: 3px 5px 5px;
|
||||
}
|
||||
|
||||
#set-post-thumbnail {
|
||||
display: inline-block;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
#postimagediv .inside img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
width: auto;
|
||||
vertical-align: top;
|
||||
background-image: -webkit-linear-gradient(45deg, #c4c4c4 25%, transparent 25%, transparent 75%, #c4c4c4 75%, #c4c4c4), -webkit-linear-gradient(45deg, #c4c4c4 25%, transparent 25%, transparent 75%, #c4c4c4 75%, #c4c4c4);
|
||||
background-image: linear-gradient(45deg, #c4c4c4 25%, transparent 25%, transparent 75%, #c4c4c4 75%, #c4c4c4), linear-gradient(45deg, #c4c4c4 25%, transparent 25%, transparent 75%, #c4c4c4 75%, #c4c4c4);
|
||||
background-position: 0 0, 10px 10px;
|
||||
|
||||
Reference in New Issue
Block a user