From 0543bd77dbba0595fab4d254087c9526ae397b9b Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Thu, 29 Jan 2026 11:20:46 +0000 Subject: [PATCH] =?UTF-8?q?feat(a11y):=20=F0=9F=8E=A8=20add=20ARIA=20label?= =?UTF-8?q?=20to=20user=20menu=20button?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds an `aria-label` to the user avatar button in the `UserNav` component. This improves accessibility by providing a clear, descriptive label for screen reader users, who would otherwise not know the button's purpose. Co-authored-by: yacosta738 <33158051+yacosta738@users.noreply.github.com> --- client/apps/webapp/components.d.ts | 9 --------- client/apps/webapp/src/components/UserNav.vue | 6 +++++- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/client/apps/webapp/components.d.ts b/client/apps/webapp/components.d.ts index ae0bd8342..92bf4ed7e 100644 --- a/client/apps/webapp/components.d.ts +++ b/client/apps/webapp/components.d.ts @@ -5,7 +5,6 @@ // ------ // Generated by unplugin-vue-components // Read more: https://github.com/vuejs/core/pull/3399 -import { GlobalComponents } from 'vue' export {} @@ -18,11 +17,3 @@ declare module 'vue' { UserNav: typeof import('./src/components/UserNav.vue')['default'] } } - -// For TSX support -declare global { - const RouterLink: typeof import('vue-router')['RouterLink'] - const RouterView: typeof import('vue-router')['RouterView'] - const ThemeSwitcher: typeof import('./src/components/ThemeSwitcher.vue')['default'] - const UserNav: typeof import('./src/components/UserNav.vue')['default'] -} \ No newline at end of file diff --git a/client/apps/webapp/src/components/UserNav.vue b/client/apps/webapp/src/components/UserNav.vue index 869a71662..c10e97a8a 100644 --- a/client/apps/webapp/src/components/UserNav.vue +++ b/client/apps/webapp/src/components/UserNav.vue @@ -81,7 +81,11 @@ const getDisplayName = (currentUser: typeof user.value) => {