Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Commit f7c0578

Browse files
author
Gabriel Schulhof
committed
Custom select: Add "role=button" to multiple select popup close button.
1 parent acc0c44 commit f7c0578

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

js/widgets/forms/select.custom.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ $.widget( "mobile.selectmenu", $.mobile.selectmenu, {
161161

162162
if ( this.isMultiple ) {
163163
headerClose = $( "<a>", {
164+
"role": "button",
164165
"text": o.closeText,
165166
"href": "#",
166167
"class": "ui-btn ui-corner-all ui-btn-left ui-btn-icon-notext ui-icon-delete"
@@ -545,4 +546,4 @@ $.mobile._enhancer.add( "mobile.selectmenu", { dependencies: [ "mobile.popup" ]
545546
})( jQuery );
546547
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
547548
});
548-
//>>excludeEnd("jqmBuildExclude");
549+
//>>excludeEnd("jqmBuildExclude");

0 commit comments

Comments
 (0)