WordPress.org

Make WordPress Core

Changeset 29232


Ignore:
Timestamp:
07/18/2014 11:40:43 PM (6 years ago)
Author:
SergeyBiryukov
Message:

Add screen reader text for star ratings on Install Plugins screen.

props joedolson.
fixes #28852.

File:
1 edited

Legend:

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

    r29206 r29232  
    21472147
    21482148    echo '<div class="star-rating" title="' . esc_attr( $title ) . '">';
     2149    echo '<span class="screen-reader-text">' . $title . '</span>';
    21492150    echo str_repeat( '<div class="star star-full"></div>', $full_stars );
    21502151    echo str_repeat( '<div class="star star-half"></div>', $half_stars );
Note: See TracChangeset for help on using the changeset viewer.