Add tabindex to the comment reply form. Props nbachiyski, see #7435

git-svn-id: https://develop.svn.wordpress.org/trunk@8776 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2008-08-29 20:44:54 +00:00
parent 22427df48b
commit e722dd11a5
1 changed files with 3 additions and 3 deletions

View File

@ -1099,11 +1099,11 @@ function wp_comment_reply($position = '1', $checkbox = false, $mode = 'single')
<?php wp_comment_form_unfiltered_html_nonce(); ?>
<?php echo apply_filters( 'wp_comment_reply_content', '
<div id="replycontainer"><textarea rows="5" cols="40" name="replycontent" tabindex="10" id="replycontent"></textarea></div>
<div id="replycontainer"><textarea rows="5" cols="40" name="replycontent" tabindex="1000" id="replycontent"></textarea></div>
'); ?>
<p id="replysubmit"><input type="button" onclick="commentReply.close();" class="button" value="<?php _e('Cancel'); ?>" />
<input type="button" onclick="commentReply.send();" class="button" value="<?php _e('Submit Reply'); ?>" /></p>
<p id="replysubmit"><input type="button" onclick="commentReply.close();" class="button" tabindex="1002" value="<?php _e('Cancel'); ?>" />
<input type="button" onclick="commentReply.send();" class="button" tabindex="1001" value="<?php _e('Submit Reply'); ?>" /></p>
</form>
</div>
<?php