forked from mirror/_s
Add 'tabindex=-1' to the featured image markup, to improve accessibility.
This commit is contained in:
parent
72e34ef6bc
commit
43cfcb96dd
|
@ -132,7 +132,7 @@ if ( ! function_exists( '_s_post_thumbnail' ) ) :
|
||||||
|
|
||||||
<?php else : ?>
|
<?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
|
<?php
|
||||||
the_post_thumbnail( 'post-thumbnail', array(
|
the_post_thumbnail( 'post-thumbnail', array(
|
||||||
'alt' => the_title_attribute( array(
|
'alt' => the_title_attribute( array(
|
||||||
|
|
Reference in New Issue