SideDrawer: add aria-label

This commit is contained in:
Sidney Alcantara
2022-10-25 15:50:15 +11:00
parent 6f71c14035
commit 7d79c85880

View File

@@ -122,7 +122,9 @@ export default function SideDrawer({
)}
variant="permanent"
anchor="right"
PaperProps={{ elevation: 4, component: "aside" } as any}
PaperProps={
{ elevation: 4, component: "aside", "aria-label": "Side drawer" } as any
}
>
<ErrorBoundary FallbackComponent={ErrorFallback}>
<div className="sidedrawer-contents">