accessibility

This commit is contained in:
rimu 2024-02-29 22:49:26 +13:00
parent 9c14f73584
commit df2775859f

View file

@ -54,7 +54,7 @@
{% endif %}
</h3>
<span class="small">{% if show_post_community %}<strong><a href="/c/{{ post.community.link() }}" aria-label="{{ _('Go to community {{ post.community.name }}') }}">c/{{ post.community.name }}</a></strong>{% endif %}
<span class="small">{% if show_post_community %}<strong><a href="/c/{{ post.community.link() }}" aria-label="{{ _('Go to community %(name)s', name=post.community.name) }}">c/{{ post.community.name }}</a></strong>{% endif %}
by {{ render_username(post.author) }} {{ moment(post.last_active if sort == 'active' else post.posted_at).fromNow() }}</span>
</div>