From f0af886cd5e6d7d226b34fcb8c783f3b8219ef74 Mon Sep 17 00:00:00 2001 From: tongsonbarbs Date: Thu, 10 Oct 2024 09:19:55 +0800 Subject: [PATCH 1/5] initial commit --- .../tests/scheduler/a11y/appointment.ts | 25 +++++++++++++++++++ .../scheduler/appointments/m_appointment.ts | 6 ++--- .../appointments/m_appointment_layout.ts | 7 ++++-- .../js/localization/messages/ar.json | 1 + .../js/localization/messages/ca.json | 1 + .../js/localization/messages/cs.json | 1 + .../js/localization/messages/de.json | 1 + .../js/localization/messages/el.json | 1 + .../js/localization/messages/en.json | 1 + .../js/localization/messages/es.json | 1 + .../js/localization/messages/fa.json | 1 + .../js/localization/messages/fi.json | 1 + .../js/localization/messages/fr.json | 1 + .../js/localization/messages/hu.json | 1 + .../js/localization/messages/it.json | 1 + .../js/localization/messages/ja.json | 1 + .../js/localization/messages/lt.json | 1 + .../js/localization/messages/lv.json | 1 + .../js/localization/messages/nb.json | 1 + .../js/localization/messages/nl.json | 1 + .../js/localization/messages/pl.json | 1 + .../js/localization/messages/pt.json | 1 + .../js/localization/messages/ro.json | 1 + .../js/localization/messages/ru.json | 1 + .../js/localization/messages/sl.json | 1 + .../js/localization/messages/sv.json | 1 + .../js/localization/messages/tr.json | 1 + .../js/localization/messages/vi.json | 1 + .../js/localization/messages/zh-tw.json | 1 + .../js/localization/messages/zh.json | 1 + .../scheduler/appointment/index.ts | 5 ++++ 31 files changed, 64 insertions(+), 6 deletions(-) diff --git a/e2e/testcafe-devextreme/tests/scheduler/a11y/appointment.ts b/e2e/testcafe-devextreme/tests/scheduler/a11y/appointment.ts index 92cc200deae6..eb2b89ae58fc 100644 --- a/e2e/testcafe-devextreme/tests/scheduler/a11y/appointment.ts +++ b/e2e/testcafe-devextreme/tests/scheduler/a11y/appointment.ts @@ -231,3 +231,28 @@ test('appointments & collector buttons can be navigated', async (t) => { currentDate: new Date(2021, 1, 1), }); }); + +test('Scheduler a11y: appointments does not have info about reccurence', async (t) => { + const scheduler = new Scheduler('#container'); + const recurrenceIcon = scheduler.getAppointment('Website Re-Design Plan').getRecurrenceElement(); + + await t + .expect(recurrenceIcon.getAttribute('aria-label')) + .eql('Recurring Appointment'); +}).before(async () => { + await createWidget('dxScheduler', { + timeZone: 'America/Los_Angeles', + dataSource: [ + { + text: 'Website Re-Design Plan', + startDate: new Date('2021-04-26T16:30:00.000Z'), + endDate: new Date('2021-04-26T18:30:00.000Z'), + recurrenceRule: 'FREQ=WEEKLY;BYDAY=MO,TH;COUNT=10', + }, + ], + views: ['day', 'week', 'workWeek', 'month'], + currentView: 'day', + currentDate: new Date(2021, 3, 29), + startDayHour: 9, + }); +}); diff --git a/packages/devextreme/js/__internal/scheduler/appointments/m_appointment.ts b/packages/devextreme/js/__internal/scheduler/appointments/m_appointment.ts index 80d1967897d7..0dd31f4410de 100644 --- a/packages/devextreme/js/__internal/scheduler/appointments/m_appointment.ts +++ b/packages/devextreme/js/__internal/scheduler/appointments/m_appointment.ts @@ -150,10 +150,9 @@ export class Appointment extends DOMComponent { this._renderDragSourceClass(); this._renderDirection(); - (this.$element() as any).data('dxAppointmentStartDate', this.option('startDate')); - const text = ExpressionUtils.getField(this.option('dataAccessors'), 'text', this.rawAppointment); (this.$element() as any).attr('title', text); + (this.$element() as any).data('dxAppointmentStartDate', this.option('startDate')); (this.$element() as any).attr('role', 'button'); this._renderRecurrenceClass(); @@ -208,14 +207,13 @@ export class Appointment extends DOMComponent { _renderAriaLabel() { // @ts-expect-error const $element: dxElementWrapper = this.$element(); - const ariaLabel = [ this._getDateText(), this._getGroupText(), ] .filter((label) => !!label) .join(', '); - $element.attr('aria-label', `${ariaLabel}, `); + $element.attr('aria-roledescription', `${ariaLabel}, `); } _renderAppointmentGeometry() { diff --git a/packages/devextreme/js/__internal/scheduler/appointments/m_appointment_layout.ts b/packages/devextreme/js/__internal/scheduler/appointments/m_appointment_layout.ts index 594c4fbcf02b..b47ff64e778a 100644 --- a/packages/devextreme/js/__internal/scheduler/appointments/m_appointment_layout.ts +++ b/packages/devextreme/js/__internal/scheduler/appointments/m_appointment_layout.ts @@ -5,6 +5,7 @@ import messageLocalization from '@js/localization/message'; import { APPOINTMENT_CONTENT_CLASSES } from '../m_classes'; const allDayText = ` ${messageLocalization.format('dxScheduler-allDay')}: `; +const recurringText = messageLocalization.format('dxScheduler-appointmentAriaLabel-recurring'); export const createAppointmentLayout = (formatText, config) => { const result = $((domAdapter as any).createDocumentFragment()); @@ -23,7 +24,8 @@ export const createAppointmentLayout = (formatText, config) => { $('
').addClass(APPOINTMENT_CONTENT_CLASSES.APPOINTMENT_DATE).text(formatText.formatDate).appendTo($contentDetails); config.isRecurrence - && $('').addClass(`${APPOINTMENT_CONTENT_CLASSES.RECURRING_ICON} dx-icon-repeat`).appendTo(result); + && $('').addClass(`${APPOINTMENT_CONTENT_CLASSES.RECURRING_ICON} dx-icon-repeat`).attr('role', 'presentation').attr('aria-label', recurringText) + .appendTo(result); config.isAllDay && $('
') @@ -51,7 +53,8 @@ export const createAgendaAppointmentLayout = (formatText, config) => { .appendTo(leftLayoutContainer); config.isRecurrence - && $('').addClass(`${APPOINTMENT_CONTENT_CLASSES.RECURRING_ICON} dx-icon-repeat`).appendTo(marker); + && $('').addClass(`${APPOINTMENT_CONTENT_CLASSES.RECURRING_ICON} dx-icon-repeat`).attr('role', 'presentation').attr('aria-label', recurringText) + .appendTo(marker); // eslint-disable-next-line @typescript-eslint/no-unused-vars const text = $('
') diff --git a/packages/devextreme/js/localization/messages/ar.json b/packages/devextreme/js/localization/messages/ar.json index db7a9534e6cd..99e73f72e2dc 100644 --- a/packages/devextreme/js/localization/messages/ar.json +++ b/packages/devextreme/js/localization/messages/ar.json @@ -237,6 +237,7 @@ "dxPivotGrid-filterFieldArea": "إفلات حقول التصفية هنا", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", "dxScheduler-editorLabelTitle": "الموضوع", "dxScheduler-editorLabelStartDate": "تاريخ البدء", diff --git a/packages/devextreme/js/localization/messages/ca.json b/packages/devextreme/js/localization/messages/ca.json index 2bc38ef0e858..8201806b1beb 100644 --- a/packages/devextreme/js/localization/messages/ca.json +++ b/packages/devextreme/js/localization/messages/ca.json @@ -237,6 +237,7 @@ "dxPivotGrid-filterFieldArea": "Els camps de filtre de baixada aquí", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", "dxScheduler-editorLabelTitle": "Assignatura", "dxScheduler-editorLabelStartDate": "Data d'inici", diff --git a/packages/devextreme/js/localization/messages/cs.json b/packages/devextreme/js/localization/messages/cs.json index 180fb7f181a7..f4ae005b10e4 100644 --- a/packages/devextreme/js/localization/messages/cs.json +++ b/packages/devextreme/js/localization/messages/cs.json @@ -237,6 +237,7 @@ "dxPivotGrid-filterFieldArea": "Zde vložte filtr pole", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", "dxScheduler-editorLabelTitle": "Předmět", "dxScheduler-editorLabelStartDate": "Počáteční datum", diff --git a/packages/devextreme/js/localization/messages/de.json b/packages/devextreme/js/localization/messages/de.json index 520f9e348d55..7cf6f2327756 100644 --- a/packages/devextreme/js/localization/messages/de.json +++ b/packages/devextreme/js/localization/messages/de.json @@ -237,6 +237,7 @@ "dxPivotGrid-filterFieldArea": "Filterfelder hierher ziehen", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", "dxScheduler-editorLabelTitle": "Betreff", "dxScheduler-editorLabelStartDate": "Anfangszeit", diff --git a/packages/devextreme/js/localization/messages/el.json b/packages/devextreme/js/localization/messages/el.json index 2ebbbef3638c..61bb8da91d09 100644 --- a/packages/devextreme/js/localization/messages/el.json +++ b/packages/devextreme/js/localization/messages/el.json @@ -237,6 +237,7 @@ "dxPivotGrid-filterFieldArea": "Τοποθετήστε τα πεδία φίλτρων εδώ", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", "dxScheduler-editorLabelTitle": "Θέμα", "dxScheduler-editorLabelStartDate": "Ημερομηνία έναρξης", diff --git a/packages/devextreme/js/localization/messages/en.json b/packages/devextreme/js/localization/messages/en.json index b3512beaf778..6f544dba3a53 100644 --- a/packages/devextreme/js/localization/messages/en.json +++ b/packages/devextreme/js/localization/messages/en.json @@ -237,6 +237,7 @@ "dxPivotGrid-filterFieldArea": "Drop Filter Fields Here", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", "dxScheduler-editorLabelTitle": "Subject", "dxScheduler-editorLabelStartDate": "Start Date", diff --git a/packages/devextreme/js/localization/messages/es.json b/packages/devextreme/js/localization/messages/es.json index d9b12bc40404..ece870bc5898 100644 --- a/packages/devextreme/js/localization/messages/es.json +++ b/packages/devextreme/js/localization/messages/es.json @@ -237,6 +237,7 @@ "dxPivotGrid-filterFieldArea": "Arrastra campos de filtro aquí", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", "dxScheduler-editorLabelTitle": "Asunto", "dxScheduler-editorLabelStartDate": "Fecha inicial", diff --git a/packages/devextreme/js/localization/messages/fa.json b/packages/devextreme/js/localization/messages/fa.json index be74bca0f1c8..92ea89c744c1 100644 --- a/packages/devextreme/js/localization/messages/fa.json +++ b/packages/devextreme/js/localization/messages/fa.json @@ -237,6 +237,7 @@ "dxPivotGrid-filterFieldArea": "فیلدهای مربوط به فیلتر را به اینجا انتقال دهید (درگ نمایید)", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", "dxScheduler-editorLabelTitle": "موضوع", "dxScheduler-editorLabelStartDate": "تاریخ شروع", diff --git a/packages/devextreme/js/localization/messages/fi.json b/packages/devextreme/js/localization/messages/fi.json index 3168ba7374ab..9bb684cea5b4 100644 --- a/packages/devextreme/js/localization/messages/fi.json +++ b/packages/devextreme/js/localization/messages/fi.json @@ -237,6 +237,7 @@ "dxPivotGrid-filterFieldArea": "Pudota suodatinkentät tähän", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", "dxScheduler-editorLabelTitle": "Aihe", "dxScheduler-editorLabelStartDate": "Alkamispäivä", diff --git a/packages/devextreme/js/localization/messages/fr.json b/packages/devextreme/js/localization/messages/fr.json index e19ece072a6f..965266248775 100644 --- a/packages/devextreme/js/localization/messages/fr.json +++ b/packages/devextreme/js/localization/messages/fr.json @@ -237,6 +237,7 @@ "dxPivotGrid-filterFieldArea": "Déposer les champs de filtre ici", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", "dxScheduler-editorLabelTitle": "Titre", "dxScheduler-editorLabelStartDate": "Date de début", diff --git a/packages/devextreme/js/localization/messages/hu.json b/packages/devextreme/js/localization/messages/hu.json index a93d2c8fb449..9bfadb1e443d 100644 --- a/packages/devextreme/js/localization/messages/hu.json +++ b/packages/devextreme/js/localization/messages/hu.json @@ -237,6 +237,7 @@ "dxPivotGrid-filterFieldArea": "Húzza a szűrőmezőket ide", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", "dxScheduler-editorLabelTitle": "Tárgy", "dxScheduler-editorLabelStartDate": "Kezdés dátuma", diff --git a/packages/devextreme/js/localization/messages/it.json b/packages/devextreme/js/localization/messages/it.json index ae35b1d3448c..dbc8c4850071 100644 --- a/packages/devextreme/js/localization/messages/it.json +++ b/packages/devextreme/js/localization/messages/it.json @@ -237,6 +237,7 @@ "dxPivotGrid-filterFieldArea": "Trascina qui i campi filtro", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", "dxScheduler-editorLabelTitle": "Oggetto", "dxScheduler-editorLabelStartDate": "Data inizio", diff --git a/packages/devextreme/js/localization/messages/ja.json b/packages/devextreme/js/localization/messages/ja.json index ba9a1e97e3b4..5a9a7f132e90 100644 --- a/packages/devextreme/js/localization/messages/ja.json +++ b/packages/devextreme/js/localization/messages/ja.json @@ -237,6 +237,7 @@ "dxPivotGrid-filterFieldArea": "フィルター フィールドをこちらへドラッグ&ドロップ", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", "dxScheduler-editorLabelTitle": "件名", "dxScheduler-editorLabelStartDate": "開始時刻", diff --git a/packages/devextreme/js/localization/messages/lt.json b/packages/devextreme/js/localization/messages/lt.json index 8b49d006b5d0..ef264b4c0508 100644 --- a/packages/devextreme/js/localization/messages/lt.json +++ b/packages/devextreme/js/localization/messages/lt.json @@ -237,6 +237,7 @@ "dxPivotGrid-filterFieldArea": "Numeskite filtrų laukus čia", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", "dxScheduler-editorLabelTitle": "Tema", "dxScheduler-editorLabelStartDate": "Pradžios data", diff --git a/packages/devextreme/js/localization/messages/lv.json b/packages/devextreme/js/localization/messages/lv.json index 8b344f1d4096..7cba0bfa2e58 100644 --- a/packages/devextreme/js/localization/messages/lv.json +++ b/packages/devextreme/js/localization/messages/lv.json @@ -237,6 +237,7 @@ "dxPivotGrid-filterFieldArea": "Nomest Filtra Laukus Šeit", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", "dxScheduler-editorLabelTitle": "Nosaukums", "dxScheduler-editorLabelStartDate": "Sākuma Datums", diff --git a/packages/devextreme/js/localization/messages/nb.json b/packages/devextreme/js/localization/messages/nb.json index 611ba331a05f..af1adf48bb2e 100644 --- a/packages/devextreme/js/localization/messages/nb.json +++ b/packages/devextreme/js/localization/messages/nb.json @@ -237,6 +237,7 @@ "dxPivotGrid-filterFieldArea": "Slipp filterfelter her", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", "dxScheduler-editorLabelTitle": "Emne", "dxScheduler-editorLabelStartDate": "Startdato", diff --git a/packages/devextreme/js/localization/messages/nl.json b/packages/devextreme/js/localization/messages/nl.json index e10a11f62047..3d336d708153 100644 --- a/packages/devextreme/js/localization/messages/nl.json +++ b/packages/devextreme/js/localization/messages/nl.json @@ -237,6 +237,7 @@ "dxPivotGrid-filterFieldArea": "Sleep Filtervelden Hier", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", "dxScheduler-editorLabelTitle": "Onderwerp", "dxScheduler-editorLabelStartDate": "Startdatum", diff --git a/packages/devextreme/js/localization/messages/pl.json b/packages/devextreme/js/localization/messages/pl.json index d74da5133d9b..a9e5e6b05ce2 100644 --- a/packages/devextreme/js/localization/messages/pl.json +++ b/packages/devextreme/js/localization/messages/pl.json @@ -237,6 +237,7 @@ "dxPivotGrid-filterFieldArea": "Przeciągnij pola filtra tutaj", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", "dxScheduler-editorLabelTitle": "Dotyczy", "dxScheduler-editorLabelStartDate": "Czas rozpoczęcia", diff --git a/packages/devextreme/js/localization/messages/pt.json b/packages/devextreme/js/localization/messages/pt.json index 0c2e21c2ca22..b7b31eea6b3a 100644 --- a/packages/devextreme/js/localization/messages/pt.json +++ b/packages/devextreme/js/localization/messages/pt.json @@ -237,6 +237,7 @@ "dxPivotGrid-filterFieldArea": "Arraste os campos de filtro até aqui", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", "dxScheduler-editorLabelTitle": "Assunto", "dxScheduler-editorLabelStartDate": "Data de Início", diff --git a/packages/devextreme/js/localization/messages/ro.json b/packages/devextreme/js/localization/messages/ro.json index 747ee18ee33a..d91522873fd7 100644 --- a/packages/devextreme/js/localization/messages/ro.json +++ b/packages/devextreme/js/localization/messages/ro.json @@ -237,6 +237,7 @@ "dxPivotGrid-filterFieldArea": "Plasați câmpurile de filtrare aici", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", "dxScheduler-editorLabelTitle": "Subiect", "dxScheduler-editorLabelStartDate": "Data de început", diff --git a/packages/devextreme/js/localization/messages/ru.json b/packages/devextreme/js/localization/messages/ru.json index 504d4e993f8f..43088d9f3a4e 100644 --- a/packages/devextreme/js/localization/messages/ru.json +++ b/packages/devextreme/js/localization/messages/ru.json @@ -237,6 +237,7 @@ "dxPivotGrid-filterFieldArea": "Перетащите поля фильтров cюда", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", "dxScheduler-editorLabelTitle": "Название", "dxScheduler-editorLabelStartDate": "Дата начала", diff --git a/packages/devextreme/js/localization/messages/sl.json b/packages/devextreme/js/localization/messages/sl.json index 7224931e8789..2dd6d468090e 100644 --- a/packages/devextreme/js/localization/messages/sl.json +++ b/packages/devextreme/js/localization/messages/sl.json @@ -237,6 +237,7 @@ "dxPivotGrid-filterFieldArea": "Povleci filtre tukaj", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", "dxScheduler-editorLabelTitle": "Predmet", "dxScheduler-editorLabelStartDate": "Datum začetka", diff --git a/packages/devextreme/js/localization/messages/sv.json b/packages/devextreme/js/localization/messages/sv.json index 70d9428c3c36..4b11ce33d286 100644 --- a/packages/devextreme/js/localization/messages/sv.json +++ b/packages/devextreme/js/localization/messages/sv.json @@ -237,6 +237,7 @@ "dxPivotGrid-filterFieldArea": "Släpp filterfält här", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", "dxScheduler-editorLabelTitle": "Ämne", "dxScheduler-editorLabelStartDate": "Startdatum", diff --git a/packages/devextreme/js/localization/messages/tr.json b/packages/devextreme/js/localization/messages/tr.json index 6e2e2ae3b32c..c045ed40130a 100644 --- a/packages/devextreme/js/localization/messages/tr.json +++ b/packages/devextreme/js/localization/messages/tr.json @@ -237,6 +237,7 @@ "dxPivotGrid-filterFieldArea": "Filtre Alanlarını Buraya Bırak", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", "dxScheduler-editorLabelTitle": "Konu", "dxScheduler-editorLabelStartDate": "Başlangıç Tarihi", diff --git a/packages/devextreme/js/localization/messages/vi.json b/packages/devextreme/js/localization/messages/vi.json index a7ec7392363d..734f99ec8e01 100644 --- a/packages/devextreme/js/localization/messages/vi.json +++ b/packages/devextreme/js/localization/messages/vi.json @@ -237,6 +237,7 @@ "dxPivotGrid-filterFieldArea": "Thả bộ lọc các trường vào đây", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", "dxScheduler-editorLabelTitle": "Chủ đề", "dxScheduler-editorLabelStartDate": "Ngày bắt đầu", diff --git a/packages/devextreme/js/localization/messages/zh-tw.json b/packages/devextreme/js/localization/messages/zh-tw.json index 5ad64f952fc8..98bacdf76268 100644 --- a/packages/devextreme/js/localization/messages/zh-tw.json +++ b/packages/devextreme/js/localization/messages/zh-tw.json @@ -237,6 +237,7 @@ "dxPivotGrid-filterFieldArea": "拖動篩選欄位到此處", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", "dxScheduler-editorLabelTitle": "標題", "dxScheduler-editorLabelStartDate": "開始日期", diff --git a/packages/devextreme/js/localization/messages/zh.json b/packages/devextreme/js/localization/messages/zh.json index f04dcbcfa0df..6f6ba3c5b6fa 100644 --- a/packages/devextreme/js/localization/messages/zh.json +++ b/packages/devextreme/js/localization/messages/zh.json @@ -237,6 +237,7 @@ "dxPivotGrid-filterFieldArea": "拖动筛选字段到此处", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", "dxScheduler-editorLabelTitle": "标题", "dxScheduler-editorLabelStartDate": "开始日期", diff --git a/packages/testcafe-models/scheduler/appointment/index.ts b/packages/testcafe-models/scheduler/appointment/index.ts index 86a953e2eba5..5aa1936d9a0a 100644 --- a/packages/testcafe-models/scheduler/appointment/index.ts +++ b/packages/testcafe-models/scheduler/appointment/index.ts @@ -4,6 +4,7 @@ const CLASS = { appointment: 'dx-scheduler-appointment', appointmentContentDate: 'dx-scheduler-appointment-content-date', dateTableCell: 'dx-scheduler-date-table-cell', + appoinmentRecurrenceIcon: 'dx-scheduler-appointment-recurrence-icon', resizableHandleBottom: 'dx-resizable-handle-bottom', resizableHandleLeft: 'dx-resizable-handle-left', resizableHandleRight: 'dx-resizable-handle-right', @@ -109,4 +110,8 @@ export default class Appointment { .parent(0).find(`.${CLASS.resources.value}`) .innerText; } + + getRecurrenceElement(): Selector { + return this.element.find(`.${CLASS.appoinmentRecurrenceIcon}`); + } } From dc6b847f7ecc86dfb21d1ed062e2030a47c70e77 Mon Sep 17 00:00:00 2001 From: tongsonbarbs Date: Thu, 10 Oct 2024 10:47:25 +0800 Subject: [PATCH 2/5] roledescription --- e2e/testcafe-devextreme/tests/scheduler/a11y/appointment.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/e2e/testcafe-devextreme/tests/scheduler/a11y/appointment.ts b/e2e/testcafe-devextreme/tests/scheduler/a11y/appointment.ts index eb2b89ae58fc..c8c8d515535d 100644 --- a/e2e/testcafe-devextreme/tests/scheduler/a11y/appointment.ts +++ b/e2e/testcafe-devextreme/tests/scheduler/a11y/appointment.ts @@ -32,7 +32,7 @@ fixture.disablePageReloads`a11y - appointment` const attrs = await scheduler.getAppointment('App 1').element.attributes; await t - .expect(attrs['aria-label']) + .expect(attrs['aria-roledescription']) .eql('February 1, 2021, Group: resource1, '); }).before(async () => { await createWidget('dxScheduler', { @@ -63,7 +63,7 @@ fixture.disablePageReloads`a11y - appointment` const attrs = await scheduler.getAppointment('App 1').element.attributes; await t - .expect(attrs['aria-label']) + .expect(attrs['aria-roledescription']) .eql('February 1, 2021, Group: resource11, resource21, '); }).before(async () => { await createWidget('dxScheduler', { @@ -128,7 +128,7 @@ fixture.disablePageReloads`a11y - appointment` async (i) => { const appt = scheduler.getAppointment('App 1', i); const attrs = await appt.element.attributes; - return attrs['aria-label']; + return attrs['aria-roledescription']; }, )); From e87f860e71efba94a9df5d8cf5c1240a57af3c36 Mon Sep 17 00:00:00 2001 From: tongsonbarbs Date: Thu, 10 Oct 2024 23:37:19 +0800 Subject: [PATCH 3/5] Remove Role --- .../__internal/scheduler/appointments/m_appointment_layout.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/devextreme/js/__internal/scheduler/appointments/m_appointment_layout.ts b/packages/devextreme/js/__internal/scheduler/appointments/m_appointment_layout.ts index b47ff64e778a..460f0fbd9ca7 100644 --- a/packages/devextreme/js/__internal/scheduler/appointments/m_appointment_layout.ts +++ b/packages/devextreme/js/__internal/scheduler/appointments/m_appointment_layout.ts @@ -24,7 +24,7 @@ export const createAppointmentLayout = (formatText, config) => { $('
').addClass(APPOINTMENT_CONTENT_CLASSES.APPOINTMENT_DATE).text(formatText.formatDate).appendTo($contentDetails); config.isRecurrence - && $('').addClass(`${APPOINTMENT_CONTENT_CLASSES.RECURRING_ICON} dx-icon-repeat`).attr('role', 'presentation').attr('aria-label', recurringText) + && $('').addClass(`${APPOINTMENT_CONTENT_CLASSES.RECURRING_ICON} dx-icon-repeat`).attr('aria-label', recurringText) .appendTo(result); config.isAllDay @@ -53,7 +53,7 @@ export const createAgendaAppointmentLayout = (formatText, config) => { .appendTo(leftLayoutContainer); config.isRecurrence - && $('').addClass(`${APPOINTMENT_CONTENT_CLASSES.RECURRING_ICON} dx-icon-repeat`).attr('role', 'presentation').attr('aria-label', recurringText) + && $('').addClass(`${APPOINTMENT_CONTENT_CLASSES.RECURRING_ICON} dx-icon-repeat`).attr('aria-label', recurringText) .appendTo(marker); // eslint-disable-next-line @typescript-eslint/no-unused-vars From ce65902f1bd5f3dfd41daf7aef2278d23b1382e1 Mon Sep 17 00:00:00 2001 From: tongsonbarbs Date: Mon, 14 Oct 2024 15:02:30 +0800 Subject: [PATCH 4/5] Update lettercasing, (techwriter) --- packages/devextreme/js/localization/messages/ar.json | 2 +- packages/devextreme/js/localization/messages/ca.json | 2 +- packages/devextreme/js/localization/messages/cs.json | 2 +- packages/devextreme/js/localization/messages/de.json | 2 +- packages/devextreme/js/localization/messages/el.json | 2 +- packages/devextreme/js/localization/messages/en.json | 2 +- packages/devextreme/js/localization/messages/es.json | 2 +- packages/devextreme/js/localization/messages/fa.json | 2 +- packages/devextreme/js/localization/messages/fi.json | 2 +- packages/devextreme/js/localization/messages/fr.json | 2 +- packages/devextreme/js/localization/messages/hu.json | 2 +- packages/devextreme/js/localization/messages/it.json | 2 +- packages/devextreme/js/localization/messages/ja.json | 2 +- packages/devextreme/js/localization/messages/lt.json | 2 +- packages/devextreme/js/localization/messages/lv.json | 2 +- packages/devextreme/js/localization/messages/nb.json | 2 +- packages/devextreme/js/localization/messages/nl.json | 2 +- packages/devextreme/js/localization/messages/pl.json | 2 +- packages/devextreme/js/localization/messages/pt.json | 2 +- packages/devextreme/js/localization/messages/ro.json | 2 +- packages/devextreme/js/localization/messages/ru.json | 2 +- packages/devextreme/js/localization/messages/sl.json | 2 +- packages/devextreme/js/localization/messages/sv.json | 2 +- packages/devextreme/js/localization/messages/tr.json | 2 +- packages/devextreme/js/localization/messages/vi.json | 2 +- packages/devextreme/js/localization/messages/zh-tw.json | 2 +- packages/devextreme/js/localization/messages/zh.json | 2 +- 27 files changed, 27 insertions(+), 27 deletions(-) diff --git a/packages/devextreme/js/localization/messages/ar.json b/packages/devextreme/js/localization/messages/ar.json index 99e73f72e2dc..a37fbcb088ff 100644 --- a/packages/devextreme/js/localization/messages/ar.json +++ b/packages/devextreme/js/localization/messages/ar.json @@ -237,7 +237,7 @@ "dxPivotGrid-filterFieldArea": "إفلات حقول التصفية هنا", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", - "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment", "dxScheduler-editorLabelTitle": "الموضوع", "dxScheduler-editorLabelStartDate": "تاريخ البدء", diff --git a/packages/devextreme/js/localization/messages/ca.json b/packages/devextreme/js/localization/messages/ca.json index 8201806b1beb..ddc694b70f23 100644 --- a/packages/devextreme/js/localization/messages/ca.json +++ b/packages/devextreme/js/localization/messages/ca.json @@ -237,7 +237,7 @@ "dxPivotGrid-filterFieldArea": "Els camps de filtre de baixada aquí", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", - "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment", "dxScheduler-editorLabelTitle": "Assignatura", "dxScheduler-editorLabelStartDate": "Data d'inici", diff --git a/packages/devextreme/js/localization/messages/cs.json b/packages/devextreme/js/localization/messages/cs.json index f4ae005b10e4..e8c5356c3b60 100644 --- a/packages/devextreme/js/localization/messages/cs.json +++ b/packages/devextreme/js/localization/messages/cs.json @@ -237,7 +237,7 @@ "dxPivotGrid-filterFieldArea": "Zde vložte filtr pole", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", - "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment", "dxScheduler-editorLabelTitle": "Předmět", "dxScheduler-editorLabelStartDate": "Počáteční datum", diff --git a/packages/devextreme/js/localization/messages/de.json b/packages/devextreme/js/localization/messages/de.json index 7cf6f2327756..b126199f4e5a 100644 --- a/packages/devextreme/js/localization/messages/de.json +++ b/packages/devextreme/js/localization/messages/de.json @@ -237,7 +237,7 @@ "dxPivotGrid-filterFieldArea": "Filterfelder hierher ziehen", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", - "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment", "dxScheduler-editorLabelTitle": "Betreff", "dxScheduler-editorLabelStartDate": "Anfangszeit", diff --git a/packages/devextreme/js/localization/messages/el.json b/packages/devextreme/js/localization/messages/el.json index 61bb8da91d09..844b9156b402 100644 --- a/packages/devextreme/js/localization/messages/el.json +++ b/packages/devextreme/js/localization/messages/el.json @@ -237,7 +237,7 @@ "dxPivotGrid-filterFieldArea": "Τοποθετήστε τα πεδία φίλτρων εδώ", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", - "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment", "dxScheduler-editorLabelTitle": "Θέμα", "dxScheduler-editorLabelStartDate": "Ημερομηνία έναρξης", diff --git a/packages/devextreme/js/localization/messages/en.json b/packages/devextreme/js/localization/messages/en.json index 6f544dba3a53..310ac9edb94e 100644 --- a/packages/devextreme/js/localization/messages/en.json +++ b/packages/devextreme/js/localization/messages/en.json @@ -237,7 +237,7 @@ "dxPivotGrid-filterFieldArea": "Drop Filter Fields Here", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", - "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment", "dxScheduler-editorLabelTitle": "Subject", "dxScheduler-editorLabelStartDate": "Start Date", diff --git a/packages/devextreme/js/localization/messages/es.json b/packages/devextreme/js/localization/messages/es.json index ece870bc5898..68b32f623dd4 100644 --- a/packages/devextreme/js/localization/messages/es.json +++ b/packages/devextreme/js/localization/messages/es.json @@ -237,7 +237,7 @@ "dxPivotGrid-filterFieldArea": "Arrastra campos de filtro aquí", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", - "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment", "dxScheduler-editorLabelTitle": "Asunto", "dxScheduler-editorLabelStartDate": "Fecha inicial", diff --git a/packages/devextreme/js/localization/messages/fa.json b/packages/devextreme/js/localization/messages/fa.json index 92ea89c744c1..92e29ee63484 100644 --- a/packages/devextreme/js/localization/messages/fa.json +++ b/packages/devextreme/js/localization/messages/fa.json @@ -237,7 +237,7 @@ "dxPivotGrid-filterFieldArea": "فیلدهای مربوط به فیلتر را به اینجا انتقال دهید (درگ نمایید)", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", - "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment", "dxScheduler-editorLabelTitle": "موضوع", "dxScheduler-editorLabelStartDate": "تاریخ شروع", diff --git a/packages/devextreme/js/localization/messages/fi.json b/packages/devextreme/js/localization/messages/fi.json index 9bb684cea5b4..d98f330fbdfa 100644 --- a/packages/devextreme/js/localization/messages/fi.json +++ b/packages/devextreme/js/localization/messages/fi.json @@ -237,7 +237,7 @@ "dxPivotGrid-filterFieldArea": "Pudota suodatinkentät tähän", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", - "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment", "dxScheduler-editorLabelTitle": "Aihe", "dxScheduler-editorLabelStartDate": "Alkamispäivä", diff --git a/packages/devextreme/js/localization/messages/fr.json b/packages/devextreme/js/localization/messages/fr.json index 965266248775..25a7db9c1138 100644 --- a/packages/devextreme/js/localization/messages/fr.json +++ b/packages/devextreme/js/localization/messages/fr.json @@ -237,7 +237,7 @@ "dxPivotGrid-filterFieldArea": "Déposer les champs de filtre ici", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", - "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment", "dxScheduler-editorLabelTitle": "Titre", "dxScheduler-editorLabelStartDate": "Date de début", diff --git a/packages/devextreme/js/localization/messages/hu.json b/packages/devextreme/js/localization/messages/hu.json index 9bfadb1e443d..a5ec69ee1182 100644 --- a/packages/devextreme/js/localization/messages/hu.json +++ b/packages/devextreme/js/localization/messages/hu.json @@ -237,7 +237,7 @@ "dxPivotGrid-filterFieldArea": "Húzza a szűrőmezőket ide", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", - "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment", "dxScheduler-editorLabelTitle": "Tárgy", "dxScheduler-editorLabelStartDate": "Kezdés dátuma", diff --git a/packages/devextreme/js/localization/messages/it.json b/packages/devextreme/js/localization/messages/it.json index dbc8c4850071..d8541d4856ff 100644 --- a/packages/devextreme/js/localization/messages/it.json +++ b/packages/devextreme/js/localization/messages/it.json @@ -237,7 +237,7 @@ "dxPivotGrid-filterFieldArea": "Trascina qui i campi filtro", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", - "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment", "dxScheduler-editorLabelTitle": "Oggetto", "dxScheduler-editorLabelStartDate": "Data inizio", diff --git a/packages/devextreme/js/localization/messages/ja.json b/packages/devextreme/js/localization/messages/ja.json index 5a9a7f132e90..dddad54ddf10 100644 --- a/packages/devextreme/js/localization/messages/ja.json +++ b/packages/devextreme/js/localization/messages/ja.json @@ -237,7 +237,7 @@ "dxPivotGrid-filterFieldArea": "フィルター フィールドをこちらへドラッグ&ドロップ", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", - "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment", "dxScheduler-editorLabelTitle": "件名", "dxScheduler-editorLabelStartDate": "開始時刻", diff --git a/packages/devextreme/js/localization/messages/lt.json b/packages/devextreme/js/localization/messages/lt.json index ef264b4c0508..03b9fdc9d074 100644 --- a/packages/devextreme/js/localization/messages/lt.json +++ b/packages/devextreme/js/localization/messages/lt.json @@ -237,7 +237,7 @@ "dxPivotGrid-filterFieldArea": "Numeskite filtrų laukus čia", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", - "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment", "dxScheduler-editorLabelTitle": "Tema", "dxScheduler-editorLabelStartDate": "Pradžios data", diff --git a/packages/devextreme/js/localization/messages/lv.json b/packages/devextreme/js/localization/messages/lv.json index 7cba0bfa2e58..d0c3cb1ae131 100644 --- a/packages/devextreme/js/localization/messages/lv.json +++ b/packages/devextreme/js/localization/messages/lv.json @@ -237,7 +237,7 @@ "dxPivotGrid-filterFieldArea": "Nomest Filtra Laukus Šeit", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", - "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment", "dxScheduler-editorLabelTitle": "Nosaukums", "dxScheduler-editorLabelStartDate": "Sākuma Datums", diff --git a/packages/devextreme/js/localization/messages/nb.json b/packages/devextreme/js/localization/messages/nb.json index af1adf48bb2e..a34f6b5c0dfe 100644 --- a/packages/devextreme/js/localization/messages/nb.json +++ b/packages/devextreme/js/localization/messages/nb.json @@ -237,7 +237,7 @@ "dxPivotGrid-filterFieldArea": "Slipp filterfelter her", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", - "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment", "dxScheduler-editorLabelTitle": "Emne", "dxScheduler-editorLabelStartDate": "Startdato", diff --git a/packages/devextreme/js/localization/messages/nl.json b/packages/devextreme/js/localization/messages/nl.json index 3d336d708153..f2c39da6e795 100644 --- a/packages/devextreme/js/localization/messages/nl.json +++ b/packages/devextreme/js/localization/messages/nl.json @@ -237,7 +237,7 @@ "dxPivotGrid-filterFieldArea": "Sleep Filtervelden Hier", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", - "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment", "dxScheduler-editorLabelTitle": "Onderwerp", "dxScheduler-editorLabelStartDate": "Startdatum", diff --git a/packages/devextreme/js/localization/messages/pl.json b/packages/devextreme/js/localization/messages/pl.json index a9e5e6b05ce2..3fe0a0d91029 100644 --- a/packages/devextreme/js/localization/messages/pl.json +++ b/packages/devextreme/js/localization/messages/pl.json @@ -237,7 +237,7 @@ "dxPivotGrid-filterFieldArea": "Przeciągnij pola filtra tutaj", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", - "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment", "dxScheduler-editorLabelTitle": "Dotyczy", "dxScheduler-editorLabelStartDate": "Czas rozpoczęcia", diff --git a/packages/devextreme/js/localization/messages/pt.json b/packages/devextreme/js/localization/messages/pt.json index b7b31eea6b3a..c9cf194c8b3d 100644 --- a/packages/devextreme/js/localization/messages/pt.json +++ b/packages/devextreme/js/localization/messages/pt.json @@ -237,7 +237,7 @@ "dxPivotGrid-filterFieldArea": "Arraste os campos de filtro até aqui", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", - "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment", "dxScheduler-editorLabelTitle": "Assunto", "dxScheduler-editorLabelStartDate": "Data de Início", diff --git a/packages/devextreme/js/localization/messages/ro.json b/packages/devextreme/js/localization/messages/ro.json index d91522873fd7..d229c52844aa 100644 --- a/packages/devextreme/js/localization/messages/ro.json +++ b/packages/devextreme/js/localization/messages/ro.json @@ -237,7 +237,7 @@ "dxPivotGrid-filterFieldArea": "Plasați câmpurile de filtrare aici", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", - "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment", "dxScheduler-editorLabelTitle": "Subiect", "dxScheduler-editorLabelStartDate": "Data de început", diff --git a/packages/devextreme/js/localization/messages/ru.json b/packages/devextreme/js/localization/messages/ru.json index 43088d9f3a4e..54d1e12dd67b 100644 --- a/packages/devextreme/js/localization/messages/ru.json +++ b/packages/devextreme/js/localization/messages/ru.json @@ -237,7 +237,7 @@ "dxPivotGrid-filterFieldArea": "Перетащите поля фильтров cюда", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", - "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment", "dxScheduler-editorLabelTitle": "Название", "dxScheduler-editorLabelStartDate": "Дата начала", diff --git a/packages/devextreme/js/localization/messages/sl.json b/packages/devextreme/js/localization/messages/sl.json index 2dd6d468090e..8a07128455ff 100644 --- a/packages/devextreme/js/localization/messages/sl.json +++ b/packages/devextreme/js/localization/messages/sl.json @@ -237,7 +237,7 @@ "dxPivotGrid-filterFieldArea": "Povleci filtre tukaj", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", - "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment", "dxScheduler-editorLabelTitle": "Predmet", "dxScheduler-editorLabelStartDate": "Datum začetka", diff --git a/packages/devextreme/js/localization/messages/sv.json b/packages/devextreme/js/localization/messages/sv.json index 4b11ce33d286..b02b77f78560 100644 --- a/packages/devextreme/js/localization/messages/sv.json +++ b/packages/devextreme/js/localization/messages/sv.json @@ -237,7 +237,7 @@ "dxPivotGrid-filterFieldArea": "Släpp filterfält här", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", - "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment", "dxScheduler-editorLabelTitle": "Ämne", "dxScheduler-editorLabelStartDate": "Startdatum", diff --git a/packages/devextreme/js/localization/messages/tr.json b/packages/devextreme/js/localization/messages/tr.json index c045ed40130a..2ad2f88499d2 100644 --- a/packages/devextreme/js/localization/messages/tr.json +++ b/packages/devextreme/js/localization/messages/tr.json @@ -237,7 +237,7 @@ "dxPivotGrid-filterFieldArea": "Filtre Alanlarını Buraya Bırak", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", - "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment", "dxScheduler-editorLabelTitle": "Konu", "dxScheduler-editorLabelStartDate": "Başlangıç Tarihi", diff --git a/packages/devextreme/js/localization/messages/vi.json b/packages/devextreme/js/localization/messages/vi.json index 734f99ec8e01..4f312d0fa329 100644 --- a/packages/devextreme/js/localization/messages/vi.json +++ b/packages/devextreme/js/localization/messages/vi.json @@ -237,7 +237,7 @@ "dxPivotGrid-filterFieldArea": "Thả bộ lọc các trường vào đây", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", - "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment", "dxScheduler-editorLabelTitle": "Chủ đề", "dxScheduler-editorLabelStartDate": "Ngày bắt đầu", diff --git a/packages/devextreme/js/localization/messages/zh-tw.json b/packages/devextreme/js/localization/messages/zh-tw.json index 98bacdf76268..fd39f99b5193 100644 --- a/packages/devextreme/js/localization/messages/zh-tw.json +++ b/packages/devextreme/js/localization/messages/zh-tw.json @@ -237,7 +237,7 @@ "dxPivotGrid-filterFieldArea": "拖動篩選欄位到此處", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", - "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment", "dxScheduler-editorLabelTitle": "標題", "dxScheduler-editorLabelStartDate": "開始日期", diff --git a/packages/devextreme/js/localization/messages/zh.json b/packages/devextreme/js/localization/messages/zh.json index 6f6ba3c5b6fa..eeff6b94f59b 100644 --- a/packages/devextreme/js/localization/messages/zh.json +++ b/packages/devextreme/js/localization/messages/zh.json @@ -237,7 +237,7 @@ "dxPivotGrid-filterFieldArea": "拖动筛选字段到此处", "dxScheduler-appointmentAriaLabel-group": "Group: {0}", - "dxScheduler-appointmentAriaLabel-recurring": "Recurring Appointment", + "dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment", "dxScheduler-editorLabelTitle": "标题", "dxScheduler-editorLabelStartDate": "开始日期", From a09f9abb70c01fe23441f0c2c97653ff8d6e6186 Mon Sep 17 00:00:00 2001 From: tongsonbarbs Date: Mon, 14 Oct 2024 16:25:57 +0800 Subject: [PATCH 5/5] update test --- e2e/testcafe-devextreme/tests/scheduler/a11y/appointment.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/testcafe-devextreme/tests/scheduler/a11y/appointment.ts b/e2e/testcafe-devextreme/tests/scheduler/a11y/appointment.ts index c8c8d515535d..767157199d79 100644 --- a/e2e/testcafe-devextreme/tests/scheduler/a11y/appointment.ts +++ b/e2e/testcafe-devextreme/tests/scheduler/a11y/appointment.ts @@ -238,7 +238,7 @@ test('Scheduler a11y: appointments does not have info about reccurence', async ( await t .expect(recurrenceIcon.getAttribute('aria-label')) - .eql('Recurring Appointment'); + .eql('Recurring appointment'); }).before(async () => { await createWidget('dxScheduler', { timeZone: 'America/Los_Angeles',