A11Y: sets has-popup as menu for select-kit components (#12074)

This commit is contained in:
Joffrey JAFFEUX 2021-02-15 12:31:51 +01:00 committed by GitHub
parent 79d7c4a3c2
commit 71e9c2e50b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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]`;