Add aria label for mobile sidebar links
Signed-off-by: Raghunandan <soapraj@gmail.com>
This commit is contained in:
@@ -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}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user