Skip to content

Commit 9394632

Browse files
authored
fix(ui): remove back button title on privacy page (#1088)
1 parent c5a29f3 commit 9394632

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/pages/privacy.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,11 @@ const { locale } = useI18n()
2828
</h1>
2929
<button
3030
type="button"
31-
:title="$t('nav.back')"
3231
class="inline-flex items-center gap-2 font-mono text-sm text-fg-muted hover:text-fg transition-colors duration-200 rounded focus-visible:outline-accent/70 shrink-0"
3332
@click="router.back()"
3433
>
3534
<span class="i-carbon:arrow-left rtl-flip w-4 h-4" aria-hidden="true" />
36-
<span class="hidden sm:inline">{{ $t('nav.back') }}</span>
35+
<span class="sr-only sm:not-sr-only">{{ $t('nav.back') }}</span>
3736
</button>
3837
</div>
3938
<i18n-t

0 commit comments

Comments
 (0)