mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-07 14:14:36 +00:00
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user