Merge pull request #2875 from Casecommons/master
Fix accessible aria activedescendant attribute
This commit is contained in:
commit
ff292d7a66
@ -1486,6 +1486,9 @@ the specific language governing permissions and limitations under the Apache Lic
|
|||||||
|
|
||||||
this.clearSearch();
|
this.clearSearch();
|
||||||
this.search.removeClass("select2-active");
|
this.search.removeClass("select2-active");
|
||||||
|
|
||||||
|
// Remove the aria active descendant for highlighted element
|
||||||
|
this.search.removeAttr("aria-activedescendant");
|
||||||
this.opts.element.trigger($.Event("select2-close"));
|
this.opts.element.trigger($.Event("select2-close"));
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user