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:
parent
e1ebd0e10a
commit
ac010ffb8d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue