• Resolved bhammondCVL

    (@bhammondcvl)


    The subscription form from the shortcode includes an off-screen required field that has no label. Here is the HTML:

    <label style="position:absolute;top:-99999px;left:-99999px;z-index:-99;"><input type="email" name="esfpx_es_hp_email" class="es_required_field" tabindex="-1" autocomplete="-1" value=""></label>

    My sites that use this plugin get dinged in accessibility audits because the field has no label. So that’s one thing.

    But the broader question is: what is this field for? Some sort of honeypot, perhaps?

    This question was brought up previously, but no answer was given before the thread was closed: https://wordpress.org/support/topic/extra-field-on-form/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Shubhanshu Kandani

    (@shubhanshukandani)

    Hi @bhammondcvl ,

    Thanks for contacting us! Hope you’re doing well.

    We have checked this issue but couldn’t replicate it at our end. We suspect that it may be due to a plugin or theme conflict.

    Will it be possible for you to perform a conflict test on your site? You may need to temporarily disable all other plugins except the Email Subscribers plugin and switch to a default WordPress theme.

    We recommend doing the troubleshooting using the Health Check plugin which disables all the plugins and switches the current theme to the default theme only for the current logged-in user when troubleshooting mode is enabled.

    It does not affect other users or site visitors. You can get the Health Check plugin from here.

    After enabling the troubleshooting mode in the Health Check plugin, activate the Icegram Express plugin, and check if the issue is resolved or not.
    If it is resolved, then you can activate plugins one by one or switch to the current theme and check which is causing the issue.

    If the issue persists with only Icegram Express active, do let us know if this is the case. We may then need to debug it further.

    Let us know what comes out. Also, let us know if you have any further queries.`

    Thank you!

    Thread Starter bhammondCVL

    (@bhammondcvl)

    This is a strange response. It’s clearly not a conflict. The code generating this off-screen field is right there in the plugin, in /lite/public/partials/class-es-shortcode.php, line 383.

    Either this is a very lame auto-response, or your knowledge of this plugin is insufficient to offer adequate support.

    I’m pretty sure this is a honey pot field. In any case, if you remove it from the file, the form no longer works.

    For the accessibility audit software we’re using, you can avoid the ‘input with no label’ issue by simply hiding the input via CSS, like:

    input[name="esfpx_es_hp_email"] { display: none; }

    You could also edit the above-named file to add a label, but I think in that case you should also add the attribute aria-hidden=”true” so that screen readers ignore it.

    • This reply was modified 11 months, 4 weeks ago by bhammondCVL. Reason: typo fix
    Plugin Contributor Shubhanshu Kandani

    (@shubhanshukandani)

    Hi @bhammondcvl ,

    We apologize for the inconvenience. Thanks for sharing the accessibility issue and suggestions on how to fix it.

    Yes! We got it! It is a honeypot field that is hidden off-screen to prevent normal users from filling it out. We’re considering the second option since it is more secure.

    As soon as the fix is released, we will let you know.

    Your efforts and support for highlighting it are greatly appreciated.
    Thanks!

    Plugin Contributor Shubhanshu Kandani

    (@shubhanshukandani)

    Hi @bhammondcvl,

    Thanks for your patience and support.

    The above-mentioned issue has been fixed in the latest release. Could you please update the plugin and confirm the same?

    Cheers!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Off-screen required field: what’s it for, why no label?’ is closed to new replies.