Skip to content

Commit d27457c

Browse files
(DateInput): improve a11y
1 parent 434a501 commit d27457c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/scripts/DateInput.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,7 @@ export const DateInput = createFC<DateInputProps, { isFormElement: boolean }>(
358358
icon='event'
359359
disabled={props.disabled}
360360
className='slds-input__icon slds-input__icon_right'
361+
alt='Select a date'
361362
tabIndex={-1}
362363
onClick={props.disabled ? undefined : onDateIconClick}
363364
onBlur={onInputBlur}

0 commit comments

Comments
 (0)