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:
Andrea Fercia 2016-08-30 16:13:31 +00:00
parent 19b838af8b
commit dd8591044a
1 changed files with 1 additions and 1 deletions

View File

@ -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>';
}