WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/06/2015 10:53:07 AM (6 years ago)
Author:
SergeyBiryukov
Message:

Customizer: Use a semantic, accessible element for Remove Header Image button.

Make the button more noticeable on dark, light, and busy images.

props afercia, RDall, melchoyce.
fixes #32227, #31325.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-control.php

    r32265 r32382  
    10751075
    10761076            <# if (data.type === 'uploaded') { #>
    1077                 <div class="dashicons dashicons-no close"></div>
     1077                <button type="button" class="dashicons dashicons-no close"><span class="screen-reader-text"><?php _e( 'Remove image' ); ?></span></button>
    10781078            <# } #>
    10791079
Note: See TracChangeset for help on using the changeset viewer.