Accessibility: Hide the "No activity yet" smiley from assistive technologies.
Fixes #37511. git-svn-id: https://develop.svn.wordpress.org/trunk@38448 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
19b838af8b
commit
dd8591044a
@ -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>';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user