From 03f641c10dd5812ccff6b1d3bad314124e6238e8 Mon Sep 17 00:00:00 2001 From: Sereza7 Date: Thu, 17 Oct 2024 13:43:28 +0200 Subject: [PATCH 1/2] XWIKI-22579: Livedata filter selectize input for lists does not have a label * Added a way to retrieve the aria-label of the input to complete the control-input --- .../webapp/resources/uicomponents/suggest/xwiki.selectize.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/main/webapp/resources/uicomponents/suggest/xwiki.selectize.js b/xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/main/webapp/resources/uicomponents/suggest/xwiki.selectize.js index bc3aa30f81db..ebfc65798023 100644 --- a/xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/main/webapp/resources/uicomponents/suggest/xwiki.selectize.js +++ b/xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/main/webapp/resources/uicomponents/suggest/xwiki.selectize.js @@ -209,6 +209,8 @@ define('xwiki-selectize', [ } // Set the title of the input field. this.selectize.get$('control_input').attr('title', $(this).attr('title')); + // Set the text alternative of the input field + this.selectize.get$('control_input').attr('aria-label', $(this).attr('aria-label')); }; var setDropDownAlignment = function(selectize) { From 207d00d2e827786ea6cb969780874cdd1c8117ff Mon Sep 17 00:00:00 2001 From: Marius Dumitru Florea Date: Mon, 9 Dec 2024 11:36:55 +0200 Subject: [PATCH 2/2] Update xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/main/webapp/resources/uicomponents/suggest/xwiki.selectize.js --- .../webapp/resources/uicomponents/suggest/xwiki.selectize.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/main/webapp/resources/uicomponents/suggest/xwiki.selectize.js b/xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/main/webapp/resources/uicomponents/suggest/xwiki.selectize.js index ebfc65798023..2658b9379301 100644 --- a/xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/main/webapp/resources/uicomponents/suggest/xwiki.selectize.js +++ b/xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/main/webapp/resources/uicomponents/suggest/xwiki.selectize.js @@ -209,7 +209,7 @@ define('xwiki-selectize', [ } // Set the title of the input field. this.selectize.get$('control_input').attr('title', $(this).attr('title')); - // Set the text alternative of the input field + // Set the text alternative of the input field. this.selectize.get$('control_input').attr('aria-label', $(this).attr('aria-label')); };