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

git-svn-id: http://svn.automattic.com/wordpress/trunk@8776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2008-08-29 20:44:54 +00:00
parent e1ebd0e10a
commit ac010ffb8d
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