WordPress.org

Making WordPress.org

Ticket #3541: 3541.diff

File 3541.diff, 1.4 KB (added by audrasjb, 2 years ago)

3541 empty alt attributes for decorative images

  • wp15.wordpress.net/public_html/content/themes/twentyseventeen-wp15/page-about.php

    diff --git a/wp15.wordpress.net/public_html/content/themes/twentyseventeen-wp15/page-about.php b/wp15.wordpress.net/public_html/content/themes/twentyseventeen-wp15/page-about.php
    index d11dcc1..e88ead6 100644
    a b  
    2121                                                <?php esc_html_e( 'People all over the world are celebrating the WordPress 15th Anniversary on May 27, 2018. Join us!', 'wp15' ); ?>
    2222                                        </h1>
    2323
    24                                         <img class="wp15-confetti-divider" src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/images/confetti-divider.svg" alt="<?php esc_attr_e( 'Confetti with the WordPress logo and WP15 color scheme', 'wp15' ); ?>" />
     24                                        <img class="wp15-confetti-divider" src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/images/confetti-divider.svg" alt="" />
    2525
    2626                                        <?php echo do_shortcode( '[wp15_meetup_events]' ); ?>
    2727
    28                                         <img class="wp15-confetti-divider" src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/images/confetti-divider.svg" alt="<?php esc_attr_e( 'Confetti with the WordPress logo and WP15 color scheme', 'wp15' ); ?>" />
     28                                        <img class="wp15-confetti-divider" src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/images/confetti-divider.svg" alt="" />
    2929
    3030                                        <p class="wp10-nostalgia">
    3131                                                <?php printf(