From 4638a97068690c75c4b57b7bb55ff60d4eb831a7 Mon Sep 17 00:00:00 2001 From: Ceci Olivera Date: Fri, 15 Apr 2022 12:06:02 +0200 Subject: [PATCH] fix aria label on calendar day view prev and next btns --- src/components/TDatepicker/TDatepickerNavigator.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/TDatepicker/TDatepickerNavigator.ts b/src/components/TDatepicker/TDatepickerNavigator.ts index 31ae3cef..e84cb5bf 100644 --- a/src/components/TDatepicker/TDatepickerNavigator.ts +++ b/src/components/TDatepicker/TDatepickerNavigator.ts @@ -102,13 +102,13 @@ const TDatepickerNavigator = Vue.extend({ }, nextButtonAriaLabel(): string { if (this.isDayView) { - return `Next ${this.locale.yearAriaLabel}`; + return `Next ${this.locale.MonthAriaLabel}`; } return `Next ${this.locale.yearAriaLabel}`; }, prevButtonAriaLabel(): string { if (this.isDayView) { - return `Prev ${this.locale.yearAriaLabel}`; + return `Prev ${this.locale.MonthAriaLabel}`; } return `Prev ${this.locale.yearAriaLabel}`; },