mirror of
https://github.com/pheralb/svgl.git
synced 2024-12-05 05:42:35 +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">
|
||||
{#if Array.isArray(svgInfo.category)}
|
||||
{#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}
|
||||
|
||||
{#if svgInfo.category.length > maxVisibleCategories}
|
||||
|
Loading…
Reference in New Issue
Block a user