Skip to content

Build your personal knowledge base with Trilium Notes

style/right pane toggle handle: fix some issues

Adorian Doran18355404b20c
diff --git a/apps/client/src/widgets/sidebar/RightPaneToggleHandle.tsx b/apps/client/src/widgets/sidebar/RightPaneToggleHandle.tsx
index cd744d90a0..427d9dcc22 100644
--- a/apps/client/src/widgets/sidebar/RightPaneToggleHandle.tsx
+++ b/apps/client/src/widgets/sidebar/RightPaneToggleHandle.tsx
@@ -52,6 +52,8 @@ export default function RightPaneToggleHandle({ rightPaneVisible }: RightPaneTog
return (
<button
ref={buttonRef}
+ type="button"
+ aria-label={t("right_pane.toggle")}
class={clsx(
"right-pane-toggle-handle bx",
rightPaneVisible ? "bx-chevron-right" : "bx-chevron-left",