feat: 增加無障礙標籤及ARIA屬性以改善可訪問性

This commit is contained in:
skytek_xinliang
2026-03-31 11:13:13 +08:00
parent 918da2f79e
commit 8dbae6c614
5 changed files with 40 additions and 12 deletions
+2 -1
View File
@@ -42,6 +42,7 @@
<v-tab v-for="tab in tabs" :key="tab.path" border="sm" :to="tab.path" :value="tab.path">
{{ tab.title }}
<v-btn
aria-label="關閉頁籤"
class="pl-2"
color="grey"
density="compact"
@@ -56,7 +57,7 @@
</v-tab>
</v-tabs>
<div class="flex-grow-1 overflow-auto" style="min-height: 0">
<div class="flex-grow-1 overflow-auto" style="min-height: 0" tabindex="0">
<router-view v-slot="{ Component }">
<keep-alive>
<component :is="Component" :key="route.fullPath" />