mirror of
https://github.com/pheralb/svgl.git
synced 2024-11-10 14:46:54 +08:00
✨ just in case for screen readers ✨
This commit is contained in:
parent
7ac4fca29d
commit
3fefbf4bbb
@ -102,7 +102,11 @@
|
|||||||
<div class="flex items-center space-x-1 justify-center">
|
<div class="flex items-center space-x-1 justify-center">
|
||||||
{#if Array.isArray(svgInfo.category)}
|
{#if Array.isArray(svgInfo.category)}
|
||||||
{#each svgInfo.category.slice(0, maxVisibleCategories) as c, index}
|
{#each svgInfo.category.slice(0, maxVisibleCategories) as c, index}
|
||||||
<a href={`/directory/${c.toLowerCase()}`} class={badgeStyles}>{c}</a>
|
<a
|
||||||
|
href={`/directory/${c.toLowerCase()}`}
|
||||||
|
class={badgeStyles}
|
||||||
|
title={`This icon is part of the ${svgInfo.category} category`}>{c}</a
|
||||||
|
>
|
||||||
{/each}
|
{/each}
|
||||||
|
|
||||||
{#if svgInfo.category.length > maxVisibleCategories}
|
{#if svgInfo.category.length > maxVisibleCategories}
|
||||||
|
Loading…
Reference in New Issue
Block a user