From 4729232f4d594d0385430d8f9284154d942add5b Mon Sep 17 00:00:00 2001 From: Felix Nagel Date: Mon, 16 Sep 2013 22:22:26 +0200 Subject: [PATCH] fixed: wrong property value on aria-disabled when option is disabled by HTML --- ui/jquery.ui.selectmenu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/jquery.ui.selectmenu.js b/ui/jquery.ui.selectmenu.js index 029afce0f..1f7db15b9 100644 --- a/ui/jquery.ui.selectmenu.js +++ b/ui/jquery.ui.selectmenu.js @@ -307,7 +307,7 @@ $.widget("ui.selectmenu", { 'aria-selected' : false }; if ( selectOptionData[ i ].disabled ) { - thisAAttr[ 'aria-disabled' ] = selectOptionData[ i ].disabled; + thisAAttr[ 'aria-disabled' ] = true; } if ( selectOptionData[ i ].typeahead ) { thisAAttr[ 'typeahead' ] = selectOptionData[ i ].typeahead; -- 2.39.5