Skip to content

Commit

Permalink
Fix for issue 236. Research suggests screen readers work well with <h…
Browse files Browse the repository at this point in the history
…4><a>....</a></h4> instead of <a><h4>...</h4></a>. The later causes the screen reader to open the link when focus is moved to the heading. The first doesn't.
  • Loading branch information
jrbenn committed Nov 26, 2024
1 parent 65fde6b commit 7356309
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _source/_includes/announcements.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ <h2 class="subhead">Announcements</h2>
<div class="post">
<h3>Latest</h3>
{% for post in site.posts limit:1 %}
<a href="/communications/#{{ post.url }}"><h4>{{ post.title }}</h4></a>
<h4><a href="/communications/#{{ post.url }}">{{ post.title }}</a></h4>
{{ post.excerpt }}
{% endfor %}
</div>
Expand Down

0 comments on commit 7356309

Please sign in to comment.