Skip to content

Commit 32b8fca

Browse files
(DateInput, DatePicker): remove unnecessary a11y attributes
1 parent 5ac7ffe commit 32b8fca

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/scripts/DateInput.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,6 @@ 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'
362361
tabIndex={-1}
363362
onClick={props.disabled ? undefined : onDateIconClick}
364363
onBlur={onInputBlur}

src/scripts/Datepicker.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,6 @@ export const Datepicker: FC<DatepickerProps> = (props) => {
496496
tabIndex={-1}
497497
role='dialog'
498498
aria-hidden={false}
499-
aria-label={`Date picker: ${dayjs.monthsShort()[cal.month]}`}
500499
onBlur={onBlur}
501500
onKeyDown={onKeyDown}
502501
>

0 commit comments

Comments
 (0)