diff options
author | Volpeon <git@volpeon.ink> | 2021-12-22 10:58:07 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2021-12-22 10:58:07 +0100 |
commit | d76ce7ba079e335471bcd2d82bf7ed5dc430fa6c (patch) | |
tree | 67c8748c6abab02416404c6beccc068857fa6353 /templates/partials/list_card.html | |
parent | Fixed contrast issues (diff) | |
download | volpeon.ink-d76ce7ba079e335471bcd2d82bf7ed5dc430fa6c.tar.gz volpeon.ink-d76ce7ba079e335471bcd2d82bf7ed5dc430fa6c.tar.bz2 volpeon.ink-d76ce7ba079e335471bcd2d82bf7ed5dc430fa6c.zip |
Fixed accessibility issues
Diffstat (limited to 'templates/partials/list_card.html')
-rw-r--r-- | templates/partials/list_card.html | 4 |
1 files changed, 2 insertions, 2 deletions
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$ |