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

* fix: added aria-label to prev and next month buttons

* fix: applied correct labels to buttons

---------

Co-authored-by: Shivam Bhatia <shivambhatia@Shivams-MacBook-Pro.local>
This commit is contained in:
shivambhatia604
2024-10-20 11:59:19 +00:00
committed by GitHub
co-authored by Shivam Bhatia
parent 4cf3627d52
commit bf9be5915c
@@ -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>