Skip to content
Permalink
Browse files

Add alt tag to logo for accessibility

  • Loading branch information...
jacklenox committed May 23, 2019
1 parent e75d704 commit 5b4d019b063319d5930913d6ee56a7f79a953bb9
Showing with 1 addition and 1 deletion.
  1. +1 −1 header.php
@@ -29,7 +29,7 @@
the_custom_logo();
else :
?>
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><img src="<?php echo esc_url( get_template_directory_uri() . '/images/eco-chat.svg' ); ?>"><span class="screen-reader-text"><?php esc_html_e( 'Home', 'susty' ); ?></span></a>
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><img alt="Susty WP logo" src="<?php echo esc_url( get_template_directory_uri() . '/images/eco-chat.svg' ); ?>"><span class="screen-reader-text"><?php esc_html_e( 'Home', 'susty' ); ?></span></a>
<?php
endif;
?>

0 comments on commit 5b4d019

Please sign in to comment.
You can’t perform that action at this time.