From d76ce7ba079e335471bcd2d82bf7ed5dc430fa6c Mon Sep 17 00:00:00 2001
From: Volpeon <git@volpeon.ink>
Date: Wed, 22 Dec 2021 10:58:07 +0100
Subject: Fixed accessibility issues

---
 templates/partials/gallery_card.html | 6 +++---
 templates/partials/grid_card.html    | 4 ++--
 templates/partials/list_card.html    | 4 ++--
 3 files changed, 7 insertions(+), 7 deletions(-)

(limited to 'templates/partials')

diff --git a/templates/partials/gallery_card.html b/templates/partials/gallery_card.html
index a2dbe5f..f3c85e8 100644
--- a/templates/partials/gallery_card.html
+++ b/templates/partials/gallery_card.html
@@ -3,7 +3,7 @@ $if(it.thumbnail)$
     <a href="$it.url.rel$" class="l-card-list__card c-card">
         <div class="c-card__row c-card__row--flush">
             <div class="c-card__thumbnail">
-                <img class="c-card__thumbnail-img" src="$it.thumbnail.rel$" />
+                <img class="c-card__thumbnail-img" src="$it.thumbnail.rel$" alt="Preview thumbnail of &quot;$it.title$&quot;" />
             </div>
         </div>
         <div class="c-card__row c-card__row--hidden">
@@ -11,7 +11,7 @@ $if(it.thumbnail)$
                 <div class="c-card__block c-card__block--indicator"></div>
             $endif$
             $if(it.icon)$
-                <svg class="c-card__block o-icon" width="1em" height="1em">
+                <svg class="c-card__block o-icon" width="1em" height="1em" aria-hidden="true">
                     <use href="/symbols.svg#icon-$it.icon$"></use>
                 </svg>
             $endif$
@@ -37,7 +37,7 @@ $if(it.thumbnail)$
                 $endif$
             </div>
             $if(it.post_icon)$
-                <svg class="c-card__block o-icon" width="1em" height="1em">
+                <svg class="c-card__block o-icon" width="1em" height="1em" aria-hidden="true">
                     <use href="/symbols.svg#icon-$it.post_icon$"></use>
                 </svg>
             $endif$
diff --git a/templates/partials/grid_card.html b/templates/partials/grid_card.html
index 25cde52..1b7c000 100644
--- a/templates/partials/grid_card.html
+++ b/templates/partials/grid_card.html
@@ -5,7 +5,7 @@ $if(it.url)$
                 <div class="c-card__block c-card__block--indicator"></div>
             $endif$
             $if(it.icon)$
-                <svg class="c-card__block o-icon" width="1em" height="1em">
+                <svg class="c-card__block o-icon" width="1em" height="1em" aria-hidden="true">
                     <use href="/symbols.svg#icon-$it.icon$"></use>
                 </svg>
             $endif$
@@ -31,7 +31,7 @@ $if(it.url)$
                 $endif$
             </div>
             $if(it.post_icon)$
-                <svg class="c-card__block o-icon" width="1em" height="1em">
+                <svg class="c-card__block o-icon" width="1em" height="1em" aria-hidden="true">
                     <use href="/symbols.svg#icon-$it.post_icon$"></use>
                 </svg>
             $endif$
diff --git a/templates/partials/list_card.html b/templates/partials/list_card.html
index 8244cf5..ef52cf4 100644
--- a/templates/partials/list_card.html
+++ b/templates/partials/list_card.html
@@ -5,7 +5,7 @@ $if(it.url)$
                 <div class="c-card__block c-card__block--indicator"></div>
             $endif$
             $if(it.icon)$
-                <svg class="c-card__block o-icon" width="1em" height="1em">
+                <svg class="c-card__block o-icon" width="1em" height="1em" aria-hidden="true">
                     <use href="/symbols.svg#icon-$it.icon$"></use>
                 </svg>
             $endif$
@@ -35,7 +35,7 @@ $if(it.url)$
                 </time>
             $endif$
             $if(it.post_icon)$
-                <svg class="c-card__block o-icon" width="1em" height="1em">
+                <svg class="c-card__block o-icon" width="1em" height="1em" aria-hidden="true">
                     <use href="/symbols.svg#icon-$it.post_icon$"></use>
                 </svg>
             $endif$
-- 
cgit v1.2.3-70-g09d2