merge: worktree-a11y-fixes into main
Some checks failed
Test / vitest (push) Successful in 12m45s
Test / playwright (push) Failing after 10m5s
Test / visual (push) Failing after 9m16s

Accessibility fixes (aria-labels, color contrast, html lang, inline link
underlines), atomic dev login endpoints, and E2E test hardening.
This commit is contained in:
Jennie Robinson Faber 2026-04-05 22:04:54 +01:00
commit bab53cec9e
31 changed files with 792 additions and 162 deletions

View file

@ -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>