mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-04 14:47:02 +00:00
Accessibility: Media: Allow users to set a proper language for Video subtitles.
For a number of years, subtitles track added to videos were always set to "English" regardless of the actual subtitles language. By making the track `srclang`, `label`, and `kind` attributes editable, content authors are now able to set a language that matches the actual track content. Props BjornW, audrasjb, birgire, karmatosed, sabernhardt, afercia. Fixes #47559. git-svn-id: https://develop.svn.wordpress.org/trunk@46373 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -2126,6 +2126,16 @@
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.media-embed .content-track + .description {
|
||||
line-height: 1.4;
|
||||
/* The !important needs to override a high specificity selector from wp-medialement.css */
|
||||
max-width: none !important;
|
||||
}
|
||||
|
||||
.media-embed .remove-track {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.image-details .embed-media-settings .setting,
|
||||
.image-details .embed-media-settings .setting-group {
|
||||
float: none;
|
||||
|
||||
Reference in New Issue
Block a user