Add aria label for mobile sidebar links

Signed-off-by: Raghunandan <soapraj@gmail.com>
This commit is contained in:
Raghunandan
2023-01-27 10:28:43 +01:00
parent bea00428f2
commit 9c4a72dff0
@@ -23,7 +23,7 @@ import { makeStyles } from '@material-ui/core/styles';
import React, { useContext } from 'react';
import { useLocation } from 'react-router-dom';
import { Link } from '../../components';
import { SidebarConfigContext, SidebarConfig } from './config';
import { SidebarConfig, SidebarConfigContext } from './config';
import { MobileSidebarContext } from './MobileSidebar';
import { useSidebarPinState } from './SidebarPinStateContext';
@@ -109,6 +109,7 @@ const MobileSidebarGroup = (props: SidebarGroupProps) => {
value={value}
selected={selected}
classes={classes}
aria-label={label}
/>
);
};