Provide better feedback to end user

Created on 19 June 2024, about 1 year ago

The current feedback when antibot detects "bot-behaviour" is unclear, maybe even wrong?
Also to technical to actual users, immediately implying they have JS disabled in the browser...

In our experience there are 2 reasons why users end up on the error message page:

1/
They clicked "submit" on a browser prefilled form without moving the mouse.
Very typical on login / pass_reset forms.

2/
A technical issue with Javascripts (errors), aggregation gone wrong or 3rd-party cookieblockers blocking JS

Never have we encountered a single user that hat actually disabled Javascript in the browser...

It would be much easier to understand if it read something like the below text: (probably best not to mention mouse movement?

The Antibot form protection system has detected bot-like behavior and blocked your form submission.
This protection is in place to attempt to prevent automated submissions made on forms by bots.
Please return to the page that you came from, move your mouse cursor, and try to submit again.
Also, make sure you have JavaScript enabled on your browser before attempting to submit the form again.

📌 Task
Status

Active

Version

2.0

Component

User interface

Created by

🇧🇪Belgium weseze

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @weseze
  • Assigned to danrod
  • 🇨🇦Canada danrod Ottawa

    I'm closing these small issues before digging into the "No longer protecting" issue which is critical and I am still looking into it

  • 🇨🇦Canada danrod Ottawa

    It seems like we have an appropiate wording for this and looks ok, I'm closing this as "Won't fix".

    ./src/Controller/AntibotPageController.php: '#value' => $this->t('You have reached this page because you submitted a form that required JavaScript to be enabled on your browser. This protection is in place to attempt to prevent automated submissions made on forms. Please return to the page that you came from and enable JavaScript on your browser before attempting to submit the form again.'),

  • 🇧🇪Belgium weseze

    Nothing was fixed here, the wording is still very unclear and implies you have JS disabled in the browers.

    As stated in my first post, 99,99% of theses errors (in our experience) have got nothing to do with users having JS disabled in the browser.
    But rather, users submitting forms without interaction.
    The current error message is confusing and very technical.

  • 🇨🇦Canada danrod Ottawa

    Makes sense your point, I'll rewrite the wording with the one that you suggested and create a MR.

  • 🇨🇦Canada danrod Ottawa

    Hello @weseze I changed the wording to reflect your suggestions, could you have a look on this? I created a MR.

  • 🇨🇦Canada danrod Ottawa

    As suggested, I'll merge it to the 2.0.x branch.

  • 🇨🇦Canada danrod Ottawa
Production build 0.71.5 2024