migration(bs5): r/sr-only/visually-hidden

This commit is contained in:
axolotle 2024-03-19 03:15:55 +01:00
parent 357405d2a3
commit 26b691d9d6
8 changed files with 10 additions and 10 deletions

View file

@ -19,12 +19,12 @@
/>
<span
class="sr-only"
class="visually-hidden"
:id="id + 'local-part-desc'"
v-t="'address.local_part_description.' + type"
/>
<span
class="sr-only"
class="visually-hidden"
:id="id + 'domain-desc'"
v-t="'address.domain_description.' + type"
/>

View file

@ -18,7 +18,7 @@
class="ms-2"
@click.stop="node.data.opened = !node.data.opened"
>
<span class="sr-only">{{ toggleText }}</span>
<span class="visually-hidden">{{ toggleText }}</span>
<YIcon iname="chevron-right" />
</BButton>
</BListGroupItem>

View file

@ -9,7 +9,7 @@
@click="open = !open"
>
<YIcon iname="question" />
<span class="sr-only">
<span class="visually-hidden">
{{ $t('details_about', { subject: title }) }}
</span>
</BButton>

View file

@ -1,7 +1,7 @@
<template>
<BBreadcrumb v-if="breadcrumb.length">
<BBreadcrumbItem to="/">
<span class="sr-only">{{ $t('home') }}</span>
<span class="visually-hidden">{{ $t('home') }}</span>
<YIcon iname="home" />
</BBreadcrumbItem>

View file

@ -34,7 +34,7 @@
}"
>
<YIcon iname="chevron-right" />
<span class="sr-only">{{ $t('words.collapse') }}</span>
<span class="visually-hidden">{{ $t('words.collapse') }}</span>
</BButton>
</template>

View file

@ -6,7 +6,7 @@
@click="clearFiles"
variant="danger"
>
<span class="sr-only">{{ $t('delete') }}</span>
<span class="visually-hidden">{{ $t('delete') }}</span>
<YIcon iname="trash" />
</BButton>
</template>

View file

@ -98,7 +98,7 @@
:href="'https://' + name + app.path"
target="_blank"
>
<span class="sr-only">{{ $t('app.visit_app') }}</span>
<span class="visually-hidden">{{ $t('app.visit_app') }}</span>
<YIcon iname="external-link" />
</BButton>
</BButton-group>

View file

@ -59,7 +59,7 @@
<BButton variant="danger" @click="removeEmailField('aliases', i)">
<YIcon :title="$t('delete')" iname="trash-o" />
<span class="sr-only">{{ $t('delete') }}</span>
<span class="visually-hidden">{{ $t('delete') }}</span>
</BButton>
</div>
@ -81,7 +81,7 @@
<BButton variant="danger" @click="removeEmailField('forward', i)">
<YIcon :title="$t('delete')" iname="trash-o" />
<span class="sr-only">{{ $t('delete') }}</span>
<span class="visually-hidden">{{ $t('delete') }}</span>
</BButton>
</div>