Changeset 37229
- Timestamp:
- 04/17/2016 12:00:23 PM (9 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/customize/class-wp-customize-site-icon-control.php
r37012 r37229 65 65 <div class="site-icon-preview"> 66 66 <div class="favicon-preview"> 67 <img src="<?php echo esc_url( admin_url( 'images/browser.png' ) ); ?>" class="browser-preview" width="182" alt=" <?php esc_attr_e( 'Browser interface preview' ); ?>" />67 <img src="<?php echo esc_url( admin_url( 'images/browser.png' ) ); ?>" class="browser-preview" width="182" alt="" /> 68 68 69 69 <div class="favicon"> 70 70 <img id="preview-favicon" src="{{ data.attachment.sizes.full.url }}" alt="<?php esc_attr_e( 'Preview as a browser icon' ); ?>"/> 71 71 </div> 72 <span class="browser-title" ><?php bloginfo( 'name' ); ?></span>72 <span class="browser-title" aria-hidden="true"><?php bloginfo( 'name' ); ?></span> 73 73 </div> 74 74 <img class="app-icon-preview" src="{{ data.attachment.sizes.full.url }}" alt="<?php esc_attr_e( 'Preview as an app icon' ); ?>"/> -
trunk/src/wp-includes/media-template.php
r35567 r37229 1233 1233 1234 1234 <script type="text/html" id="tmpl-crop-content"> 1235 <img class="crop-image" src="{{ data.url }}" alt=" ">1235 <img class="crop-image" src="{{ data.url }}" alt="<?php esc_attr_e( 'Image crop area preview. Requires mouse interaction.' ); ?>"> 1236 1236 <div class="upload-errors"></div> 1237 1237 </script> … … 1239 1239 <script type="text/html" id="tmpl-site-icon-preview"> 1240 1240 <h2><?php _e( 'Preview' ); ?></h2> 1241 <strong ><?php _e( 'As a browser icon' ); ?></strong>1241 <strong aria-hidden="true"><?php _e( 'As a browser icon' ); ?></strong> 1242 1242 <div class="favicon-preview"> 1243 1243 <img src="images/browser.png" class="browser-preview" width="182" height="" alt="" /> … … 1246 1246 <img id="preview-favicon" src="{{ data.url }}" alt="<?php esc_attr_e( 'Preview as a browser icon' ); ?>"/> 1247 1247 </div> 1248 <span class="browser-title" ><?php bloginfo( 'name' ); ?></span>1249 </div> 1250 1251 <strong ><?php _e( 'As an app icon' ); ?></strong>1248 <span class="browser-title" aria-hidden="true"><?php bloginfo( 'name' ); ?></span> 1249 </div> 1250 1251 <strong aria-hidden="true"><?php _e( 'As an app icon' ); ?></strong> 1252 1252 <div class="app-icon-preview"> 1253 1253 <img id="preview-app-icon" src="{{ data.url }}" alt="<?php esc_attr_e( 'Preview as an app icon' ); ?>"/>
Note: See TracChangeset
for help on using the changeset viewer.