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:
Andrea Fercia
2019-10-01 22:04:43 +00:00
parent dc0b9dc2d3
commit 65c94d5cd8
2 changed files with 25 additions and 4 deletions
+10
View File
@@ -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;