Skip to content

Commit

Permalink
accessibility improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
billerickson committed Oct 9, 2018
1 parent 88cb924 commit 3f2414b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions partials/archive.php
Expand Up @@ -10,12 +10,15 @@

echo '<article class="post-summary">';

echo '<a class="entry-image-link" href="' . get_permalink() . '" tabindex="-1" aria-hidden="true">' . get_the_post_thumbnail( get_the_ID(), 'medium' ) . '</a>';

echo '<header class="entry-header">';
echo '<h2 class="entry-title"><a href="' . get_permalink() . '">' . get_the_title() . '</a></h2>';
echo '</header>';

echo '<div class="entry-content">';
the_excerpt();
echo '<p><a class="read-more" href="' . get_permalink() . '" tabindex="-1" aria-hidden="true">Read More<span class="screen-reader-text"> of ' . get_the_title() . '</span></a></p>';
echo '</div>';

echo '</article>';

0 comments on commit 3f2414b

Please sign in to comment.