Index: src/wp-admin/edit-form-advanced.php
===================================================================
--- src/wp-admin/edit-form-advanced.php	(revision 38469)
+++ src/wp-admin/edit-form-advanced.php	(working copy)
@@ -553,7 +553,7 @@
 	$title_placeholder = apply_filters( 'enter_title_here', __( 'Enter title here' ), $post );
 	?>
 	<label class="screen-reader-text" id="title-prompt-text" for="title"><?php echo $title_placeholder; ?></label>
-	<input type="text" name="post_title" size="30" value="<?php echo esc_attr( $post->post_title ); ?>" id="title" spellcheck="true" autocomplete="off" />
+	<input type="text" name="post_title" size="30" value="<?php echo esc_attr( $post->post_title ); ?>" id="title" spellcheck="true" autocomplete="off"<?php if ( '' === $post->post_title ) { ?> class="wp-initial-focus"<?php } ?> />
 </div>
 <?php
 /**
@@ -738,10 +738,3 @@
 <?php
 if ( post_type_supports( $post_type, 'comments' ) )
 	wp_comment_reply();
-?>
-
-<?php if ( ! wp_is_mobile() && post_type_supports( $post_type, 'title' ) && '' === $post->post_title ) : ?>
-<script type="text/javascript">
-try{document.post.title.focus();}catch(e){}
-</script>
-<?php endif; ?>
Index: src/wp-admin/edit-form-comment.php
===================================================================
--- src/wp-admin/edit-form-comment.php	(revision 38469)
+++ src/wp-admin/edit-form-comment.php	(working copy)
@@ -41,7 +41,7 @@
 <tbody>
 <tr>
 	<td class="first"><label for="name"><?php _e( 'Name:' ); ?></label></td>
-	<td><input type="text" name="newcomment_author" size="30" value="<?php echo esc_attr( $comment->comment_author ); ?>" id="name" /></td>
+	<td><input type="text" name="newcomment_author" size="30" value="<?php echo esc_attr( $comment->comment_author ); ?>" id="name" class="wp-initial-focus" /></td>
 </tr>
 <tr>
 	<td class="first"><label for="email"><?php _e( 'Email:' ); ?></label></td>
@@ -200,10 +200,4 @@
 </div><!-- /post-body -->
 </div>
 </div>
-</form>
-
-<?php if ( ! wp_is_mobile() ) : ?>
-<script type="text/javascript">
-try{document.post.name.focus();}catch(e){}
-</script>
-<?php endif;
+</form>
\ No newline at end of file
Index: src/wp-admin/edit-tag-form.php
===================================================================
--- src/wp-admin/edit-tag-form.php	(revision 38469)
+++ src/wp-admin/edit-tag-form.php	(working copy)
@@ -125,7 +125,7 @@
 	<table class="form-table">
 		<tr class="form-field form-required term-name-wrap">
 			<th scope="row"><label for="name"><?php _ex( 'Name', 'term name' ); ?></label></th>
-			<td><input name="name" id="name" type="text" value="<?php if ( isset( $tag->name ) ) echo esc_attr($tag->name); ?>" size="40" aria-required="true" />
+			<td><input name="name" id="name" type="text" value="<?php if ( isset( $tag->name ) ) echo esc_attr($tag->name); ?>" size="40" aria-required="true" class="wp-initial-focus" />
 			<p class="description"><?php _e('The name is how it appears on your site.'); ?></p></td>
 		</tr>
 <?php if ( !global_terms_enabled() ) { ?>
@@ -263,10 +263,4 @@
 submit_button( __('Update') );
 ?>
 </form>
-</div>
-
-<?php if ( ! wp_is_mobile() ) : ?>
-<script type="text/javascript">
-try{document.forms.edittag.name.focus();}catch(e){}
-</script>
-<?php endif;
+</div>
\ No newline at end of file
Index: src/wp-admin/edit-tags.php
===================================================================
--- src/wp-admin/edit-tags.php	(revision 38469)
+++ src/wp-admin/edit-tags.php	(working copy)
@@ -411,7 +411,7 @@
 
 <div class="form-field form-required term-name-wrap">
 	<label for="tag-name"><?php _ex( 'Name', 'term name' ); ?></label>
-	<input name="tag-name" id="tag-name" type="text" value="" size="40" aria-required="true" />
+	<input name="tag-name" id="tag-name" type="text" value="" size="40" aria-required="true" class="wp-initial-focus" />
 	<p><?php _e('The name is how it appears on your site.'); ?></p>
 </div>
 <?php if ( ! global_terms_enabled() ) : ?>
@@ -615,12 +615,7 @@
 </div><!-- /col-container -->
 </div><!-- /wrap -->
 
-<?php if ( ! wp_is_mobile() ) : ?>
-<script type="text/javascript">
-try{document.forms.addtag['tag-name'].focus();}catch(e){}
-</script>
 <?php
-endif;
 
 $wp_list_table->inline_edit();
 
Index: src/wp-admin/install.php
===================================================================
--- src/wp-admin/install.php	(revision 38469)
+++ src/wp-admin/install.php	(working copy)
@@ -390,13 +390,17 @@
 		}
 		break;
 }
-
-if ( ! wp_is_mobile() ) {
-	?>
-<script type="text/javascript">var t = document.getElementById('weblog_title'); if (t){ t.focus(); }</script>
-	<?php
+?>
+<script type="text/javascript">
+var width = Math.max( document.documentElement.clientWidth, window.innerWidth || 0 );
+if ( width > 782 ) {
+	var t = document.getElementById( 'weblog_title' );
+	if ( t ) {
+		t.focus();
+	}
 }
-
+</script>
+<?php
 wp_print_scripts( $scripts_to_print );
 ?>
 <script type="text/javascript">
Index: src/wp-admin/js/common.js
===================================================================
--- src/wp-admin/js/common.js	(revision 38469)
+++ src/wp-admin/js/common.js	(working copy)
@@ -913,7 +913,9 @@
 	$document.on( 'wp-pin-menu wp-window-resized.pin-menu postboxes-columnchange.pin-menu postbox-toggled.pin-menu wp-collapse-menu.pin-menu wp-scroll-start.pin-menu', setPinMenu );
 
 	// Set initial focus on a specific element.
-	$( '.wp-initial-focus' ).focus();
+	if ( ! wpResponsiveActive ) {
+		$( '.wp-initial-focus' ).focus();
+	}
 });
 
 // Fire a custom jQuery event at the end of window resize
