From 4cb52c490867f5b5903b18c847b5083c6bfd07cd Mon Sep 17 00:00:00 2001 From: gseguin Date: Wed, 31 Aug 2011 11:16:11 -0700 Subject: [PATCH] set aria-selected on li element when li is selected --- js/jquery.mobile.forms.select.custom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/jquery.mobile.forms.select.custom.js b/js/jquery.mobile.forms.select.custom.js index 709f691a..db921ff7 100644 --- a/js/jquery.mobile.forms.select.custom.js +++ b/js/jquery.mobile.forms.select.custom.js @@ -227,7 +227,7 @@ var item = $( this ); // Aria selected attr - item.find( "a" ).attr( "aria-selected", true ); + item.attr( "aria-selected", true ); // Multiple selects: add the "on" checkbox state to the icon if ( self.isMultiple ) {