A11Y: Use listbox role for dropdowns (#14391)

A11Y: Use listbox role for dropdowns (#14391)

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 a5d504b..effe394 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
@@ -18,7 +18,7 @@ export default Component.extend(UtilsMixin, {
 
   selectKit: null,
 
-  role: "application",
+  role: "listbox",
 
   ariaLevel: 1,
 
diff --git a/app/assets/javascripts/select-kit/addon/components/select-kit/single-select-header.js b/app/assets/javascripts/select-kit/addon/components/select-kit/single-select-header.js
index de669cd..8178544 100644
--- a/app/assets/javascripts/select-kit/addon/components/select-kit/single-select-header.js
+++ b/app/assets/javascripts/select-kit/addon/components/select-kit/single-select-header.js
@@ -8,7 +8,7 @@ export default SelectKitHeaderComponent.extend(UtilsMixin, {
   tagName: "summary",
   layout,
   classNames: ["single-select-header"],
-  attributeBindings: ["name"],
+  attributeBindings: ["name", "name:aria-label"],
 
   focusIn(event) {
     event.stopImmediatePropagation();

GitHub sha: c13127b024db08ea510e2a73d2b19095f7adf349

This commit appears in #14391 which was approved by jjaffeux. It was merged by pmusaraj.