Make playlist tracks keyboard-accessible.
Fixes #27644. Built from https://develop.svn.wordpress.org/trunk@28023 git-svn-id: http://core.svn.wordpress.org/trunk@27853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1027,7 +1027,7 @@ function wp_underscore_playlist_templates() {
|
||||
</script>
|
||||
<script type="text/html" id="tmpl-wp-playlist-item">
|
||||
<div class="wp-playlist-item">
|
||||
<div class="wp-playlist-caption">
|
||||
<a class="wp-playlist-caption" href="{{ data.src }}">
|
||||
{{ data.index ? ( data.index + '. ' ) : '' }}
|
||||
<# if ( data.caption ) { #>
|
||||
{{ data.caption }}
|
||||
@@ -1037,7 +1037,7 @@ function wp_underscore_playlist_templates() {
|
||||
<span class="wp-playlist-item-artist"> — {{ data.meta.artist }}</span>
|
||||
<# } #>
|
||||
<# } #>
|
||||
</div>
|
||||
</a>
|
||||
<# if ( data.meta.length_formatted ) { #>
|
||||
<div class="wp-playlist-item-length">{{ data.meta.length_formatted }}</div>
|
||||
<# } #>
|
||||
|
||||
Reference in New Issue
Block a user