WordPress.org

Make WordPress Core


Ignore:
Timestamp:
08/30/2016 04:13:31 PM (3 years ago)
Author:
afercia
Message:

Accessibility: Hide the "No activity yet" smiley from assistive technologies.

Fixes #37511.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/dashboard.php

    r38334 r38448  
    778778    if ( !$future_posts && !$recent_posts && !$recent_comments ) {
    779779        echo '<div class="no-activity">';
    780         echo '<p class="smiley"></p>';
     780        echo '<p class="smiley" aria-hidden="true"></p>';
    781781        echo '<p>' . __( 'No activity yet!' ) . '</p>';
    782782        echo '</div>';
Note: See TracChangeset for help on using the changeset viewer.