mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-13 00:53:10 +00:00
added tabindex attr to page titles so we can direct focus there when pages are shown.
This commit is contained in:
parent
66099f7418
commit
580c140311
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ $.widget( "mobile.page", $.mobile.widget, {
|
|||
$headeranchors.buttonMarkup();
|
||||
|
||||
//page title
|
||||
$this.children( ":header" ).addClass( "ui-title" );
|
||||
$this.children( ":header" ).addClass( "ui-title" ).attr( "tabindex" , "0");
|
||||
} else if ( role === "page" || role === "content" ) {
|
||||
$this.addClass( "ui-body-" + (theme || "c") );
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue