Changeset 27947 for trunk/src/wp-includes/class-wp-customize-control.php
- Timestamp:
- 04/04/2014 03:48:34 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-control.php
r27945 r27947 775 775 <div class="placeholder random"> 776 776 <div class="inner"> 777 < span><span class="dashicons dashicons-randomize dice"></span>777 <button type="button"><span class="dashicons dashicons-randomize dice"></span> 778 778 <# if ( data.type === 'uploaded' ) { #> 779 779 <?php _e( 'Randomize uploaded headers' ); ?> … … 781 781 <?php _e( 'Randomize suggested headers' ); ?> 782 782 <# } #> 783 </ span>783 </button> 784 784 </div> 785 785 </div> … … 788 788 789 789 <# if (data.type === 'uploaded') { #> 790 <div class="dashicons dashicons-no close"></div>790 <div class="dashicons dashicons-no close"></div> 791 791 <# } #> 792 792 793 < a href="#" class="choice thumbnail #>"793 <button type="button" class="choice thumbnail" 794 794 data-customize-image-value="{{{data.header.url}}}" 795 795 data-customize-header-image-data="{{JSON.stringify(data.header)}}"> 796 <img src="{{{data.header.thumbnail_url}}}"> 797 </a> 796 <span class="screen-reader-text"><?php _e( 'Set image' ); ?></span> 797 <img src="{{{data.header.thumbnail_url}}}" alt="{{{data.header.alt_text || data.header.description}}}"> 798 </button> 798 799 799 800 <# } #> … … 804 805 <# if (data.random) { #> 805 806 806 <div class="placeholder" >807 <div class="placeholder" tabindex="0"> 807 808 <div class="inner"> 808 809 <span><span class="dashicons dashicons-randomize dice"></span> … … 818 819 <# } else { #> 819 820 820 <img src="{{{data.header.thumbnail_url}}}" />821 <img src="{{{data.header.thumbnail_url}}}" alt="{{{data.header.alt_text || data.header.description}}}" tabindex="0"/> 821 822 822 823 <# } #> 823 824 <# } else { #> 824 825 825 <div class="placeholder" >826 <div class="placeholder" tabindex="0"> 826 827 <div class="inner"> 827 828 <span> … … 854 855 855 856 <div class="customize-control-content"> 856 <p class="customizer-section-intro" >857 <p class="customizer-section-intro" tabindex="0"> 857 858 <?php 858 859 // @todo translate (and look to custom-header.php for inspiration) … … 868 869 </p> 869 870 <div class="current"> 870 <span class="customize-control-title" >871 <span class="customize-control-title" tabindex="0"> 871 872 <?php _e( 'Current header' ); ?> 872 873 </span> … … 876 877 <div class="actions"> 877 878 <?php /* translators: Hide as in hide header image via the Customizer */ ?> 878 < a href="#" <?php echo $visibility ?> class="button remove"><?php _ex( 'Hide', 'custom header' ); ?></a>879 <button type="button"<?php echo $visibility ?> class="button remove"><?php _ex( 'Hide image', 'custom header' ); ?></button> 879 880 <?php /* translators: New as in add new header image via the Customizer */ ?> 880 < a href="#" class="button new"><?php _ex( 'Add new', 'header image' ); ?></a>881 <button type="button" class="button new"><?php _ex( 'Add new image', 'header image' ); ?></button> 881 882 <div style="clear:both"></div> 882 883 </div> 883 884 <div class="choices"> 884 <span class="customize-control-title header-previously-uploaded" >885 <span class="customize-control-title header-previously-uploaded" tabindex="0"> 885 886 <?php _ex( 'Previously uploaded', 'custom headers' ); ?> 886 887 </span> … … 889 890 </div> 890 891 </div> 891 <span class="customize-control-title header-default" >892 <span class="customize-control-title header-default" tabindex="0"> 892 893 <?php _ex( 'Suggested', 'custom headers' ); ?> 893 894 </span>
Note: See TracChangeset
for help on using the changeset viewer.