Make WordPress Core


Ignore:
Timestamp:
11/07/2015 04:11:38 PM (9 years ago)
Author:
wonderboymusic
Message:

Accessibility: add missing alt attributes to a gaggle of <img>s.

Props afercia.
Fixes #34583.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/about.php

    r34054 r35567  
    135135                    else:
    136136                    ?>
    137                     <img src="<?php echo esc_url( $feature['src'] ); ?>" />
     137                    <img src="<?php echo esc_url( $feature['src'] ); ?>" alt="" />
    138138                    <?php endif; ?>
    139139                </div>
     
    148148            <div class="col">
    149149                <div class="svg-container">
    150                     <img src="<?php echo esc_attr( $feature['src'] ); ?>" />
     150                    <img src="<?php echo esc_attr( $feature['src'] ); ?>" alt="" />
    151151                </div>
    152152                <h3><?php echo $feature['heading']; ?></h3>
Note: See TracChangeset for help on using the changeset viewer.