Skip to content

Commit dd83bdd

Browse files
committed
fix: Add aria-label to display the day of the week
1 parent 4500100 commit dd83bdd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/calendar.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,7 @@ export default class Calendar extends React.Component {
444444
return (
445445
<div
446446
key={offset}
447+
aria-label={formatDate(day, "EEEE", this.props.locale)}
447448
className={clsx("react-datepicker__day-name", weekDayClassName)}
448449
>
449450
{weekDayName}

0 commit comments

Comments
 (0)