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/grid_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/grid_card.html')
-rw-r--r-- | templates/partials/grid_card.html | 4 |
1 files changed, 2 insertions, 2 deletions
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$ |