From 55ddc0641fb0f257363dfe0a25589992cac6fdd9 Mon Sep 17 00:00:00 2001 From: rimu <3310831+rimu@users.noreply.github.com> Date: Wed, 24 Jan 2024 09:52:08 +1300 Subject: [PATCH] wcag tweaks - aria-hidden --- app/templates/post/_post_full.html | 10 ++++------ app/templates/post/_post_teaser.html | 14 +++++++------- 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/app/templates/post/_post_full.html b/app/templates/post/_post_full.html index 2402fa20..e96736e1 100644 --- a/app/templates/post/_post_full.html +++ b/app/templates/post/_post_full.html @@ -21,9 +21,8 @@ {% endif %} {% if post.url %} -

{{ post.url|shorten_url }} - External link -

+

{{ post.url|shorten_url }} +

{% endif %}

{% if post.reports and current_user.is_authenticated and post.community.is_moderator(current_user) %} @@ -81,9 +80,8 @@ {% if post.edited_at %} edited {{ moment(post.edited_at).fromNow() }}{% endif %}

{% if post.type == POST_TYPE_LINK %} -

{{ post.url|shorten_url }} - External link -

+

{{ post.url|shorten_url }} +

{% if 'youtube.com' in post.url %}
{% endif %} diff --git a/app/templates/post/_post_teaser.html b/app/templates/post/_post_teaser.html index 56793d26..b1030a67 100644 --- a/app/templates/post/_post_teaser.html +++ b/app/templates/post/_post_teaser.html @@ -9,11 +9,11 @@