Skip to content

Commit 4729232

Browse files
committed
fixed: wrong property value on aria-disabled when option is disabled by HTML
1 parent 66fd8ec commit 4729232

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/jquery.ui.selectmenu.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ $.widget("ui.selectmenu", {
307307
'aria-selected' : false
308308
};
309309
if ( selectOptionData[ i ].disabled ) {
310-
thisAAttr[ 'aria-disabled' ] = selectOptionData[ i ].disabled;
310+
thisAAttr[ 'aria-disabled' ] = true;
311311
}
312312
if ( selectOptionData[ i ].typeahead ) {
313313
thisAAttr[ 'typeahead' ] = selectOptionData[ i ].typeahead;

0 commit comments

Comments
 (0)