Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

fix(common): add missing aria-labels to icon-only sidenav links (#6160)

Rishu raya0740399b113
diff --git a/packages/hoppscotch-common/src/components/app/Sidenav.vue b/packages/hoppscotch-common/src/components/app/Sidenav.vue
index 336058e38..e325ae29b 100644
--- a/packages/hoppscotch-common/src/components/app/Sidenav.vue
+++ b/packages/hoppscotch-common/src/components/app/Sidenav.vue
@@ -10,6 +10,7 @@
content: !EXPAND_NAVIGATION ? t(navigation.title) : null,
}"
:to="navigation.target"
+ :aria-label="!EXPAND_NAVIGATION ? t(navigation.title) : null"
class="nav-link"
tabindex="0"
:exact="navigation.exact"