WordPress.org

Make WordPress Core

Ticket #36450: 36450-2.patch

File 36450-2.patch, 1011 bytes (added by TacoVerdo, 6 years ago)
  • src/wp-includes/media-template.php

     
    12321232        </script>
    12331233
    12341234        <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="{{data.title}}">
    12361236                <div class="upload-errors"></div>
    12371237        </script>
    12381238
     
    12401240                <h2><?php _e( 'Preview' ); ?></h2>
    12411241                <strong><?php _e( 'As a browser icon' ); ?></strong>
    12421242                <div class="favicon-preview">
    1243                         <img src="images/browser.png" class="browser-preview" width="182" height="" alt="" />
     1243                        <img src="images/browser.png" class="browser-preview" width="182" height="" alt="<?php esc_attr_e( 'Preview as a browser icon' ); ?>" />
    12441244
    12451245                        <div class="favicon">
    12461246                                <img id="preview-favicon" src="{{ data.url }}" alt="<?php esc_attr_e( 'Preview as a browser icon' ); ?>"/>