Make WordPress Core

Changeset 9710


Ignore:
Timestamp:
11/15/2008 07:51:29 AM (17 years ago)
Author:
markjaquith
Message:

tabindex for QuickPress

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/dashboard.php

    r9709 r9710  
    315315        <h4 id="quick-post-title"><label for="title"><?php _e('Title') ?></label></h4>
    316316        <div class="input-text-wrap">
    317             <input type="text" name="post_title" id="title" autocomplete="off" value="<?php echo attribute_escape( $post->post_title ); ?>" />
     317            <input type="text" name="post_title" id="title" tabindex="1" autocomplete="off" value="<?php echo attribute_escape( $post->post_title ); ?>" />
    318318        </div>
    319319
     
    324324        <h4 id="content-label"><label for="content"><?php _e('Content') ?></label></h4>
    325325        <div class="textarea-wrap">
    326             <textarea name="content" id="content" class="mceEditor" rows="3" cols="15"><?php echo $post->post_content; ?></textarea>
     326            <textarea name="content" id="content" class="mceEditor" rows="3" cols="15" tabindex="2"><?php echo $post->post_content; ?></textarea>
    327327        </div>
    328328
    329329        <h4><label for="tags-input"><?php _e('Tags') ?></label></h4>
    330330        <div class="input-text-wrap">
    331             <input type="text" name="tags_input" id="tags-input" value="<?php echo get_tags_to_edit( $post->ID ); ?>" />
     331            <input type="text" name="tags_input" id="tags-input" tabindex="3" value="<?php echo get_tags_to_edit( $post->ID ); ?>" />
    332332        </div>
    333333
     
    336336            <input type="hidden" name="quickpress_post_ID" value="<?php echo (int) $post->ID; ?>" />
    337337            <?php wp_nonce_field('add-post'); ?>
    338             <input type="submit" name="save" id="save-post" class="button" value="<?php _e('Save Draft'); ?>" />
     338            <input type="submit" name="save" id="save-post" class="button" tabindex="4" value="<?php _e('Save Draft'); ?>" />
    339339            <input type="reset" value="<?php _e( 'Cancel' ); ?>" class="cancel" />
    340340            <?php if ( current_user_can('publish_posts') ) { ?>
    341             <input type="submit" name="publish" id="publish" accesskey="p" class="button button-primary" value="<?php _e('Publish'); ?>" />
     341            <input type="submit" name="publish" id="publish" accesskey="p" tabindex="5" class="button button-primary" value="<?php _e('Publish'); ?>" />
    342342            <?php } else { ?>
    343             <input type="submit" name="publish" id="publish" accesskey="p" class="button button-primary" value="<?php _e('Submit for Review'); ?>" />
     343            <input type="submit" name="publish" id="publish" accesskey="p" tabindex="5" class="button button-primary" value="<?php _e('Submit for Review'); ?>" />
    344344            <?php } ?>
    345345            <br class="clear" />
Note: See TracChangeset for help on using the changeset viewer.