Skip to content

Commit f98fb86

Browse files
author
Hector Arce De Las Heras
committed
Delete aria-label prop to title to Drawer
1 parent 60a9e47 commit f98fb86

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/components/drawer/drawerStandAlone.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import { Footer } from '@/components/footer';
55
import { PopoverControlled as Popover } from '@/components/popover';
66
import { Text, TextComponentType } from '@/components/text';
77
import { useId } from '@/hooks';
8-
import { ROLES } from '@/types';
98

109
import {
1110
DrawerContentStyled,
@@ -59,13 +58,11 @@ const DrawerStandAloneComponent = (
5958
>
6059
<DrawerTitleStyled
6160
ref={shadowRef}
62-
aria-label={typeof props.title?.content === 'string' ? props.title.content : undefined}
6361
as={Text as unknown as React.ElementType}
6462
component={DrawerTitleComponentType.H3 as unknown as TextComponentType}
6563
customTypography={props.styles.title}
6664
dataTestId={`${titleIdFinal}Title`}
6765
id={titleIdFinal}
68-
role={ROLES.NAVIGATION}
6966
{...props.title}
7067
>
7168
{props.title?.content}

0 commit comments

Comments
 (0)