We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cfaeac commit 66fd8ecCopy full SHA for 66fd8ec
ui/jquery.ui.selectmenu.js
@@ -703,13 +703,13 @@ $.widget("ui.selectmenu", {
703
704
_setOption: function( key, value ) {
705
this.options[ key ] = value;
706
- // set
707
if ( key == 'disabled' ) {
708
if ( value ) this.close();
709
this.element
710
.add( this.newelement )
711
.add( this.list )[ value ? 'addClass' : 'removeClass' ]( 'ui-selectmenu-disabled ' + 'ui-state-disabled' )
712
- .attr( "aria-disabled" , value );
+ .attr( "aria-disabled" , value )
+ .attr( "tabindex" , value ? 1 : 0 );
713
}
714
},
715
0 commit comments