WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/07/2014 10:27:06 PM (4 years ago)
Author:
wonderboymusic
Message:

Make playlist tracks keyboard-accessible.

Fixes #27644.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/media.php

    r28004 r28023  
    10281028<script type="text/html" id="tmpl-wp-playlist-item">
    10291029    <div class="wp-playlist-item">
    1030         <div class="wp-playlist-caption">
     1030        <a class="wp-playlist-caption" href="{{ data.src }}">
    10311031            {{ data.index ? ( data.index + '. ' ) : '' }}
    10321032            <# if ( data.caption ) { #>
     
    10381038                <# } #>
    10391039            <# } #>
    1040         </div>
     1040        </a>
    10411041        <# if ( data.meta.length_formatted ) { #>
    10421042        <div class="wp-playlist-item-length">{{ data.meta.length_formatted }}</div>
Note: See TracChangeset for help on using the changeset viewer.