Skip to content

Commit 75f8e65

Browse files
Fix date input missing role="group" accessibility issue
1 parent 12194ea commit 75f8e65

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/form-elements/date-input/DateInput.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ const DateInputComponent = ({
7777

7878
return (
7979
<SingleInputFormGroup<Omit<DateInputProps, 'value' | 'defaultValue'>>
80+
fieldsetProps={{ role: 'group' }}
8081
inputType="dateinput"
8182
{...rest}
8283
>

0 commit comments

Comments
 (0)