From 71e9c2e50bf051c92b887b5e6d99d3d02df7e393 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Mon, 15 Feb 2021 12:31:51 +0100 Subject: [PATCH] A11Y: sets has-popup as menu for select-kit components (#12074) --- .../select-kit/addon/components/select-kit/select-kit-header.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/select-kit/addon/components/select-kit/select-kit-header.js b/app/assets/javascripts/select-kit/addon/components/select-kit/select-kit-header.js index 7db79a2b525..595e59bbb36 100644 --- a/app/assets/javascripts/select-kit/addon/components/select-kit/select-kit-header.js +++ b/app/assets/javascripts/select-kit/addon/components/select-kit/select-kit-header.js @@ -71,7 +71,7 @@ export default Component.extend(UtilsMixin, { return this.selectKit.isExpanded ? "true" : "false"; }), - ariaHasPopup: true, + ariaHasPopup: "menu", ariaOwns: computed("selectKit.uniqueID", function () { return `[data-select-kit-id=${this.selectKit.uniqueID}-body]`;