summaryrefslogtreecommitdiffstats
path: root/templates/partials
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
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')
-rw-r--r--templates/partials/gallery_card.html6
-rw-r--r--templates/partials/grid_card.html4
-rw-r--r--templates/partials/list_card.html4
3 files changed, 7 insertions, 7 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$
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)$
5 <div class="c-card__block c-card__block--indicator"></div> 5 <div class="c-card__block c-card__block--indicator"></div>
6 $endif$ 6 $endif$
7 $if(it.icon)$ 7 $if(it.icon)$
8 <svg class="c-card__block o-icon" width="1em" height="1em"> 8 <svg class="c-card__block o-icon" width="1em" height="1em" aria-hidden="true">
9 <use href="/symbols.svg#icon-$it.icon$"></use> 9 <use href="/symbols.svg#icon-$it.icon$"></use>
10 </svg> 10 </svg>
11 $endif$ 11 $endif$
@@ -31,7 +31,7 @@ $if(it.url)$
31 $endif$ 31 $endif$
32 </div> 32 </div>
33 $if(it.post_icon)$ 33 $if(it.post_icon)$
34 <svg class="c-card__block o-icon" width="1em" height="1em"> 34 <svg class="c-card__block o-icon" width="1em" height="1em" aria-hidden="true">
35 <use href="/symbols.svg#icon-$it.post_icon$"></use> 35 <use href="/symbols.svg#icon-$it.post_icon$"></use>
36 </svg> 36 </svg>
37 $endif$ 37 $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)$
5 <div class="c-card__block c-card__block--indicator"></div> 5 <div class="c-card__block c-card__block--indicator"></div>
6 $endif$ 6 $endif$
7 $if(it.icon)$ 7 $if(it.icon)$
8 <svg class="c-card__block o-icon" width="1em" height="1em"> 8 <svg class="c-card__block o-icon" width="1em" height="1em" aria-hidden="true">
9 <use href="/symbols.svg#icon-$it.icon$"></use> 9 <use href="/symbols.svg#icon-$it.icon$"></use>
10 </svg> 10 </svg>
11 $endif$ 11 $endif$
@@ -35,7 +35,7 @@ $if(it.url)$
35 </time> 35 </time>
36 $endif$ 36 $endif$
37 $if(it.post_icon)$ 37 $if(it.post_icon)$
38 <svg class="c-card__block o-icon" width="1em" height="1em"> 38 <svg class="c-card__block o-icon" width="1em" height="1em" aria-hidden="true">
39 <use href="/symbols.svg#icon-$it.post_icon$"></use> 39 <use href="/symbols.svg#icon-$it.post_icon$"></use>
40 </svg> 40 </svg>
41 $endif$ 41 $endif$