mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Use .screen-reader-text class instead of an alt attribute for overlay button labels on Themes screen.
props bramd. fixes #26603 for trunk. git-svn-id: https://develop.svn.wordpress.org/trunk@27119 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
cb8654eade
commit
5b7c8cf7c1
@ -312,9 +312,9 @@ if ( ! is_multisite() && current_user_can('edit_themes') && $broken_themes = wp_
|
||||
<div class="theme-backdrop"></div>
|
||||
<div class="theme-wrap">
|
||||
<div class="theme-header">
|
||||
<button alt="<?php _e( 'Show previous theme' ); ?>" class="left dashicons dashicons-no"></button>
|
||||
<button alt="<?php _e( 'Show next theme' ); ?>" class="right dashicons dashicons-no"></button>
|
||||
<button alt="<?php _e( 'Close overlay' ); ?>" class="close dashicons dashicons-no"></button>
|
||||
<button class="left dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Show previous theme' ); ?></span></button>
|
||||
<button class="right dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Show next theme' ); ?></span></button>
|
||||
<button class="close dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Close overlay' ); ?></span></button>
|
||||
</div>
|
||||
<div class="theme-about">
|
||||
<div class="theme-screenshots">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user