From: Felix Nagel Date: Mon, 16 Sep 2013 20:22:26 +0000 (+0200) Subject: fixed: wrong property value on aria-disabled when option is disabled by HTML X-Git-Tag: selectmenu_v1.4.0~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4729232f4d594d0385430d8f9284154d942add5b;p=jquery-ui.git fixed: wrong property value on aria-disabled when option is disabled by HTML --- 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;