Add 'tabindex=-1' to the featured image markup, to improve accessibility.

This commit is contained in:
Laurel Fulford 2018-01-26 10:10:16 -08:00
parent 72e34ef6bc
commit 43cfcb96dd
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ if ( ! function_exists( '_s_post_thumbnail' ) ) :
<?php else : ?>
<a class="post-thumbnail" href="<?php the_permalink(); ?>" aria-hidden="true">
<a class="post-thumbnail" href="<?php the_permalink(); ?>" aria-hidden="true" tabindex="-1">
<?php
the_post_thumbnail( 'post-thumbnail', array(
'alt' => the_title_attribute( array(