mirror of
git://develop.git.wordpress.org/
synced 2025-01-19 05:38:07 +01:00
List tables: Bring screen reader text for comments column title to media.
see #32152, [31513]. git-svn-id: https://develop.svn.wordpress.org/trunk@32991 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
4a60647ab7
commit
74a2eb6790
@ -280,7 +280,7 @@ class WP_Media_List_Table extends WP_List_Table {
|
||||
if ( !$this->detached ) {
|
||||
$posts_columns['parent'] = _x( 'Uploaded to', 'column name' );
|
||||
if ( post_type_supports( 'attachment', 'comments' ) )
|
||||
$posts_columns['comments'] = '<span class="vers"><span title="' . esc_attr__( 'Comments' ) . '" class="comment-grey-bubble"></span></span>';
|
||||
$posts_columns['comments'] = '<span class="vers comment-grey-bubble" title="' . esc_attr__( 'Comments' ) . '"><span class="screen-reader-text">' . __( 'Comments' ) . '</span></span>';
|
||||
}
|
||||
/* translators: column name */
|
||||
$posts_columns['date'] = _x( 'Date', 'column name' );
|
||||
|
Loading…
x
Reference in New Issue
Block a user