• Resolved jseth

    (@jseth)


    Thanks so much for creating an accessible Contact Form 7 plugin. I’m in the process of converting my old forms and have only one error appearing in validation; for the recaptcha field I get:

    “textarea element missing an associated label”

    Repair: Add a label element immediately before or after the textarea element. Set the for attribute value of the label element to the same value as the id attribute value of the textarea element. Add label text to the label element. Or, set the title attribute value to the textarea element to the label text. Or, add a label element that surrounds the textarea element and add label text.

    Not sure how to do the above Repair, as anything I add to make it appear like the “text” or “textarea” fields still gives the same error. I am set up with the integration for the google recaptcha. Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter jseth

    (@jseth)

    No clues out there, anyone?

    Plugin Author Joe Dolson

    (@joedolson)

    From any practical perspective, you can’t really use a CAPTCHA and have an accessible form. There’s nothing I can do to help you with that.

    I don’t know what the recaptcha code looks like, so I don’t know what I can suggest, specifically. If the textarea has an ID attribute, however, you should be able to add a label element with a ‘for’ attribute that matches that ID.

    Thread Starter jseth

    (@jseth)

    Thanks for your reply. After more investigation, I found an article which, stating basically the same thing you are saying, recommended using Akismet instead and not using a reCaptcha at all. I couldn’t get into the code anyway, so it is what it is unless Google changes it. Thank you for your time.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘recaptcha Textarea element missing an associated label’ is closed to new replies.