diff --git a/packages/devextreme/js/__internal/ui/splitter/resize_handle.ts b/packages/devextreme/js/__internal/ui/splitter/resize_handle.ts index 0c5b8e7a0134..1f218f5d2633 100644 --- a/packages/devextreme/js/__internal/ui/splitter/resize_handle.ts +++ b/packages/devextreme/js/__internal/ui/splitter/resize_handle.ts @@ -305,7 +305,7 @@ class ResizeHandle extends Widget { this.setAria({ role: 'application', // eslint-disable-next-line spellcheck/spell-checker - roledescription: messageLocalization.format('dxSplitter-ariaRoleDescription'), + roledescription: messageLocalization.format('dxSplitter-separatorAriaRoleDescription'), label: messageLocalization.format('dxSplitter-resizeHandleAriaLabel'), }); } diff --git a/packages/devextreme/js/localization/messages/ar.json b/packages/devextreme/js/localization/messages/ar.json index 8f4451bb3c5b..796761b34e63 100644 --- a/packages/devextreme/js/localization/messages/ar.json +++ b/packages/devextreme/js/localization/messages/ar.json @@ -796,6 +796,6 @@ "dxMultiView-itemAriaLabel": "{0} of {1}", "dxSplitter-resizeHandleAriaLabel": "Split bar", - "dxSplitter-ariaRoleDescription": "Separator" + "dxSplitter-separatorAriaRoleDescription": "Separator" } } diff --git a/packages/devextreme/js/localization/messages/ca.json b/packages/devextreme/js/localization/messages/ca.json index 087eec3074e7..b0283ef4fcc7 100644 --- a/packages/devextreme/js/localization/messages/ca.json +++ b/packages/devextreme/js/localization/messages/ca.json @@ -796,6 +796,6 @@ "dxMultiView-itemAriaLabel": "{0} of {1}", "dxSplitter-resizeHandleAriaLabel": "Split bar", - "dxSplitter-ariaRoleDescription": "Separator" + "dxSplitter-separatorAriaRoleDescription": "Separator" } } diff --git a/packages/devextreme/js/localization/messages/cs.json b/packages/devextreme/js/localization/messages/cs.json index aa41300e391f..6b505e28f9d6 100644 --- a/packages/devextreme/js/localization/messages/cs.json +++ b/packages/devextreme/js/localization/messages/cs.json @@ -796,6 +796,6 @@ "dxMultiView-itemAriaLabel": "{0} of {1}", "dxSplitter-resizeHandleAriaLabel": "Split bar", - "dxSplitter-ariaRoleDescription": "Separator" + "dxSplitter-separatorAriaRoleDescription": "Separator" } } diff --git a/packages/devextreme/js/localization/messages/de.json b/packages/devextreme/js/localization/messages/de.json index 255cd355f868..10245941d365 100644 --- a/packages/devextreme/js/localization/messages/de.json +++ b/packages/devextreme/js/localization/messages/de.json @@ -796,6 +796,6 @@ "dxMultiView-itemAriaLabel": "{0} of {1}", "dxSplitter-resizeHandleAriaLabel": "Split bar", - "dxSplitter-ariaRoleDescription": "Separator" + "dxSplitter-separatorAriaRoleDescription": "Separator" } } diff --git a/packages/devextreme/js/localization/messages/el.json b/packages/devextreme/js/localization/messages/el.json index 845fd1688b40..fbd4b848e389 100644 --- a/packages/devextreme/js/localization/messages/el.json +++ b/packages/devextreme/js/localization/messages/el.json @@ -796,6 +796,6 @@ "dxMultiView-itemAriaLabel": "{0} of {1}", "dxSplitter-resizeHandleAriaLabel": "Split bar", - "dxSplitter-ariaRoleDescription": "Separator" + "dxSplitter-separatorAriaRoleDescription": "Separator" } } diff --git a/packages/devextreme/js/localization/messages/en.json b/packages/devextreme/js/localization/messages/en.json index b6a49947f1b4..f894f2dd602c 100644 --- a/packages/devextreme/js/localization/messages/en.json +++ b/packages/devextreme/js/localization/messages/en.json @@ -796,6 +796,6 @@ "dxMultiView-itemAriaLabel": "{0} of {1}", "dxSplitter-resizeHandleAriaLabel": "Split bar", - "dxSplitter-ariaRoleDescription": "Separator" + "dxSplitter-separatorAriaRoleDescription": "Separator" } } diff --git a/packages/devextreme/js/localization/messages/es.json b/packages/devextreme/js/localization/messages/es.json index df39c1642a9c..056853e10b02 100644 --- a/packages/devextreme/js/localization/messages/es.json +++ b/packages/devextreme/js/localization/messages/es.json @@ -796,6 +796,6 @@ "dxMultiView-itemAriaLabel": "{0} of {1}", "dxSplitter-resizeHandleAriaLabel": "Split bar", - "dxSplitter-ariaRoleDescription": "Separator" + "dxSplitter-separatorAriaRoleDescription": "Separator" } } diff --git a/packages/devextreme/js/localization/messages/fa.json b/packages/devextreme/js/localization/messages/fa.json index 0674857c46a9..695581ea9f4c 100644 --- a/packages/devextreme/js/localization/messages/fa.json +++ b/packages/devextreme/js/localization/messages/fa.json @@ -796,6 +796,6 @@ "dxMultiView-itemAriaLabel": "{0} of {1}", "dxSplitter-resizeHandleAriaLabel": "Split bar", - "dxSplitter-ariaRoleDescription": "Separator" + "dxSplitter-separatorAriaRoleDescription": "Separator" } } diff --git a/packages/devextreme/js/localization/messages/fi.json b/packages/devextreme/js/localization/messages/fi.json index 172698753b3e..d420fbe4196a 100644 --- a/packages/devextreme/js/localization/messages/fi.json +++ b/packages/devextreme/js/localization/messages/fi.json @@ -796,6 +796,6 @@ "dxMultiView-itemAriaLabel": "{0} of {1}", "dxSplitter-resizeHandleAriaLabel": "Split bar", - "dxSplitter-ariaRoleDescription": "Separator" + "dxSplitter-separatorAriaRoleDescription": "Separator" } } diff --git a/packages/devextreme/js/localization/messages/fr.json b/packages/devextreme/js/localization/messages/fr.json index 4b20d5d778b7..6c850ea5e39f 100644 --- a/packages/devextreme/js/localization/messages/fr.json +++ b/packages/devextreme/js/localization/messages/fr.json @@ -796,6 +796,6 @@ "dxMultiView-itemAriaLabel": "{0} of {1}", "dxSplitter-resizeHandleAriaLabel": "Split bar", - "dxSplitter-ariaRoleDescription": "Separator" + "dxSplitter-separatorAriaRoleDescription": "Separator" } } diff --git a/packages/devextreme/js/localization/messages/hu.json b/packages/devextreme/js/localization/messages/hu.json index d977715ce3e3..987b4b843264 100644 --- a/packages/devextreme/js/localization/messages/hu.json +++ b/packages/devextreme/js/localization/messages/hu.json @@ -796,6 +796,6 @@ "dxMultiView-itemAriaLabel": "{0} of {1}", "dxSplitter-resizeHandleAriaLabel": "Split bar", - "dxSplitter-ariaRoleDescription": "Separator" + "dxSplitter-separatorAriaRoleDescription": "Separator" } } diff --git a/packages/devextreme/js/localization/messages/it.json b/packages/devextreme/js/localization/messages/it.json index 68ab53272a35..b246d55bdf71 100644 --- a/packages/devextreme/js/localization/messages/it.json +++ b/packages/devextreme/js/localization/messages/it.json @@ -796,6 +796,6 @@ "dxMultiView-itemAriaLabel": "{0} of {1}", "dxSplitter-resizeHandleAriaLabel": "Split bar", - "dxSplitter-ariaRoleDescription": "Separator" + "dxSplitter-separatorAriaRoleDescription": "Separator" } } diff --git a/packages/devextreme/js/localization/messages/ja.json b/packages/devextreme/js/localization/messages/ja.json index 9ae12850f10a..a9f2c737a4c3 100644 --- a/packages/devextreme/js/localization/messages/ja.json +++ b/packages/devextreme/js/localization/messages/ja.json @@ -796,6 +796,6 @@ "dxMultiView-itemAriaLabel": "{0} of {1}", "dxSplitter-resizeHandleAriaLabel": "Split bar", - "dxSplitter-ariaRoleDescription": "Separator" + "dxSplitter-separatorAriaRoleDescription": "Separator" } } diff --git a/packages/devextreme/js/localization/messages/lt.json b/packages/devextreme/js/localization/messages/lt.json index c6a721a882a6..e07e532cf158 100644 --- a/packages/devextreme/js/localization/messages/lt.json +++ b/packages/devextreme/js/localization/messages/lt.json @@ -796,6 +796,6 @@ "dxMultiView-itemAriaLabel": "{0} of {1}", "dxSplitter-resizeHandleAriaLabel": "Split bar", - "dxSplitter-ariaRoleDescription": "Separator" + "dxSplitter-separatorAriaRoleDescription": "Separator" } } diff --git a/packages/devextreme/js/localization/messages/lv.json b/packages/devextreme/js/localization/messages/lv.json index a8a19b14d3f6..bdf4a82dfded 100644 --- a/packages/devextreme/js/localization/messages/lv.json +++ b/packages/devextreme/js/localization/messages/lv.json @@ -796,6 +796,6 @@ "dxMultiView-itemAriaLabel": "{0} of {1}", "dxSplitter-resizeHandleAriaLabel": "Split bar", - "dxSplitter-ariaRoleDescription": "Separator" + "dxSplitter-separatorAriaRoleDescription": "Separator" } } diff --git a/packages/devextreme/js/localization/messages/nb.json b/packages/devextreme/js/localization/messages/nb.json index 0d4316785377..f41dc0b0bba5 100644 --- a/packages/devextreme/js/localization/messages/nb.json +++ b/packages/devextreme/js/localization/messages/nb.json @@ -796,6 +796,6 @@ "dxMultiView-itemAriaLabel": "{0} of {1}", "dxSplitter-resizeHandleAriaLabel": "Split bar", - "dxSplitter-ariaRoleDescription": "Separator" + "dxSplitter-separatorAriaRoleDescription": "Separator" } } diff --git a/packages/devextreme/js/localization/messages/nl.json b/packages/devextreme/js/localization/messages/nl.json index 365b53e57a2a..a10b4001cdaf 100644 --- a/packages/devextreme/js/localization/messages/nl.json +++ b/packages/devextreme/js/localization/messages/nl.json @@ -796,6 +796,6 @@ "dxMultiView-itemAriaLabel": "{0} of {1}", "dxSplitter-resizeHandleAriaLabel": "Split bar", - "dxSplitter-ariaRoleDescription": "Separator" + "dxSplitter-separatorAriaRoleDescription": "Separator" } } diff --git a/packages/devextreme/js/localization/messages/pl.json b/packages/devextreme/js/localization/messages/pl.json index 4acc7dc0820b..2e021042bdea 100644 --- a/packages/devextreme/js/localization/messages/pl.json +++ b/packages/devextreme/js/localization/messages/pl.json @@ -796,6 +796,6 @@ "dxMultiView-itemAriaLabel": "{0} of {1}", "dxSplitter-resizeHandleAriaLabel": "Split bar", - "dxSplitter-ariaRoleDescription": "Separator" + "dxSplitter-separatorAriaRoleDescription": "Separator" } } diff --git a/packages/devextreme/js/localization/messages/pt.json b/packages/devextreme/js/localization/messages/pt.json index 9fa46d0741b2..c262dc3ec039 100644 --- a/packages/devextreme/js/localization/messages/pt.json +++ b/packages/devextreme/js/localization/messages/pt.json @@ -796,6 +796,6 @@ "dxMultiView-itemAriaLabel": "{0} de {1}", "dxSplitter-resizeHandleAriaLabel": "Barra de divisão", - "dxSplitter-ariaRoleDescription": "Separator" + "dxSplitter-separatorAriaRoleDescription": "Separator" } } diff --git a/packages/devextreme/js/localization/messages/ro.json b/packages/devextreme/js/localization/messages/ro.json index 76945702d791..8bd36218db74 100644 --- a/packages/devextreme/js/localization/messages/ro.json +++ b/packages/devextreme/js/localization/messages/ro.json @@ -796,6 +796,6 @@ "dxMultiView-itemAriaLabel": "{0} of {1}", "dxSplitter-resizeHandleAriaLabel": "Split bar", - "dxSplitter-ariaRoleDescription": "Separator" + "dxSplitter-separatorAriaRoleDescription": "Separator" } } diff --git a/packages/devextreme/js/localization/messages/ru.json b/packages/devextreme/js/localization/messages/ru.json index b2f4884d5f87..e9f1cff19eed 100644 --- a/packages/devextreme/js/localization/messages/ru.json +++ b/packages/devextreme/js/localization/messages/ru.json @@ -796,6 +796,6 @@ "dxMultiView-itemAriaLabel": "{0} of {1}", "dxSplitter-resizeHandleAriaLabel": "Split bar", - "dxSplitter-ariaRoleDescription": "Separator" + "dxSplitter-separatorAriaRoleDescription": "Separator" } } diff --git a/packages/devextreme/js/localization/messages/sl.json b/packages/devextreme/js/localization/messages/sl.json index c7b5c3a274b7..afbd66a728a8 100644 --- a/packages/devextreme/js/localization/messages/sl.json +++ b/packages/devextreme/js/localization/messages/sl.json @@ -796,6 +796,6 @@ "dxMultiView-itemAriaLabel": "{0} of {1}", "dxSplitter-resizeHandleAriaLabel": "Split bar", - "dxSplitter-ariaRoleDescription": "Separator" + "dxSplitter-separatorAriaRoleDescription": "Separator" } } diff --git a/packages/devextreme/js/localization/messages/sv.json b/packages/devextreme/js/localization/messages/sv.json index 83d5a56034b9..8cce26694f94 100644 --- a/packages/devextreme/js/localization/messages/sv.json +++ b/packages/devextreme/js/localization/messages/sv.json @@ -796,6 +796,6 @@ "dxMultiView-itemAriaLabel": "{0} of {1}", "dxSplitter-resizeHandleAriaLabel": "Split bar", - "dxSplitter-ariaRoleDescription": "Separator" + "dxSplitter-separatorAriaRoleDescription": "Separator" } } diff --git a/packages/devextreme/js/localization/messages/tr.json b/packages/devextreme/js/localization/messages/tr.json index 9fe82e8ccde1..cad472999f51 100644 --- a/packages/devextreme/js/localization/messages/tr.json +++ b/packages/devextreme/js/localization/messages/tr.json @@ -796,6 +796,6 @@ "dxMultiView-itemAriaLabel": "{0} of {1}", "dxSplitter-resizeHandleAriaLabel": "Split bar", - "dxSplitter-ariaRoleDescription": "Separator" + "dxSplitter-separatorAriaRoleDescription": "Separator" } } diff --git a/packages/devextreme/js/localization/messages/vi.json b/packages/devextreme/js/localization/messages/vi.json index 2aa9054e05ae..ca879e11f86e 100644 --- a/packages/devextreme/js/localization/messages/vi.json +++ b/packages/devextreme/js/localization/messages/vi.json @@ -796,6 +796,6 @@ "dxMultiView-itemAriaLabel": "{0} of {1}", "dxSplitter-resizeHandleAriaLabel": "Split bar", - "dxSplitter-ariaRoleDescription": "Separator" + "dxSplitter-separatorAriaRoleDescription": "Separator" } } diff --git a/packages/devextreme/js/localization/messages/zh-tw.json b/packages/devextreme/js/localization/messages/zh-tw.json index dbca4da542b1..91677565dc2b 100644 --- a/packages/devextreme/js/localization/messages/zh-tw.json +++ b/packages/devextreme/js/localization/messages/zh-tw.json @@ -796,6 +796,6 @@ "dxMultiView-itemAriaLabel": "{0} of {1}", "dxSplitter-resizeHandleAriaLabel": "Split bar", - "dxSplitter-ariaRoleDescription": "Separator" + "dxSplitter-separatorAriaRoleDescription": "Separator" } } diff --git a/packages/devextreme/js/localization/messages/zh.json b/packages/devextreme/js/localization/messages/zh.json index 17d590fded92..393ccb31fdcd 100644 --- a/packages/devextreme/js/localization/messages/zh.json +++ b/packages/devextreme/js/localization/messages/zh.json @@ -796,6 +796,6 @@ "dxMultiView-itemAriaLabel": "{0} of {1}", "dxSplitter-resizeHandleAriaLabel": "Split bar", - "dxSplitter-ariaRoleDescription": "Separator" + "dxSplitter-separatorAriaRoleDescription": "Separator" } } diff --git a/packages/devextreme/testing/tests/DevExpress.ui.widgets/list.markup.tests.js b/packages/devextreme/testing/tests/DevExpress.ui.widgets/list.markup.tests.js index 1219430b3d88..742d2de7543d 100644 --- a/packages/devextreme/testing/tests/DevExpress.ui.widgets/list.markup.tests.js +++ b/packages/devextreme/testing/tests/DevExpress.ui.widgets/list.markup.tests.js @@ -278,7 +278,7 @@ if(devices.real().deviceType === 'desktop') { items: [{ text: 'Item_1' }, { text: 'Item_2' }, { text: 'Item_3' }], }, options)) }); - const localizedRoleDescription = 'list'; + const localizedRoleDescription = 'My Custom List'; localization.loadMessages({ 'en': { 'dxList-ariaRoleDescription': localizedRoleDescription } }); this.clock = sinon.useFakeTimers(); diff --git a/packages/devextreme/testing/tests/DevExpress.ui.widgets/resizeHandle.markup.tests.js b/packages/devextreme/testing/tests/DevExpress.ui.widgets/resizeHandle.markup.tests.js index 02c6afd86494..749bfc0ff9b9 100644 --- a/packages/devextreme/testing/tests/DevExpress.ui.widgets/resizeHandle.markup.tests.js +++ b/packages/devextreme/testing/tests/DevExpress.ui.widgets/resizeHandle.markup.tests.js @@ -377,7 +377,7 @@ QUnit.module('Aria attributes', moduleConfig, () => { QUnit.test('aria-roledescription attribute should be set correctly', function(assert) { this.reinit({ }); - const localizedRoleDescriptionAttribute = messageLocalization.format('dxSplitter-ariaRoleDescription'); + const localizedRoleDescriptionAttribute = messageLocalization.format('dxSplitter-separatorAriaRoleDescription'); assert.strictEqual(this.$element.attr('aria-roledescription'), localizedRoleDescriptionAttribute); });