WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/17/2016 04:57:54 PM (3 years ago)
Author:
afercia
Message:

Accessibility: change the close "X" in the Media "Attach to existing content" modal in a button.

Props joedolson.

Fixes #36554.

File:
1 edited

Legend:

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

    r37143 r37231  
    14871487        <div id="find-posts-head" class="find-box-head">
    14881488            <?php _e( 'Attach to existing content' ); ?>
    1489             <div id="find-posts-close"></div>
     1489            <button type="button" id="find-posts-close"><span class="screen-reader-text"><?php _e( 'Close media attachment panel' ); ?></button>
    14901490        </div>
    14911491        <div class="find-box-inside">
Note: See TracChangeset for help on using the changeset viewer.