mirror-list: fix aria-label

Signed-off-by: Miao Wang <shankerwangmiao@gmail.com>
This commit is contained in:
Miao Wang 2024-04-28 00:29:10 +08:00
parent aa2f9c579a
commit 0c40ad5f68

View File

@ -25,7 +25,7 @@
href="{{url}}" title="{{description}}"
{% endraw %}{% else %}{% raw %}
data-bs-toggle="popover" data-bs-trigger="hover" data-bs-placement="right"
:data-bs-content="mir.description" :href="mir.url" :aria-label="mir.name + ', ' + mir.description"
:data-bs-content="mir.description" :href="mir.url" :aria-label="mir.name + (mir.description ? ', ' + mir.description : '')"
v-with-popover
{% endraw %}{% endif %}
>