Accessibility: Hide the "No activity yet" smiley from assistive technologies.
Fixes #37511. Built from https://develop.svn.wordpress.org/trunk@38448 git-svn-id: http://core.svn.wordpress.org/trunk@38389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -777,7 +777,7 @@ function wp_dashboard_site_activity() {
|
||||
|
||||
if ( !$future_posts && !$recent_posts && !$recent_comments ) {
|
||||
echo '<div class="no-activity">';
|
||||
echo '<p class="smiley"></p>';
|
||||
echo '<p class="smiley" aria-hidden="true"></p>';
|
||||
echo '<p>' . __( 'No activity yet!' ) . '</p>';
|
||||
echo '</div>';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user