WordPress.org

Make WordPress Core

Changeset 32991


Ignore:
Timestamp:
06/28/2015 03:43:32 PM (4 years ago)
Author:
helen
Message:

List tables: Bring screen reader text for comments column title to media.

see #32152, [31513].

File:
1 edited

Legend:

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

    r32933 r32991  
    281281            $posts_columns['parent'] = _x( 'Uploaded to', 'column name' );
    282282            if ( post_type_supports( 'attachment', 'comments' ) )
    283                 $posts_columns['comments'] = '<span class="vers"><span title="' . esc_attr__( 'Comments' ) . '" class="comment-grey-bubble"></span></span>';
     283                $posts_columns['comments'] = '<span class="vers comment-grey-bubble" title="' . esc_attr__( 'Comments' ) . '"><span class="screen-reader-text">' . __( 'Comments' ) . '</span></span>';
    284284        }
    285285        /* translators: column name */
Note: See TracChangeset for help on using the changeset viewer.