• If you have multiple forms on the same page collecting emails, the plugin adds the following code to each form:

    <div id="altEmail_container" class="altEmail_container"><label for="alt_s">
    Alternative:
    </label>

    <input type="text" id="alt_s" name="alt_s">
    </div>

    This creates an accessibility error, for redundant labels. Can the form ID be generated dynamically, or in some other way as to correct this error? The forms themselves have different IDs and all form inputs have different ID’s, its just when the plugin is active this error shows up.

Viewing 1 replies (of 1 total)
  • Plugin Support Dinesh Karki

    (@dcsupport)

    Hi,

    Thank you for bringing this to my attention.

    The reason we use a static ID and label for that hidden container is actually related to how we trick spam bots. By using a standard-looking “Alternative Email” label, we make the field appear legitimate to automated scrapers and bots that look for common form elements.

    However, I understand that having the same ID (alt_s) repeated on a single page with multiple forms creates a conflict for accessibility tools and screen readers.

    I will look into updating the plugin so that these IDs are generated dynamically (e.g., alt_s_1, alt_s_2) based on the form ID. This should resolve the redundancy error while maintaining the effectiveness of the spam trap.

    I’ll include this fix in one of the upcoming updates. Thanks again for the feedback!

    Best regards,

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.