Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

Fix accessibility issue

Smaug6739c9f89ad07300
diff --git a/frontend/components/Navbar.vue b/frontend/components/Navbar.vue
index 5bf3a7fd..1712faae 100644
--- a/frontend/components/Navbar.vue
+++ b/frontend/components/Navbar.vue
@@ -1,13 +1,13 @@
<template>
<header>
- <button v-if="!isOpened" @click="toggleSidebar" class="open-sidebar">
+ <button v-if="!isOpened" @click="toggleSidebar" class="open-sidebar" aria-label="open sidebar">
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24">
<path d="M120-240v-80h720v80H120Zm0-200v-80h720v80H120Zm0-200v-80h720v80H120Z" />
</svg>
</button>
<IconApp v-if="!isOpened" style="width: 40" />
<BreadCrumb v-if="!isMobile()" />
- <ThemeToggle style="margin-left: auto" />
+ <ThemeToggle style="margin-left: auto" aria-label="toggle theme" />
</header>
</template>