fix: WCAG fastpass

This commit is contained in:
skytek_xinliang
2026-03-31 09:57:28 +08:00
parent 52eb09eccf
commit 918da2f79e
8 changed files with 35 additions and 12 deletions
+4
View File
@@ -2,6 +2,7 @@
<div class="d-flex justify-end py-0 py-sm-2">
<v-btn
class="d-none d-md-block"
:aria-label="t('pages.login.toolbar.toggleTheme')"
color="grey-darken-1"
:icon="mdiPaletteOutline"
size="small"
@@ -12,6 +13,7 @@
<template #activator="{ props: menuActivatorProps }">
<v-btn
v-bind="menuActivatorProps"
:aria-label="t('pages.login.toolbar.selectLocale')"
color="grey-darken-1"
:icon="mdiTranslate"
size="small"
@@ -35,6 +37,7 @@
<script setup lang="ts">
import { mdiPaletteOutline, mdiTranslate } from '@mdi/js'
import { computed } from 'vue'
import { useI18n } from 'vue-i18n'
import { useTheme } from 'vuetify'
import { getNextThemeName } from '@/utils/theme'
@@ -55,6 +58,7 @@ const props = withDefaults(defineProps<Props>(), {
const emit = defineEmits(['change-locale', 'toggle-layout'])
const { t } = useI18n()
const theme = useTheme()
const availableThemeNames = computed(() =>