WordPress.org

Make WordPress Core

Changeset 31942


Ignore:
Timestamp:
03/31/2015 07:56:08 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Media Library: Add a label for attachment type select in list mode.

props afercia.
fixes #31795.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-media-list-table.php

    r31857 r31942  
    169169        <?php $this->view_switcher( $mode ); ?>
    170170
    171         <select class="attachment-filters" name="attachment-filter">
     171        <label for="attachment-filter" class="screen-reader-text"><?php _e( 'Filter by type' ); ?></label>
     172        <select class="attachment-filters" name="attachment-filter" id="attachment-filter">
    172173            <?php
    173174            if ( ! empty( $views ) ) {
Note: See TracChangeset for help on using the changeset viewer.