Skip to content

Scheduling infrastructure for absolutely everyone.

fix: added aria-label to prev and next month buttons (#17198)

shivambhatia604bf9be5915c6b
diff --git a/packages/features/calendars/DatePicker.tsx b/packages/features/calendars/DatePicker.tsx
index 1a46fdac541..3e9b7b5c315 100644
--- a/packages/features/calendars/DatePicker.tsx
+++ b/packages/features/calendars/DatePicker.tsx
@@ -358,6 +358,7 @@ const DatePicker = ({
color="minimal"
variant="icon"
StartIcon="chevron-left"
+ aria-label="Previous Month"
/>
<Button
className={classNames(
@@ -369,6 +370,7 @@ const DatePicker = ({
color="minimal"
variant="icon"
StartIcon="chevron-right"
+ aria-label="Next Month"
/>
</div>
</div>