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

Props afercia.
Fixes #34583.


git-svn-id: https://develop.svn.wordpress.org/trunk@35567 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor
2015-11-07 16:11:38 +00:00
parent b55053ba07
commit 7301c115aa
16 changed files with 37 additions and 37 deletions

View File

@@ -134,7 +134,7 @@ $tech_features = array(
// Image.
else:
?>
<img src="<?php echo esc_url( $feature['src'] ); ?>" />
<img src="<?php echo esc_url( $feature['src'] ); ?>" alt="" />
<?php endif; ?>
</div>
<h3><?php echo $feature['heading']; ?></h3>
@@ -147,7 +147,7 @@ $tech_features = array(
<?php foreach ( $minor_features as $feature ) : ?>
<div class="col">
<div class="svg-container">
<img src="<?php echo esc_attr( $feature['src'] ); ?>" />
<img src="<?php echo esc_attr( $feature['src'] ); ?>" alt="" />
</div>
<h3><?php echo $feature['heading']; ?></h3>
<p><?php echo $feature['description']; ?></p>