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 <[email protected]>
This commit is contained in:
1 parent
4cf3627d52
commit
bf9be5915c
1 file changed
+2
@@ -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