Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

fix(photos):label-sidebar-navigation-buttons

Aswin Asok9666bf83d6f0
diff --git a/web/packages/base/components/mui/SidebarDrawer.tsx b/web/packages/base/components/mui/SidebarDrawer.tsx
index 6156a3c07b..c8aac76803 100644
--- a/web/packages/base/components/mui/SidebarDrawer.tsx
+++ b/web/packages/base/components/mui/SidebarDrawer.tsx
@@ -105,13 +105,22 @@ export const SidebarDrawerTitlebar: React.FC<SidebarDrawerTitlebarProps> = ({
}) => (
<Stack sx={{ gap: "4px" }}>
<Stack direction="row" sx={{ justifyContent: "space-between" }}>
- <IconButton onClick={onClose} color="primary" sx={{ ml: "0.5rem" }}>
+ <IconButton
+ aria-label="Back"
+ onClick={onClose}
+ color="primary"
+ sx={{ ml: "0.5rem" }}
+ >
<ArrowBackIcon />
</IconButton>
<Stack direction="row" sx={{ gap: "4px" }}>
{actionButton && actionButton}
{showRootCloseButton && (
- <IconButton onClick={onRootClose} color="secondary">
+ <IconButton
+ aria-label="Close"
+ onClick={onRootClose}
+ color="secondary"
+ >
<CloseIcon />
</IconButton>
)}