Accessibility: Remove title attributes from the Plugin Cards on the Plugin install screen.

Fixes #35050.

git-svn-id: https://develop.svn.wordpress.org/trunk@35953 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrea Fercia 2015-12-15 22:32:15 +00:00
parent e7296c25b9
commit e222e3e273
1 changed files with 2 additions and 4 deletions

View File

@ -467,7 +467,7 @@ class WP_Plugin_Install_List_Table extends WP_List_Table {
break; break;
case 'latest_installed': case 'latest_installed':
case 'newer_installed': case 'newer_installed':
$action_links[] = '<span class="button button-disabled" title="' . esc_attr__( 'This plugin is already installed and is up to date' ) . ' ">' . _x( 'Installed', 'plugin' ) . '</span>'; $action_links[] = '<span class="button button-disabled">' . _x( 'Installed', 'plugin' ) . '</span>';
break; break;
} }
} }
@ -529,9 +529,7 @@ class WP_Plugin_Install_List_Table extends WP_List_Table {
<span class="num-ratings">(<?php echo number_format_i18n( $plugin['num_ratings'] ); ?>)</span> <span class="num-ratings">(<?php echo number_format_i18n( $plugin['num_ratings'] ); ?>)</span>
</div> </div>
<div class="column-updated"> <div class="column-updated">
<strong><?php _e( 'Last Updated:' ); ?></strong> <span title="<?php echo esc_attr( date_i18n( $date_format, $last_updated_timestamp ) ); ?>"> <strong><?php _e( 'Last Updated:' ); ?></strong> <?php printf( __( '%s ago' ), human_time_diff( $last_updated_timestamp ) ); ?>
<?php printf( __( '%s ago' ), human_time_diff( $last_updated_timestamp ) ); ?>
</span>
</div> </div>
<div class="column-downloaded"> <div class="column-downloaded">
<?php <?php