merge: worktree-a11y-fixes into main
Accessibility fixes (aria-labels, color contrast, html lang, inline link underlines), atomic dev login endpoints, and E2E test hardening.
This commit is contained in:
commit
bab53cec9e
31 changed files with 792 additions and 162 deletions
|
|
@ -151,6 +151,7 @@
|
|||
<script setup>
|
||||
const route = useRoute();
|
||||
const isMobileMenuOpen = ref(false);
|
||||
const { logout } = useAuth();
|
||||
|
||||
const pageBreadcrumbTitle = useState("pageBreadcrumbTitle", () => "");
|
||||
|
||||
|
|
@ -163,15 +164,6 @@ const currentPageName = computed(() => {
|
|||
}
|
||||
return segments.join(" / ");
|
||||
});
|
||||
|
||||
const logout = async () => {
|
||||
try {
|
||||
await $fetch("/api/auth/logout", { method: "POST" });
|
||||
await navigateTo("/");
|
||||
} catch (error) {
|
||||
console.error("Logout failed:", error);
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue