WordPress.org

Make WordPress Core

Ticket #7435: comment-reply-tabindex.diff

File comment-reply-tabindex.diff, 1.1 KB (added by nbachiyski, 7 years ago)

Sane tabindices

  • wp-admin/includes/template.php

     
    10991099        <?php wp_comment_form_unfiltered_html_nonce(); ?> 
    11001100 
    11011101        <?php echo apply_filters( 'wp_comment_reply_content', ' 
    1102         <div id="replycontainer"><textarea rows="5" cols="40" name="replycontent" tabindex="10" id="replycontent"></textarea></div> 
     1102        <div id="replycontainer"><textarea rows="5" cols="40" name="replycontent" tabindex="1000" id="replycontent"></textarea></div> 
    11031103        '); ?> 
    11041104 
    1105         <p id="replysubmit"><input type="button" onclick="commentReply.close();" class="button" value="<?php _e('Cancel'); ?>" /> 
    1106         <input type="button" onclick="commentReply.send();" class="button" value="<?php _e('Submit Reply'); ?>" /></p> 
     1105        <p id="replysubmit"><input type="button" onclick="commentReply.close();" class="button" tabindex="1002" value="<?php _e('Cancel'); ?>" /> 
     1106        <input type="button" onclick="commentReply.send();" class="button" tabindex="1001" value="<?php _e('Submit Reply'); ?>" /></p> 
    11071107        </form> 
    11081108        </div> 
    11091109<?php