Making WordPress.org

Changeset 6998


Ignore:
Timestamp:
04/02/2018 07:01:25 PM (7 years ago)
Author:
iandunn
Message:

WP15: Remove alt text from decorative images.

Props audrasjb.
Fixes #3541.

Location:
sites/trunk/wp15.wordpress.net/public_html/content/themes/twentyseventeen-wp15
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wp15.wordpress.net/public_html/content/themes/twentyseventeen-wp15/functions.php

    r6992 r6998  
    8686
    8787    <a href="<?php echo esc_url( home_url() ); ?>" class="custom-logo-link" rel="home" itemprop="url">
    88         <img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/images/wp15-logo.svg" class="custom-logo" alt="WordPress 15th anniversary logo" itemprop="logo" />
     88        <img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/images/wp15-logo.svg" class="custom-logo" alt="<?php esc_html_e( 'WP15 home', 'wp15' ); ?>" itemprop="logo" />
    8989    </a>
    9090
  • sites/trunk/wp15.wordpress.net/public_html/content/themes/twentyseventeen-wp15/page-about.php

    r6994 r6998  
    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">
Note: See TracChangeset for help on using the changeset viewer.