mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-08 15:51:16 +08:00
fix(datetime): next and previous buttons have correct labels (#25845)
resolves #25844
This commit is contained in:
@ -1839,11 +1839,11 @@ export class Datetime implements ComponentInterface {
|
|||||||
|
|
||||||
<div class="calendar-next-prev">
|
<div class="calendar-next-prev">
|
||||||
<ion-buttons>
|
<ion-buttons>
|
||||||
<ion-button disabled={prevMonthDisabled} onClick={() => this.prevMonth()}>
|
<ion-button aria-label="previous month" disabled={prevMonthDisabled} onClick={() => this.prevMonth()}>
|
||||||
<ion-icon slot="icon-only" icon={chevronBack} lazy={false} flipRtl></ion-icon>
|
<ion-icon aria-hidden="true" slot="icon-only" icon={chevronBack} lazy={false} flipRtl></ion-icon>
|
||||||
</ion-button>
|
</ion-button>
|
||||||
<ion-button disabled={nextMonthDisabled} onClick={() => this.nextMonth()}>
|
<ion-button aria-label="next month" disabled={nextMonthDisabled} onClick={() => this.nextMonth()}>
|
||||||
<ion-icon slot="icon-only" icon={chevronForward} lazy={false} flipRtl></ion-icon>
|
<ion-icon aria-hidden="true" slot="icon-only" icon={chevronForward} lazy={false} flipRtl></ion-icon>
|
||||||
</ion-button>
|
</ion-button>
|
||||||
</ion-buttons>
|
</ion-buttons>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user