fix(logo): fix a11y

This commit is contained in:
Kazhnuz 2023-05-21 15:56:44 +02:00
parent 6ceddd85b9
commit c0e92f6895

View file

@ -1,3 +1,3 @@
<div class="logo-area">
<h1><a href="<?php echo site_url(); ?>"><img src="<?php echo get_template_directory_uri();?>/img/logo.png" alt="<?php echo get_bloginfo( 'name' ); ?>"/></a></h1>
<h1><a href="<?php echo site_url(); ?>"><img src="<?php echo get_template_directory_uri();?>/img/logo.png" alt=""/> <span class="sr-only"><?php echo get_bloginfo( 'name' ); ?></span></a></h1>
</div>