]> source.dussan.org Git - jquery-ui.git/commitdiff
fixed: tab issue in Opera, thx to phazei, see https://github.com/fnagel/jquery-ui...
authorFelix Nagel <info@felixnagel.com>
Wed, 1 Dec 2010 20:30:32 +0000 (21:30 +0100)
committerFelix Nagel <info@felixnagel.com>
Wed, 1 Dec 2010 20:30:32 +0000 (21:30 +0100)
ui/jquery.ui.selectmenu.js

index ad05d04239aa00fb43528c6b8269f4adc38e12d7..d984e18655a17be9f0b76dc6e289adbe29a4e7ab 100644 (file)
@@ -44,7 +44,7 @@ $.widget("ui.selectmenu", {
                this._safemouseup = true;
                
                //create menu button wrapper
-               this.newelement = $('<a class="'+ this.widgetBaseClass +' ui-widget ui-state-default ui-corner-all" id="'+this.ids[0]+'" role="button" href="#" aria-haspopup="true" aria-owns="'+this.ids[1]+'"></a>')
+               this.newelement = $('<a class="'+ this.widgetBaseClass +' ui-widget ui-state-default ui-corner-all" id="'+this.ids[0]+'" role="button" href="#" tabindex="0" aria-haspopup="true" aria-owns="'+this.ids[1]+'"></a>')
                        .insertAfter(this.element);
                
                //transfer tabindex