Make WordPress Core


Ignore:
Timestamp:
07/08/2014 06:18:23 PM (11 years ago)
Author:
helen
Message:

More consistent icons in place of some buttons for the Customizer and theme install preview.

  • Use a single close icon instead of a context-changing cancel/close button in the Customizer. In user testing, this small distinction in language was overlooked, and we use an AYS now instead. This also makes it consistent with the back arrow in Customizer panels.
  • Use the same close icon as well as the previous/next arrows from the theme details browser in the theme install preview.

props celloexpressions. fixes #28655.

File:
1 edited

Legend:

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

    r29026 r29031  
    113113            ?>
    114114            <span class="spinner"></span>
    115             <a class="back button" href="<?php echo esc_url( $return ? $return : admin_url( 'themes.php' ) ); ?>">
    116                 <?php _e( 'Cancel' ); ?>
     115            <a class="customize-controls-close" href="<?php echo esc_url( $return ? $return : admin_url( 'themes.php' ) ); ?>">
     116                <span class="screen-reader-text"><?php _e( 'Cancel' ); ?></span>
    117117            </a>
    118118        </div>
Note: See TracChangeset for help on using the changeset viewer.