Skip to content

Commit 0bb4489

Browse files
authored
added screen-reader-text (#792)
1 parent 5e765e0 commit 0bb4489

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

includes/class-admin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,9 +423,9 @@ public static function manage_users_custom_column( $output, $column_name, $user_
423423
}
424424

425425
if ( \user_can( $user_id, 'activitypub' ) ) {
426-
return '✓';
426+
return '<span aria-hidden="true">&#x2713;</span><span class="screen-reader-text">' . esc_html__( 'ActivityPub enabled for this author', 'activitypub' ) . '</span>';
427427
} else {
428-
return '&#x2717;';
428+
return '<span aria-hidden="true">&#x2717;</span><span class="screen-reader-text">' . esc_html__( 'ActivityPub disabled for this author', 'activitypub' ) . '</span>';
429429
}
430430
}
431431

0 commit comments

Comments
 (0)