Make WordPress Core

Changeset 21311


Ignore:
Timestamp:
07/24/2012 12:15:15 AM (12 years ago)
Author:
azaozz
Message:

Remove nearly all tabindex attributes from the admin, leaving them only where absolutely necessary (for now that's only the toolbar).

Add tabindex="-1" for the menu images links to avoid double tab stops there when the menu is expanded.

Fix/add auto-focus on the first input fields on the Add/Edit Post, all taxonomy, all edit taxonomy, Log In and Edit Comment screens.

See #21340.

Location:
trunk
Files:
19 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-form-advanced.php

    r21300 r21311  
    284284<div id="titlewrap">
    285285    <label class="hide-if-no-js" style="visibility:hidden" id="title-prompt-text" for="title"><?php echo apply_filters( 'enter_title_here', __( 'Enter title here' ), $post ); ?></label>
    286     <input type="text" name="post_title" size="30" tabindex="1" value="<?php echo esc_attr( htmlspecialchars( $post->post_title ) ); ?>" id="title" autocomplete="off" />
     286    <input type="text" name="post_title" size="30" value="<?php echo esc_attr( htmlspecialchars( $post->post_title ) ); ?>" id="title" autocomplete="off" />
    287287</div>
    288288<div class="inside">
     
    313313<div id="postdivrich" class="postarea">
    314314
    315 <?php wp_editor($post->post_content, 'content', array('dfw' => true, 'tabindex' => 1, 'tabfocus_elements' => 'sample-permalink,post-preview') ); ?>
     315<?php wp_editor($post->post_content, 'content', array('dfw' => true, 'tabfocus_elements' => 'sample-permalink,post-preview') ); ?>
    316316
    317317<table id="post-status-info" cellspacing="0"><tbody><tr>
     
    379379?>
    380380
    381 <?php if ((isset($post->post_title) && '' == $post->post_title) || (isset($_GET['message']) && 2 > $_GET['message'])) : ?>
     381<?php if ( (isset($post->post_title) && '' == $post->post_title) || (isset($_GET['message']) && 2 > $_GET['message']) ) : ?>
    382382<script type="text/javascript">
    383383try{document.post.title.focus();}catch(e){}
  • trunk/wp-admin/edit-form-comment.php

    r20272 r21311  
    3232<tr valign="top">
    3333    <td class="first"><?php _e( 'Name:' ); ?></td>
    34     <td><input type="text" name="newcomment_author" size="30" value="<?php echo esc_attr( $comment->comment_author ); ?>" tabindex="1" id="name" /></td>
     34    <td><input type="text" name="newcomment_author" size="30" value="<?php echo esc_attr( $comment->comment_author ); ?>" id="name" /></td>
    3535</tr>
    3636<tr valign="top">
     
    4343        }
    4444?></td>
    45     <td><input type="text" name="newcomment_author_email" size="30" value="<?php echo $comment->comment_author_email; ?>" tabindex="2" id="email" /></td>
     45    <td><input type="text" name="newcomment_author_email" size="30" value="<?php echo $comment->comment_author_email; ?>" id="email" /></td>
    4646</tr>
    4747<tr valign="top">
     
    5454            _e( 'URL:' );
    5555        } ?></td>
    56     <td><input type="text" id="newcomment_author_url" name="newcomment_author_url" size="30" class="code" value="<?php echo esc_attr($comment->comment_author_url); ?>" tabindex="3" /></td>
     56    <td><input type="text" id="newcomment_author_url" name="newcomment_author_url" size="30" class="code" value="<?php echo esc_attr($comment->comment_author_url); ?>" /></td>
    5757</tr>
    5858</tbody>
     
    9999$date = date_i18n( $datef, strtotime( $comment->comment_date ) );
    100100?>
    101 <span id="timestamp"><?php printf($stamp, $date); ?></span>&nbsp;<a href="#edit_timestamp" class="edit-timestamp hide-if-no-js" tabindex='4'><?php _e('Edit') ?></a>
    102 <div id='timestampdiv' class='hide-if-js'><?php touch_time(('editcomment' == $action), 0, 5); ?></div>
     101<span id="timestamp"><?php printf($stamp, $date); ?></span>&nbsp;<a href="#edit_timestamp" class="edit-timestamp hide-if-no-js"><?php _e('Edit') ?></a>
     102<div id='timestampdiv' class='hide-if-js'><?php touch_time(('editcomment' == $action), 0); ?></div>
    103103</div>
    104104</div> <!-- misc actions -->
     
    111111</div>
    112112<div id="publishing-action">
    113 <?php submit_button( __( 'Update' ), 'primary', 'save', false, array( 'tabindex' => '4' ) ); ?>
     113<?php submit_button( __( 'Update' ), 'primary', 'save', false ); ?>
    114114</div>
    115115<div class="clear"></div>
  • trunk/wp-admin/edit-link-form.php

    r20579 r21311  
    8383<h3><label for="link_name"><?php _ex('Name', 'link name') ?></label></h3>
    8484<div class="inside">
    85     <input type="text" name="link_name" size="30" tabindex="1" value="<?php echo esc_attr($link->link_name); ?>" id="link_name" />
     85    <input type="text" name="link_name" size="30" value="<?php echo esc_attr($link->link_name); ?>" id="link_name" />
    8686    <p><?php _e('Example: Nifty blogging software'); ?></p>
    8787</div>
     
    9191<h3><label for="link_url"><?php _e('Web Address') ?></label></h3>
    9292<div class="inside">
    93     <input type="text" name="link_url" size="30" class="code" tabindex="1" value="<?php echo esc_attr($link->link_url); ?>" id="link_url" />
     93    <input type="text" name="link_url" size="30" class="code" value="<?php echo esc_attr($link->link_url); ?>" id="link_url" />
    9494    <p><?php _e('Example: <code>http://wordpress.org/</code> &#8212; don&#8217;t forget the <code>http://</code>'); ?></p>
    9595</div>
     
    9999<h3><label for="link_description"><?php _e('Description') ?></label></h3>
    100100<div class="inside">
    101     <input type="text" name="link_description" size="30" tabindex="1" value="<?php echo isset($link->link_description) ? esc_attr($link->link_description) : ''; ?>" id="link_description" />
     101    <input type="text" name="link_description" size="30" value="<?php echo isset($link->link_description) ? esc_attr($link->link_description) : ''; ?>" id="link_description" />
    102102    <p><?php _e('This will be shown when someone hovers over the link in the blogroll, or optionally below the link.'); ?></p>
    103103</div>
  • trunk/wp-admin/edit-tag-form.php

    r20605 r21311  
    9292</form>
    9393</div>
     94<script type="text/javascript">
     95try{document.forms.edittag.name.focus();}catch(e){}
     96</script>
  • trunk/wp-admin/edit-tags.php

    r21216 r21311  
    409409</div><!-- /col-container -->
    410410</div><!-- /wrap -->
    411 
     411<script type="text/javascript">
     412try{document.forms.addtag['tag-name'].focus();}catch(e){}
     413</script>
    412414<?php $wp_list_table->inline_edit(); ?>
    413415
  • trunk/wp-admin/includes/class-wp-posts-list-table.php

    r21192 r21311  
    755755            <label><span class="title"><?php _e( 'Date' ); ?></span></label>
    756756            <div class="inline-edit-date">
    757                 <?php touch_time( 1, 1, 4, 1 ); ?>
     757                <?php touch_time( 1, 1, 0, 1 ); ?>
    758758            </div>
    759759            <br class="clear" />
  • trunk/wp-admin/includes/class-wp-theme-install-list-table.php

    r21014 r21311  
    238238                    <li><?php echo $action; ?></li>
    239239                <?php endforeach; ?>
    240                 <li class="hide-if-no-js"><a href="#" class="theme-detail" tabindex='4'><?php _e('Details') ?></a></li>
     240                <li class="hide-if-no-js"><a href="#" class="theme-detail"><?php _e('Details') ?></a></li>
    241241            </ul>
    242242        </div>
  • trunk/wp-admin/includes/class-wp-themes-list-table.php

    r21010 r21311  
    172172                        <li><?php echo $action; ?></li>
    173173                    <?php endforeach; ?>
    174                     <li class="hide-if-no-js"><a href="#" class="theme-detail" tabindex='4'><?php _e('Details') ?></a></li>
     174                    <li class="hide-if-no-js"><a href="#" class="theme-detail"><?php _e('Details') ?></a></li>
    175175                </ul>
    176176                <?php echo $delete_action; ?>
  • trunk/wp-admin/includes/dashboard.php

    r21249 r21311  
    506506        <h4 id="quick-post-title"><label for="title"><?php _e('Title') ?></label></h4>
    507507        <div class="input-text-wrap">
    508             <input type="text" name="post_title" id="title" tabindex="1" autocomplete="off" value="<?php echo esc_attr( $post->post_title ); ?>" />
     508            <input type="text" name="post_title" id="title" autocomplete="off" value="<?php echo esc_attr( $post->post_title ); ?>" />
    509509        </div>
    510510
     
    517517        <h4 id="content-label"><label for="content"><?php _e('Content') ?></label></h4>
    518518        <div class="textarea-wrap">
    519             <textarea name="content" id="content" class="mceEditor" rows="3" cols="15" tabindex="2"><?php echo esc_textarea( $post->post_content ); ?></textarea>
     519            <textarea name="content" id="content" class="mceEditor" rows="3" cols="15"><?php echo esc_textarea( $post->post_content ); ?></textarea>
    520520        </div>
    521521
     
    524524        <h4><label for="tags-input"><?php _e('Tags') ?></label></h4>
    525525        <div class="input-text-wrap">
    526             <input type="text" name="tags_input" id="tags-input" tabindex="3" value="<?php echo get_tags_to_edit( $post->ID ); ?>" />
     526            <input type="text" name="tags_input" id="tags-input" value="<?php echo get_tags_to_edit( $post->ID ); ?>" />
    527527        </div>
    528528
     
    532532            <input type="hidden" name="post_type" value="post" />
    533533            <?php wp_nonce_field('add-post'); ?>
    534             <?php submit_button( __( 'Save Draft' ), 'button', 'save', false, array( 'id' => 'save-post', 'tabindex'=> 4 ) ); ?>
     534            <?php submit_button( __( 'Save Draft' ), 'button', 'save', false, array( 'id' => 'save-post' ) ); ?>
    535535            <input type="reset" value="<?php esc_attr_e( 'Reset' ); ?>" class="button" />
    536536            <span id="publishing-action">
    537                 <input type="submit" name="publish" id="publish" accesskey="p" tabindex="5" class="button-primary" value="<?php current_user_can('publish_posts') ? esc_attr_e('Publish') : esc_attr_e('Submit for Review'); ?>" />
     537                <input type="submit" name="publish" id="publish" accesskey="p" class="button-primary" value="<?php current_user_can('publish_posts') ? esc_attr_e('Publish') : esc_attr_e('Submit for Review'); ?>" />
    538538                <img class="waiting" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" />
    539539            </span>
  • trunk/wp-admin/includes/meta-boxes.php

    r21107 r21311  
    2929<div id="save-action">
    3030<?php if ( 'publish' != $post->post_status && 'future' != $post->post_status && 'pending' != $post->post_status ) { ?>
    31 <input <?php if ( 'private' == $post->post_status ) { ?>style="display:none"<?php } ?> type="submit" name="save" id="save-post" value="<?php esc_attr_e('Save Draft'); ?>" tabindex="4" class="button button-highlighted" />
     31<input <?php if ( 'private' == $post->post_status ) { ?>style="display:none"<?php } ?> type="submit" name="save" id="save-post" value="<?php esc_attr_e('Save Draft'); ?>" class="button button-highlighted" />
    3232<?php } elseif ( 'pending' == $post->post_status && $can_publish ) { ?>
    33 <input type="submit" name="save" id="save-post" value="<?php esc_attr_e('Save as Pending'); ?>" tabindex="4" class="button button-highlighted" />
     33<input type="submit" name="save" id="save-post" value="<?php esc_attr_e('Save as Pending'); ?>" class="button button-highlighted" />
    3434<?php } ?>
    3535<img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" class="ajax-loading" id="draft-ajax-loading" alt="" />
     
    4949}
    5050?>
    51 <a class="preview button" href="<?php echo $preview_link; ?>" target="wp-preview" id="post-preview" tabindex="4"><?php echo $preview_button; ?></a>
     51<a class="preview button" href="<?php echo $preview_link; ?>" target="wp-preview" id="post-preview"><?php echo $preview_button; ?></a>
    5252<input type="hidden" name="wp-preview" id="wp-preview" value="" />
    5353</div>
     
    8282</span>
    8383<?php if ( 'publish' == $post->post_status || 'private' == $post->post_status || $can_publish ) { ?>
    84 <a href="#post_status" <?php if ( 'private' == $post->post_status ) { ?>style="display:none;" <?php } ?>class="edit-post-status hide-if-no-js" tabindex='4'><?php _e('Edit') ?></a>
     84<a href="#post_status" <?php if ( 'private' == $post->post_status ) { ?>style="display:none;" <?php } ?>class="edit-post-status hide-if-no-js"><?php _e('Edit') ?></a>
    8585
    8686<div id="post-status-select" class="hide-if-js">
    8787<input type="hidden" name="hidden_post_status" id="hidden_post_status" value="<?php echo esc_attr( ('auto-draft' == $post->post_status ) ? 'draft' : $post->post_status); ?>" />
    88 <select name='post_status' id='post_status' tabindex='4'>
     88<select name='post_status' id='post_status'>
    8989<?php if ( 'publish' == $post->post_status ) : ?>
    9090<option<?php selected( $post->post_status, 'publish' ); ?> value='publish'><?php _e('Published') ?></option>
     
    138138<input type="radio" name="visibility" id="visibility-radio-public" value="public" <?php checked( $visibility, 'public' ); ?> /> <label for="visibility-radio-public" class="selectit"><?php _e('Public'); ?></label><br />
    139139<?php if ( $post_type == 'post' && current_user_can( 'edit_others_posts' ) ) : ?>
    140 <span id="sticky-span"><input id="sticky" name="sticky" type="checkbox" value="sticky" <?php checked( is_sticky( $post->ID ) ); ?> tabindex="4" /> <label for="sticky" class="selectit"><?php _e( 'Stick this post to the front page' ); ?></label><br /></span>
     140<span id="sticky-span"><input id="sticky" name="sticky" type="checkbox" value="sticky" <?php checked( is_sticky( $post->ID ) ); ?> /> <label for="sticky" class="selectit"><?php _e( 'Stick this post to the front page' ); ?></label><br /></span>
    141141<?php endif; ?>
    142142<input type="radio" name="visibility" id="visibility-radio-password" value="password" <?php checked( $visibility, 'password' ); ?> /> <label for="visibility-radio-password" class="selectit"><?php _e('Password protected'); ?></label><br />
     
    178178    <span id="timestamp">
    179179    <?php printf($stamp, $date); ?></span>
    180     <a href="#edit_timestamp" class="edit-timestamp hide-if-no-js" tabindex='4'><?php _e('Edit') ?></a>
    181     <div id="timestampdiv" class="hide-if-js"><?php touch_time(($action == 'edit'),1,4); ?></div>
     180    <a href="#edit_timestamp" class="edit-timestamp hide-if-no-js"><?php _e('Edit') ?></a>
     181    <div id="timestampdiv" class="hide-if-js"><?php touch_time(($action == 'edit'), 1); ?></div>
    182182</div><?php // /misc-pub-section ?>
    183183<?php endif; ?>
     
    209209        if ( !empty($post->post_date_gmt) && time() < strtotime( $post->post_date_gmt . ' +0000' ) ) : ?>
    210210        <input name="original_publish" type="hidden" id="original_publish" value="<?php esc_attr_e('Schedule') ?>" />
    211         <?php submit_button( __( 'Schedule' ), 'primary', 'publish', false, array( 'tabindex' => '5', 'accesskey' => 'p' ) ); ?>
     211        <?php submit_button( __( 'Schedule' ), 'primary', 'publish', false, array( 'accesskey' => 'p' ) ); ?>
    212212<?php   else : ?>
    213213        <input name="original_publish" type="hidden" id="original_publish" value="<?php esc_attr_e('Publish') ?>" />
    214         <?php submit_button( __( 'Publish' ), 'primary', 'publish', false, array( 'tabindex' => '5', 'accesskey' => 'p' ) ); ?>
     214        <?php submit_button( __( 'Publish' ), 'primary', 'publish', false, array( 'accesskey' => 'p' ) ); ?>
    215215<?php   endif;
    216216    else : ?>
    217217        <input name="original_publish" type="hidden" id="original_publish" value="<?php esc_attr_e('Submit for Review') ?>" />
    218         <?php submit_button( __( 'Submit for Review' ), 'primary', 'publish', false, array( 'tabindex' => '5', 'accesskey' => 'p' ) ); ?>
     218        <?php submit_button( __( 'Submit for Review' ), 'primary', 'publish', false, array( 'accesskey' => 'p' ) ); ?>
    219219<?php
    220220    endif;
    221221} else { ?>
    222222        <input name="original_publish" type="hidden" id="original_publish" value="<?php esc_attr_e('Update') ?>" />
    223         <input name="save" type="submit" class="button-primary" id="publish" tabindex="5" accesskey="p" value="<?php esc_attr_e('Update') ?>" />
     223        <input name="save" type="submit" class="button-primary" id="publish" accesskey="p" value="<?php esc_attr_e('Update') ?>" />
    224224<?php
    225225} ?>
     
    289289        <div class="taghint"><?php echo $taxonomy->labels->add_new_item; ?></div>
    290290        <p><input type="text" id="new-tag-<?php echo $tax_name; ?>" name="newtag[<?php echo $tax_name; ?>]" class="newtag form-input-tip" size="16" autocomplete="off" value="" />
    291         <input type="button" class="button tagadd" value="<?php esc_attr_e('Add'); ?>" tabindex="3" /></p>
     291        <input type="button" class="button tagadd" value="<?php esc_attr_e('Add'); ?>" /></p>
    292292    </div>
    293293    <p class="howto"><?php echo esc_attr( $taxonomy->labels->separate_items_with_commas ); ?></p>
     
    321321    <div id="taxonomy-<?php echo $taxonomy; ?>" class="categorydiv">
    322322        <ul id="<?php echo $taxonomy; ?>-tabs" class="category-tabs">
    323             <li class="tabs"><a href="#<?php echo $taxonomy; ?>-all" tabindex="3"><?php echo $tax->labels->all_items; ?></a></li>
    324             <li class="hide-if-no-js"><a href="#<?php echo $taxonomy; ?>-pop" tabindex="3"><?php _e( 'Most Used' ); ?></a></li>
     323            <li class="tabs"><a href="#<?php echo $taxonomy; ?>-all"><?php echo $tax->labels->all_items; ?></a></li>
     324            <li class="hide-if-no-js"><a href="#<?php echo $taxonomy; ?>-pop"><?php _e( 'Most Used' ); ?></a></li>
    325325        </ul>
    326326
     
    343343            <div id="<?php echo $taxonomy; ?>-adder" class="wp-hidden-children">
    344344                <h4>
    345                     <a id="<?php echo $taxonomy; ?>-add-toggle" href="#<?php echo $taxonomy; ?>-add" class="hide-if-no-js" tabindex="3">
     345                    <a id="<?php echo $taxonomy; ?>-add-toggle" href="#<?php echo $taxonomy; ?>-add" class="hide-if-no-js">
    346346                        <?php
    347347                            /* translators: %s: add new taxonomy label */
     
    352352                <p id="<?php echo $taxonomy; ?>-add" class="category-add wp-hidden-child">
    353353                    <label class="screen-reader-text" for="new<?php echo $taxonomy; ?>"><?php echo $tax->labels->add_new_item; ?></label>
    354                     <input type="text" name="new<?php echo $taxonomy; ?>" id="new<?php echo $taxonomy; ?>" class="form-required form-input-tip" value="<?php echo esc_attr( $tax->labels->new_item_name ); ?>" tabindex="3" aria-required="true"/>
     354                    <input type="text" name="new<?php echo $taxonomy; ?>" id="new<?php echo $taxonomy; ?>" class="form-required form-input-tip" value="<?php echo esc_attr( $tax->labels->new_item_name ); ?>" aria-required="true"/>
    355355                    <label class="screen-reader-text" for="new<?php echo $taxonomy; ?>_parent">
    356356                        <?php echo $tax->labels->parent_item_colon; ?>
    357357                    </label>
    358                     <?php wp_dropdown_categories( array( 'taxonomy' => $taxonomy, 'hide_empty' => 0, 'name' => 'new'.$taxonomy.'_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => '&mdash; ' . $tax->labels->parent_item . ' &mdash;', 'tab_index' => 3 ) ); ?>
    359                     <input type="button" id="<?php echo $taxonomy; ?>-add-submit" class="add:<?php echo $taxonomy ?>checklist:<?php echo $taxonomy ?>-add button category-add-submit" value="<?php echo esc_attr( $tax->labels->add_new_item ); ?>" tabindex="3" />
     358                    <?php wp_dropdown_categories( array( 'taxonomy' => $taxonomy, 'hide_empty' => 0, 'name' => 'new'.$taxonomy.'_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => '&mdash; ' . $tax->labels->parent_item . ' &mdash;' ) ); ?>
     359                    <input type="button" id="<?php echo $taxonomy; ?>-add-submit" class="add:<?php echo $taxonomy ?>checklist:<?php echo $taxonomy ?>-add button category-add-submit" value="<?php echo esc_attr( $tax->labels->add_new_item ); ?>" />
    360360                    <?php wp_nonce_field( 'add-'.$taxonomy, '_ajax_nonce-add-'.$taxonomy, false ); ?>
    361361                    <span id="<?php echo $taxonomy; ?>-ajax-response"></span>
     
    376376function post_excerpt_meta_box($post) {
    377377?>
    378 <label class="screen-reader-text" for="excerpt"><?php _e('Excerpt') ?></label><textarea rows="1" cols="40" name="excerpt" tabindex="6" id="excerpt"><?php echo $post->post_excerpt; // textarea_escaped ?></textarea>
     378<label class="screen-reader-text" for="excerpt"><?php _e('Excerpt') ?></label><textarea rows="1" cols="40" name="excerpt" id="excerpt"><?php echo $post->post_excerpt; // textarea_escaped ?></textarea>
    379379<p><?php _e('Excerpts are optional hand-crafted summaries of your content that can be used in your theme. <a href="http://codex.wordpress.org/Excerpt" target="_blank">Learn more about manual excerpts.</a>'); ?></p>
    380380<?php
     
    389389 */
    390390function post_trackback_meta_box($post) {
    391     $form_trackback = '<input type="text" name="trackback_url" id="trackback_url" class="code" tabindex="7" value="'. esc_attr( str_replace("\n", ' ', $post->to_ping) ) .'" />';
     391    $form_trackback = '<input type="text" name="trackback_url" id="trackback_url" class="code" value="'. esc_attr( str_replace("\n", ' ', $post->to_ping) ) .'" />';
    392392    if ('' != $post->pinged) {
    393393        $pings = '<p>'. __('Already pinged:') . '</p><ul>';
     
    614614<div id="preview-action">
    615615<?php if ( !empty($link->link_id) ) { ?>
    616     <a class="preview button" href="<?php echo $link->link_url; ?>" target="_blank" tabindex="4"><?php _e('Visit Link'); ?></a>
     616    <a class="preview button" href="<?php echo $link->link_url; ?>" target="_blank"><?php _e('Visit Link'); ?></a>
    617617<?php } ?>
    618618</div>
     
    639639<div id="publishing-action">
    640640<?php if ( !empty($link->link_id) ) { ?>
    641     <input name="save" type="submit" class="button-primary" id="publish" tabindex="4" accesskey="p" value="<?php esc_attr_e('Update Link') ?>" />
     641    <input name="save" type="submit" class="button-primary" id="publish" accesskey="p" value="<?php esc_attr_e('Update Link') ?>" />
    642642<?php } else { ?>
    643     <input name="save" type="submit" class="button-primary" id="publish" tabindex="4" accesskey="p" value="<?php esc_attr_e('Add Link') ?>" />
     643    <input name="save" type="submit" class="button-primary" id="publish" accesskey="p" value="<?php esc_attr_e('Add Link') ?>" />
    644644<?php } ?>
    645645</div>
  • trunk/wp-admin/includes/template.php

    r21075 r21311  
    333333        <div class="inside">
    334334        <label for="author"><?php _e('Name') ?></label>
    335         <input type="text" name="newcomment_author" size="50" value="" tabindex="101" id="author" />
     335        <input type="text" name="newcomment_author" size="50" value="" id="author" />
    336336        </div>
    337337
    338338        <div class="inside">
    339339        <label for="author-email"><?php _e('E-mail') ?></label>
    340         <input type="text" name="newcomment_author_email" size="50" value="" tabindex="102" id="author-email" />
     340        <input type="text" name="newcomment_author_email" size="50" value="" id="author-email" />
    341341        </div>
    342342
    343343        <div class="inside">
    344344        <label for="author-url"><?php _e('URL') ?></label>
    345         <input type="text" id="author-url" name="newcomment_author_url" size="103" value="" tabindex="103" />
     345        <input type="text" id="author-url" name="newcomment_author_url" size="103" value="" />
    346346        </div>
    347347        <div style="clear:both;"></div>
     
    351351    <?php
    352352    $quicktags_settings = array( 'buttons' => 'strong,em,link,block,del,ins,img,ul,ol,li,code,spell,close' );
    353     wp_editor( '', 'replycontent', array( 'media_buttons' => false, 'tinymce' => false, 'quicktags' => $quicktags_settings, 'tabindex' => 104 ) );
     353    wp_editor( '', 'replycontent', array( 'media_buttons' => false, 'tinymce' => false, 'quicktags' => $quicktags_settings ) );
    354354    ?>
    355355    </div>
    356356
    357357    <p id="replysubmit" class="submit">
    358     <a href="#comments-form" class="cancel button-secondary alignleft" tabindex="106"><?php _e('Cancel'); ?></a>
    359     <a href="#comments-form" class="save button-primary alignright" tabindex="104">
     358    <a href="#comments-form" class="cancel button-secondary alignleft"><?php _e('Cancel'); ?></a>
     359    <a href="#comments-form" class="save button-primary alignright">
    360360    <span id="addbtn" style="display:none;"><?php _e('Add Comment'); ?></span>
    361361    <span id="savebtn" style="display:none;"><?php _e('Update Comment'); ?></span>
     
    490490
    491491    $r .= "\n\t<tr id='meta-{$entry['meta_id']}' class='$style'>";
    492     $r .= "\n\t\t<td class='left'><label class='screen-reader-text' for='meta[{$entry['meta_id']}][key]'>" . __( 'Key' ) . "</label><input name='meta[{$entry['meta_id']}][key]' id='meta[{$entry['meta_id']}][key]' tabindex='6' type='text' size='20' value='{$entry['meta_key']}' />";
     492    $r .= "\n\t\t<td class='left'><label class='screen-reader-text' for='meta[{$entry['meta_id']}][key]'>" . __( 'Key' ) . "</label><input name='meta[{$entry['meta_id']}][key]' id='meta[{$entry['meta_id']}][key]' type='text' size='20' value='{$entry['meta_key']}' />";
    493493
    494494    $r .= "\n\t\t<div class='submit'>";
    495     $r .= get_submit_button( __( 'Delete' ), "delete:the-list:meta-{$entry['meta_id']}::_ajax_nonce=$delete_nonce deletemeta", "deletemeta[{$entry['meta_id']}]", false, array( 'tabindex' => '6' ) );
     495    $r .= get_submit_button( __( 'Delete' ), "delete:the-list:meta-{$entry['meta_id']}::_ajax_nonce=$delete_nonce deletemeta", "deletemeta[{$entry['meta_id']}]", false );
    496496    $r .= "\n\t\t";
    497     $r .= get_submit_button( __( 'Update' ), "add:the-list:meta-{$entry['meta_id']}::_ajax_nonce-add-meta=$update_nonce updatemeta" , 'updatemeta', false, array( 'tabindex' => '6' ) );
     497    $r .= get_submit_button( __( 'Update' ), "add:the-list:meta-{$entry['meta_id']}::_ajax_nonce-add-meta=$update_nonce updatemeta" , 'updatemeta', false );
    498498    $r .= "</div>";
    499499    $r .= wp_nonce_field( 'change-meta', '_ajax_nonce', false, false );
    500500    $r .= "</td>";
    501501
    502     $r .= "\n\t\t<td><label class='screen-reader-text' for='meta[{$entry['meta_id']}][value]'>" . __( 'Value' ) . "</label><textarea name='meta[{$entry['meta_id']}][value]' id='meta[{$entry['meta_id']}][value]' tabindex='6' rows='2' cols='30'>{$entry['meta_value']}</textarea></td>\n\t</tr>";
     502    $r .= "\n\t\t<td><label class='screen-reader-text' for='meta[{$entry['meta_id']}][value]'>" . __( 'Value' ) . "</label><textarea name='meta[{$entry['meta_id']}][value]' id='meta[{$entry['meta_id']}][value]' rows='2' cols='30'>{$entry['meta_value']}</textarea></td>\n\t</tr>";
    503503    return $r;
    504504}
     
    535535<td id="newmetaleft" class="left">
    536536<?php if ( $keys ) { ?>
    537 <select id="metakeyselect" name="metakeyselect" tabindex="7">
     537<select id="metakeyselect" name="metakeyselect">
    538538<option value="#NONE#"><?php _e( '&mdash; Select &mdash;' ); ?></option>
    539539<?php
     
    544544?>
    545545</select>
    546 <input class="hide-if-js" type="text" id="metakeyinput" name="metakeyinput" tabindex="7" value="" />
     546<input class="hide-if-js" type="text" id="metakeyinput" name="metakeyinput" value="" />
    547547<a href="#postcustomstuff" class="hide-if-no-js" onclick="jQuery('#metakeyinput, #metakeyselect, #enternew, #cancelnew').toggle();return false;">
    548548<span id="enternew"><?php _e('Enter new'); ?></span>
    549549<span id="cancelnew" class="hidden"><?php _e('Cancel'); ?></span></a>
    550550<?php } else { ?>
    551 <input type="text" id="metakeyinput" name="metakeyinput" tabindex="7" value="" />
     551<input type="text" id="metakeyinput" name="metakeyinput" value="" />
    552552<?php } ?>
    553553</td>
    554 <td><textarea id="metavalue" name="metavalue" rows="2" cols="25" tabindex="8"></textarea></td>
     554<td><textarea id="metavalue" name="metavalue" rows="2" cols="25"></textarea></td>
    555555</tr>
    556556
    557557<tr><td colspan="2" class="submit">
    558 <?php submit_button( __( 'Add Custom Field' ), 'add:the-list:newmeta', 'addmeta', false, array( 'id' => 'addmetasub', 'tabindex' => '9' ) ); ?>
     558<?php submit_button( __( 'Add Custom Field' ), 'add:the-list:newmeta', 'addmeta', false, array( 'id' => 'addmetasub' ) ); ?>
    559559<?php wp_nonce_field( 'add-meta', '_ajax_nonce-add-meta', false ); ?>
    560560</td></tr>
  • trunk/wp-admin/menu-header.php

    r20698 r21311  
    4242        $admin_is_parent = false;
    4343        $class = array();
    44         $aria_attributes = 'tabindex="1"';
     44        $aria_attributes = '';
    4545
    4646        if ( $first ) {
     
    6060            $class[] = 'wp-not-current-submenu';
    6161            if ( ! empty( $submenu_items ) )
    62                 $aria_attributes .= ' aria-haspopup="true"';
     62                $aria_attributes .= 'aria-haspopup="true"';
    6363        }
    6464
     
    8888            if ( ! empty( $menu_hook ) || ( ('index.php' != $submenu_items[0][2]) && file_exists( WP_PLUGIN_DIR . "/$menu_file" ) ) ) {
    8989                $admin_is_parent = true;
    90                 echo "<div class='wp-menu-image'><a href='admin.php?page={$submenu_items[0][2]}' aria-label='$aria_label'>$img</a></div>$arrow<a href='admin.php?page={$submenu_items[0][2]}'$class $aria_attributes>$title</a>";
     90                echo "<div class='wp-menu-image'><a href='admin.php?page={$submenu_items[0][2]}' tabindex='-1' aria-label='$aria_label'>$img</a></div>$arrow<a href='admin.php?page={$submenu_items[0][2]}'$class $aria_attributes>$title</a>";
    9191            } else {
    92                 echo "\n\t<div class='wp-menu-image'><a href='{$submenu_items[0][2]}' aria-label='$aria_label'>$img</a></div>$arrow<a href='{$submenu_items[0][2]}'$class $aria_attributes>$title</a>";
     92                echo "\n\t<div class='wp-menu-image'><a href='{$submenu_items[0][2]}' tabindex='-1' aria-label='$aria_label'>$img</a></div>$arrow<a href='{$submenu_items[0][2]}'$class $aria_attributes>$title</a>";
    9393            }
    9494        } elseif ( ! empty( $item[2] ) && current_user_can( $item[1] ) ) {
     
    9999            if ( ! empty( $menu_hook ) || ( ('index.php' != $item[2]) && file_exists( WP_PLUGIN_DIR . "/$menu_file" ) ) ) {
    100100                $admin_is_parent = true;
    101                 echo "\n\t<div class='wp-menu-image'><a href='admin.php?page={$item[2]}' aria-label='$aria_label'>$img</a></div>$arrow<a href='admin.php?page={$item[2]}'$class $aria_attributes>{$item[0]}</a>";
     101                echo "\n\t<div class='wp-menu-image'><a href='admin.php?page={$item[2]}' tabindex='-1' aria-label='$aria_label'>$img</a></div>$arrow<a href='admin.php?page={$item[2]}'$class $aria_attributes>{$item[0]}</a>";
    102102            } else {
    103                 echo "\n\t<div class='wp-menu-image'><a href='{$item[2]}' aria-label='$aria_label'>$img</a></div>$arrow<a href='{$item[2]}'$class $aria_attributes>{$item[0]}</a>";
     103                echo "\n\t<div class='wp-menu-image'><a href='{$item[2]}' tabindex='-1' aria-label='$aria_label'>$img</a></div>$arrow<a href='{$item[2]}'$class $aria_attributes>{$item[0]}</a>";
    104104            }
    105105        }
     
    113113                    continue;
    114114
    115                 $aria_attributes = 'tabindex="1"';
    116115                $class = array();
    117116                if ( $first ) {
     
    157156
    158157                    $sub_item_url = esc_url( $sub_item_url );
    159                     echo "<li$class><a href='$sub_item_url'$class $aria_attributes>$title</a></li>";
     158                    echo "<li$class><a href='$sub_item_url'$class>$title</a></li>";
    160159                } else {
    161                     echo "<li$class><a href='{$sub_item[2]}'$class $aria_attributes>$title</a></li>";
     160                    echo "<li$class><a href='{$sub_item[2]}'$class>$title</a></li>";
    162161                }
    163162            }
  • trunk/wp-admin/plugin-editor.php

    r21310 r21311  
    227227<form name="template" id="template" action="plugin-editor.php" method="post">
    228228    <?php wp_nonce_field('edit-plugin_' . $file) ?>
    229         <div><textarea cols="70" rows="25" name="newcontent" id="newcontent" aria-describedby="newcontent-description" tabindex="1"><?php echo $content ?></textarea>
     229        <div><textarea cols="70" rows="25" name="newcontent" id="newcontent" aria-describedby="newcontent-description"><?php echo $content ?></textarea>
    230230        <span id="newcontent-description" class="screen-reader-text"><?php _e('Content of the edited file. The Tab key enters a tab character, to move below this area, press the Esc key followed by the Tab key. Shift + Tab works as expected.'); ?></span>
    231231        <input type="hidden" name="action" value="update" />
     
    245245        if ( isset($_GET['phperror']) ) {
    246246            echo "<input type='hidden' name='phperror' value='1' />";
    247             submit_button( __( 'Update File and Attempt to Reactivate' ), 'primary', 'submit', false, array( 'tabindex' => '2' ) );
     247            submit_button( __( 'Update File and Attempt to Reactivate' ), 'primary', 'submit', false );
    248248        } else {
    249             submit_button( __( 'Update File' ), 'primary', 'submit', false, array( 'tabindex' => '2' ) );
     249            submit_button( __( 'Update File' ), 'primary', 'submit', false );
    250250        }
    251251    ?>
  • trunk/wp-admin/press-this.php

    r21219 r21311  
    496496
    497497                    <ul id="category-tabs" class="category-tabs">
    498                         <li class="tabs"><a href="#category-all" tabindex="3"><?php echo $tax->labels->all_items; ?></a></li>
    499                         <li class="hide-if-no-js"><a href="#category-pop" tabindex="3"><?php _e( 'Most Used' ); ?></a></li>
     498                        <li class="tabs"><a href="#category-all"><?php echo $tax->labels->all_items; ?></a></li>
     499                        <li class="hide-if-no-js"><a href="#category-pop"><?php _e( 'Most Used' ); ?></a></li>
    500500                    </ul>
    501501
     
    518518                        <div id="category-adder" class="wp-hidden-children">
    519519                            <h4>
    520                                 <a id="category-add-toggle" href="#category-add" class="hide-if-no-js" tabindex="3">
     520                                <a id="category-add-toggle" href="#category-add" class="hide-if-no-js">
    521521                                    <?php printf( __( '+ %s' ), $tax->labels->add_new_item ); ?>
    522522                                </a>
     
    524524                            <p id="category-add" class="category-add wp-hidden-child">
    525525                                <label class="screen-reader-text" for="newcategory"><?php echo $tax->labels->add_new_item; ?></label>
    526                                 <input type="text" name="newcategory" id="newcategory" class="form-required form-input-tip" value="<?php echo esc_attr( $tax->labels->new_item_name ); ?>" tabindex="3" aria-required="true"/>
     526                                <input type="text" name="newcategory" id="newcategory" class="form-required form-input-tip" value="<?php echo esc_attr( $tax->labels->new_item_name ); ?>" aria-required="true"/>
    527527                                <label class="screen-reader-text" for="newcategory_parent">
    528528                                    <?php echo $tax->labels->parent_item_colon; ?>
    529529                                </label>
    530                                 <?php wp_dropdown_categories( array( 'taxonomy' => 'category', 'hide_empty' => 0, 'name' => 'newcategory_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => '&mdash; ' . $tax->labels->parent_item . ' &mdash;', 'tab_index' => 3 ) ); ?>
    531                                 <input type="button" id="category-add-submit" class="add:categorychecklist:category-add button category-add-submit" value="<?php echo esc_attr( $tax->labels->add_new_item ); ?>" tabindex="3" />
     530                                <?php wp_dropdown_categories( array( 'taxonomy' => 'category', 'hide_empty' => 0, 'name' => 'newcategory_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => '&mdash; ' . $tax->labels->parent_item . ' &mdash;' ) ); ?>
     531                                <input type="button" id="category-add-submit" class="add:categorychecklist:category-add button category-add-submit" value="<?php echo esc_attr( $tax->labels->add_new_item ); ?>" />
    532532                                <?php wp_nonce_field( 'add-category', '_ajax_nonce-add-category', false ); ?>
    533533                                <span id="category-ajax-response"></span>
     
    549549                            <div class="ajaxtag">
    550550                                <input type="text" name="newtag[post_tag]" class="newtag form-input-tip" size="16" autocomplete="off" value="" />
    551                                 <input type="button" class="button tagadd" value="<?php esc_attr_e('Add'); ?>" tabindex="3" />
     551                                <input type="button" class="button tagadd" value="<?php esc_attr_e('Add'); ?>" />
    552552                            </div>
    553553                        </div>
  • trunk/wp-admin/theme-editor.php

    r21310 r21311  
    199199    <form name="template" id="template" action="theme-editor.php" method="post">
    200200    <?php wp_nonce_field( 'edit-theme_' . $file . $stylesheet ); ?>
    201         <div><textarea cols="70" rows="30" name="newcontent" id="newcontent" aria-describedby="newcontent-description" tabindex="1"><?php echo $content ?></textarea>
     201        <div><textarea cols="70" rows="30" name="newcontent" id="newcontent" aria-describedby="newcontent-description"><?php echo $content ?></textarea>
    202202        <span id="newcontent-description" class="screen-reader-text"><?php _e('Content of the edited file. The Tab key enters a tab character, to move below this area, press the Esc key followed by the Tab key. Shift + Tab works as expected.'); ?></span>
    203203        <input type="hidden" name="action" value="update" />
     
    221221<?php
    222222    if ( is_writeable( $file ) ) :
    223         submit_button( __( 'Update File' ), 'primary', 'submit', true, array( 'tabindex' => '2' ) );
     223        submit_button( __( 'Update File' ), 'primary', 'submit', true );
    224224    else : ?>
    225225<p><em><?php _e('You need to make this file writable before you can save your changes. See <a href="http://codex.wordpress.org/Changing_File_Permissions">the Codex</a> for more information.'); ?></em></p>
  • trunk/wp-includes/class-wp-editor.php

    r21306 r21311  
    770770            <p class="howto"><?php _e( 'Enter the destination URL' ); ?></p>
    771771            <div>
    772                 <label><span><?php _e( 'URL' ); ?></span><input id="url-field" type="text" tabindex="10" name="href" /></label>
     772                <label><span><?php _e( 'URL' ); ?></span><input id="url-field" type="text" name="href" /></label>
    773773            </div>
    774774            <div>
    775                 <label><span><?php _e( 'Title' ); ?></span><input id="link-title-field" type="text" tabindex="20" name="linktitle" /></label>
     775                <label><span><?php _e( 'Title' ); ?></span><input id="link-title-field" type="text" name="linktitle" /></label>
    776776            </div>
    777777            <div class="link-target">
    778                 <label><input type="checkbox" id="link-target-checkbox" tabindex="30" /> <?php _e( 'Open link in a new window/tab' ); ?></label>
     778                <label><input type="checkbox" id="link-target-checkbox" /> <?php _e( 'Open link in a new window/tab' ); ?></label>
    779779            </div>
    780780        </div>
     
    786786                    <span><img class="waiting" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" />
    787787                    <?php _e( 'Search' ); ?></span>
    788                     <input type="search" id="search-field" class="link-search-field" tabindex="60" autocomplete="off" />
     788                    <input type="search" id="search-field" class="link-search-field" autocomplete="off" />
    789789                </label>
    790790            </div>
     
    809809        </div>
    810810        <div id="wp-link-update">
    811             <input type="submit" tabindex="100" value="<?php esc_attr_e( 'Add Link' ); ?>" class="button-primary" id="wp-link-submit" name="wp-link-submit">
     811            <input type="submit" value="<?php esc_attr_e( 'Add Link' ); ?>" class="button-primary" id="wp-link-submit" name="wp-link-submit">
    812812        </div>
    813813    </div>
  • trunk/wp-includes/general-template.php

    r21241 r21311  
    275275            <p class="login-username">
    276276                <label for="' . esc_attr( $args['id_username'] ) . '">' . esc_html( $args['label_username'] ) . '</label>
    277                 <input type="text" name="log" id="' . esc_attr( $args['id_username'] ) . '" class="input" value="' . esc_attr( $args['value_username'] ) . '" size="20" tabindex="10" />
     277                <input type="text" name="log" id="' . esc_attr( $args['id_username'] ) . '" class="input" value="' . esc_attr( $args['value_username'] ) . '" size="20" />
    278278            </p>
    279279            <p class="login-password">
    280280                <label for="' . esc_attr( $args['id_password'] ) . '">' . esc_html( $args['label_password'] ) . '</label>
    281                 <input type="password" name="pwd" id="' . esc_attr( $args['id_password'] ) . '" class="input" value="" size="20" tabindex="20" />
     281                <input type="password" name="pwd" id="' . esc_attr( $args['id_password'] ) . '" class="input" value="" size="20" />
    282282            </p>
    283283            ' . apply_filters( 'login_form_middle', '', $args ) . '
    284             ' . ( $args['remember'] ? '<p class="login-remember"><label><input name="rememberme" type="checkbox" id="' . esc_attr( $args['id_remember'] ) . '" value="forever" tabindex="90"' . ( $args['value_remember'] ? ' checked="checked"' : '' ) . ' /> ' . esc_html( $args['label_remember'] ) . '</label></p>' : '' ) . '
     284            ' . ( $args['remember'] ? '<p class="login-remember"><label><input name="rememberme" type="checkbox" id="' . esc_attr( $args['id_remember'] ) . '" value="forever"' . ( $args['value_remember'] ? ' checked="checked"' : '' ) . ' /> ' . esc_html( $args['label_remember'] ) . '</label></p>' : '' ) . '
    285285            <p class="login-submit">
    286                 <input type="submit" name="wp-submit" id="' . esc_attr( $args['id_submit'] ) . '" class="button-primary" value="' . esc_attr( $args['label_log_in'] ) . '" tabindex="100" />
     286                <input type="submit" name="wp-submit" id="' . esc_attr( $args['id_submit'] ) . '" class="button-primary" value="' . esc_attr( $args['label_log_in'] ) . ' />
    287287                <input type="hidden" name="redirect_to" value="' . esc_url( $args['redirect'] ) . '" />
    288288            </p>
  • trunk/wp-includes/js/tinymce/wp-mce-help.php

    r21266 r21311  
    160160
    161161<ul id="tabs">
    162     <li><a id="tab1" href="javascript:flipTab(1)" title="<?php esc_attr_e('Basics of Rich Editing') ?>" accesskey="1" tabindex="1" class="current"><?php _e('Basics') ?></a></li>
    163     <li><a id="tab2" href="javascript:flipTab(2)" title="<?php esc_attr_e('Advanced use of the Rich Editor') ?>" accesskey="2" tabindex="2"><?php _e('Advanced') ?></a></li>
    164     <li><a id="tab3" href="javascript:flipTab(3)" title="<?php esc_attr_e('Hotkeys') ?>" accesskey="3" tabindex="3"><?php _e('Hotkeys') ?></a></li>
    165     <li><a id="tab4" href="javascript:flipTab(4)" title="<?php esc_attr_e('About the software') ?>" accesskey="4" tabindex="4"><?php _e('About') ?></a></li>
     162    <li><a id="tab1" href="javascript:flipTab(1)" title="<?php esc_attr_e('Basics of Rich Editing') ?>" accesskey="1" class="current"><?php _e('Basics') ?></a></li>
     163    <li><a id="tab2" href="javascript:flipTab(2)" title="<?php esc_attr_e('Advanced use of the Rich Editor') ?>" accesskey="2"><?php _e('Advanced') ?></a></li>
     164    <li><a id="tab3" href="javascript:flipTab(3)" title="<?php esc_attr_e('Hotkeys') ?>" accesskey="3"><?php _e('Hotkeys') ?></a></li>
     165    <li><a id="tab4" href="javascript:flipTab(4)" title="<?php esc_attr_e('About the software') ?>" accesskey="4"><?php _e('About') ?></a></li>
    166166</ul>
    167167
  • trunk/wp-login.php

    r21251 r21311  
    433433    <p>
    434434        <label for="user_login" ><?php _e('Username or E-mail:') ?><br />
    435         <input type="text" name="user_login" id="user_login" class="input" value="<?php echo esc_attr($user_login); ?>" size="20" tabindex="10" /></label>
     435        <input type="text" name="user_login" id="user_login" class="input" value="<?php echo esc_attr($user_login); ?>" size="20" /></label>
    436436    </p>
    437437<?php do_action('lostpassword_form'); ?>
    438438    <input type="hidden" name="redirect_to" value="<?php echo esc_attr( $redirect_to ); ?>" />
    439     <p class="submit"><input type="submit" name="wp-submit" id="wp-submit" class="button-primary" value="<?php esc_attr_e('Get New Password'); ?>" tabindex="100" /></p>
     439    <p class="submit"><input type="submit" name="wp-submit" id="wp-submit" class="button-primary" value="<?php esc_attr_e('Get New Password'); ?>" /></p>
    440440</form>
    441441
     
    493493
    494494    <br class="clear" />
    495     <p class="submit"><input type="submit" name="wp-submit" id="wp-submit" class="button-primary" value="<?php esc_attr_e('Reset Password'); ?>" tabindex="100" /></p>
     495    <p class="submit"><input type="submit" name="wp-submit" id="wp-submit" class="button-primary" value="<?php esc_attr_e('Reset Password'); ?>" /></p>
    496496</form>
    497497
     
    539539    <p>
    540540        <label for="user_login"><?php _e('Username') ?><br />
    541         <input type="text" name="user_login" id="user_login" class="input" value="<?php echo esc_attr(stripslashes($user_login)); ?>" size="20" tabindex="10" /></label>
     541        <input type="text" name="user_login" id="user_login" class="input" value="<?php echo esc_attr(stripslashes($user_login)); ?>" size="20" /></label>
    542542    </p>
    543543    <p>
    544544        <label for="user_email"><?php _e('E-mail') ?><br />
    545         <input type="email" name="user_email" id="user_email" class="input" value="<?php echo esc_attr(stripslashes($user_email)); ?>" size="25" tabindex="20" /></label>
     545        <input type="email" name="user_email" id="user_email" class="input" value="<?php echo esc_attr(stripslashes($user_email)); ?>" size="25" /></label>
    546546    </p>
    547547<?php do_action('register_form'); ?>
     
    549549    <br class="clear" />
    550550    <input type="hidden" name="redirect_to" value="<?php echo esc_attr( $redirect_to ); ?>" />
    551     <p class="submit"><input type="submit" name="wp-submit" id="wp-submit" class="button-primary" value="<?php esc_attr_e('Register'); ?>" tabindex="100" /></p>
     551    <p class="submit"><input type="submit" name="wp-submit" id="wp-submit" class="button-primary" value="<?php esc_attr_e('Register'); ?>" /></p>
    552552</form>
    553553
     
    672672    <p>
    673673        <label for="user_login"><?php _e('Username') ?><br />
    674         <input type="text" name="log" id="user_login" class="input" value="<?php echo esc_attr($user_login); ?>" size="20" tabindex="10" /></label>
     674        <input type="text" name="log" id="user_login" class="input" value="<?php echo esc_attr($user_login); ?>" size="20" /></label>
    675675    </p>
    676676    <p>
    677677        <label for="user_pass"><?php _e('Password') ?><br />
    678         <input type="password" name="pwd" id="user_pass" class="input" value="" size="20" tabindex="20" /></label>
     678        <input type="password" name="pwd" id="user_pass" class="input" value="" size="20" /></label>
    679679    </p>
    680680<?php do_action('login_form'); ?>
    681     <p class="forgetmenot"><label for="rememberme"><input name="rememberme" type="checkbox" id="rememberme" value="forever" tabindex="90"<?php checked( $rememberme ); ?> /> <?php esc_attr_e('Remember Me'); ?></label></p>
     681    <p class="forgetmenot"><label for="rememberme"><input name="rememberme" type="checkbox" id="rememberme" value="forever" <?php checked( $rememberme ); ?> /> <?php esc_attr_e('Remember Me'); ?></label></p>
    682682    <p class="submit">
    683         <input type="submit" name="wp-submit" id="wp-submit" class="button-primary" value="<?php esc_attr_e('Log In'); ?>" tabindex="100" />
     683        <input type="submit" name="wp-submit" id="wp-submit" class="button-primary" value="<?php esc_attr_e('Log In'); ?>" />
    684684<?php   if ( $interim_login ) { ?>
    685685        <input type="hidden" name="interim-login" value="1" />
Note: See TracChangeset for help on using the changeset viewer.