add tabindex to page element

This commit is contained in:
scottjehl 2011-09-06 11:31:18 -04:00
parent 003505a4b9
commit ebafc02cfe

View file

@ -17,7 +17,9 @@ $.widget( "mobile.page", $.mobile.widget, {
this._trigger( "beforecreate" );
this.element.addClass( "ui-page ui-body-" + this.options.theme );
this.element
.attr( "tabindex", "0" )
.addClass( "ui-page ui-body-" + this.options.theme );
}
});