Skip to content

Commit 4cb52c4

Browse files
committed
set aria-selected on li element when li is selected
1 parent 830663d commit 4cb52c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/jquery.mobile.forms.select.custom.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@
227227
var item = $( this );
228228

229229
// Aria selected attr
230-
item.find( "a" ).attr( "aria-selected", true );
230+
item.attr( "aria-selected", true );
231231

232232
// Multiple selects: add the "on" checkbox state to the icon
233233
if ( self.isMultiple ) {

0 commit comments

Comments
 (0)