Skip to content

Commit 0918814

Browse files
Fix date input missing role="group" accessibility issue
1 parent aca40cc commit 0918814

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
@@ -70,6 +70,7 @@ const DateInputComponent = ({
7070

7171
return (
7272
<SingleInputFormGroup<Omit<DateInputProps, 'value' | 'defaultValue'>>
73+
fieldsetProps={{ role: 'group' }}
7374
inputType="dateinput"
7475
{...rest}
7576
>

0 commit comments

Comments
 (0)