From ebafc02cfe348820268e4c14618d03805855f864 Mon Sep 17 00:00:00 2001 From: scottjehl Date: Tue, 6 Sep 2011 11:31:18 -0400 Subject: [PATCH] add tabindex to page element --- js/jquery.mobile.page.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/jquery.mobile.page.js b/js/jquery.mobile.page.js index a26b4f34..4ba24f95 100644 --- a/js/jquery.mobile.page.js +++ b/js/jquery.mobile.page.js @@ -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 ); } });