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:
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>
|
||||
|
||||
Reference in New Issue
Block a user