summaryrefslogtreecommitdiffstats
path: root/templates/partials/gallery_card.html
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-12-22 10:58:07 +0100
committerVolpeon <git@volpeon.ink>2021-12-22 10:58:07 +0100
commitd76ce7ba079e335471bcd2d82bf7ed5dc430fa6c (patch)
tree67c8748c6abab02416404c6beccc068857fa6353 /templates/partials/gallery_card.html
parentFixed contrast issues (diff)
downloadvolpeon.ink-d76ce7ba079e335471bcd2d82bf7ed5dc430fa6c.tar.gz
volpeon.ink-d76ce7ba079e335471bcd2d82bf7ed5dc430fa6c.tar.bz2
volpeon.ink-d76ce7ba079e335471bcd2d82bf7ed5dc430fa6c.zip
Fixed accessibility issues
Diffstat (limited to 'templates/partials/gallery_card.html')
-rw-r--r--templates/partials/gallery_card.html6
1 files changed, 3 insertions, 3 deletions
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)$
3 <a href="$it.url.rel$" class="l-card-list__card c-card"> 3 <a href="$it.url.rel$" class="l-card-list__card c-card">
4 <div class="c-card__row c-card__row--flush"> 4 <div class="c-card__row c-card__row--flush">
5 <div class="c-card__thumbnail"> 5 <div class="c-card__thumbnail">
6 <img class="c-card__thumbnail-img" src="$it.thumbnail.rel$" /> 6 <img class="c-card__thumbnail-img" src="$it.thumbnail.rel$" alt="Preview thumbnail of &quot;$it.title$&quot;" />
7 </div> 7 </div>
8 </div> 8 </div>
9 <div class="c-card__row c-card__row--hidden"> 9 <div class="c-card__row c-card__row--hidden">
@@ -11,7 +11,7 @@ $if(it.thumbnail)$
11 <div class="c-card__block c-card__block--indicator"></div> 11 <div class="c-card__block c-card__block--indicator"></div>
12 $endif$ 12 $endif$
13 $if(it.icon)$ 13 $if(it.icon)$
14 <svg class="c-card__block o-icon" width="1em" height="1em"> 14 <svg class="c-card__block o-icon" width="1em" height="1em" aria-hidden="true">
15 <use href="/symbols.svg#icon-$it.icon$"></use> 15 <use href="/symbols.svg#icon-$it.icon$"></use>
16 </svg> 16 </svg>
17 $endif$ 17 $endif$
@@ -37,7 +37,7 @@ $if(it.thumbnail)$
37 $endif$ 37 $endif$
38 </div> 38 </div>
39 $if(it.post_icon)$ 39 $if(it.post_icon)$
40 <svg class="c-card__block o-icon" width="1em" height="1em"> 40 <svg class="c-card__block o-icon" width="1em" height="1em" aria-hidden="true">
41 <use href="/symbols.svg#icon-$it.post_icon$"></use> 41 <use href="/symbols.svg#icon-$it.post_icon$"></use>
42 </svg> 42 </svg>
43 $endif$ 43 $endif$