mirror of
https://github.com/tuna/mirror-web.git
synced 2025-12-25 20:32:46 +00:00
mirror-list: fix aria-label
Signed-off-by: Miao Wang <shankerwangmiao@gmail.com>
This commit is contained in:
parent
aa2f9c579a
commit
0c40ad5f68
|
|
@ -25,7 +25,7 @@
|
||||||
href="{{url}}" title="{{description}}"
|
href="{{url}}" title="{{description}}"
|
||||||
{% endraw %}{% else %}{% raw %}
|
{% endraw %}{% else %}{% raw %}
|
||||||
data-bs-toggle="popover" data-bs-trigger="hover" data-bs-placement="right"
|
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
|
v-with-popover
|
||||||
{% endraw %}{% endif %}
|
{% endraw %}{% endif %}
|
||||||
>
|
>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue