mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 21:09:49 +08:00
A11Y: sets has-popup as menu for select-kit components (#12074)
This commit is contained in:
parent
79d7c4a3c2
commit
71e9c2e50b
|
@ -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]`;
|
||||
|
|
Loading…
Reference in New Issue
Block a user