WordPress.org

Make WordPress Core

Ticket #31795: 31795.patch

File 31795.patch, 709 bytes (added by afercia, 6 years ago)
  • src/wp-admin/includes/class-wp-media-list-table.php

     
    168168        <div class="filter-items">
    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 ) ) {
    174175                                foreach ( $views as $class => $view ) {