WordPress.org

Ready to get started?Download WordPress

Forums

Add tabindex to submit button (2 posts)

  1. Renji
    Member
    Posted 3 years ago #

    Hello there,

    I am working on a new theme, in that I am using <?php comment_form(); ?> to show the comment form on all posts.

    Now the problem is that my comment form submit button is missing the tabindex value. I can customize all other fields and labels in the form but found no way to add tabindex='5' to that button.

    Can anyone help me with this?

  2. steckinsights
    Member
    Posted 2 years ago #

    @Renji, no luck on this?

    I'm actually quite surprised that this isn't addressed somewhere. I can't find the answer anywhere. There should be a way to customize the submit button, either from the functions.php file or maybe a custom comments.php file that could override the default comment form.

Topic Closed

This topic has been closed to new replies.

About this Topic