From 0db53196c9ecce3a450f838c6767e21b4aac6e31 Mon Sep 17 00:00:00 2001 From: Bruno Bruzzano Date: Tue, 6 Dec 2016 12:09:53 +0000 Subject: [PATCH] Set and remove aria-expandend attribute when the popup opens and closes. --- Combobox.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Combobox.js b/Combobox.js index 1c62ef895d..3242435372 100644 --- a/Combobox.js +++ b/Combobox.js @@ -986,6 +986,8 @@ define([ } this.dropDown.focus(); } + + this.focusNode.setAttribute("aria-expanded", "true"); }.bind(this)); }; }), @@ -1003,6 +1005,7 @@ define([ // Closing the dropdown represents a commit interaction this.handleOnChange(this.value); // emit "change" event } + this.focusNode.removeAttribute("aria-expanded"); sup.apply(this, arguments); }; }),