So, how will you treat screen readers? Will they see that question? If you hide it from screen readers as well, what’s stopping bots from pretending to be screen readers when scraping your page? Hell, it’ll likely be easier on the bot devs to make them work that way and I assume there are already some out there that do.
Honeypots - ask a very easy question, but make it hidden on the website so that human users won’t see it and bots will answer it.
That only works as long as the bots are generic and not targeted. Just let the bots use headless chrome and fill out visible stuff.
So, how will you treat screen readers? Will they see that question? If you hide it from screen readers as well, what’s stopping bots from pretending to be screen readers when scraping your page? Hell, it’ll likely be easier on the bot devs to make them work that way and I assume there are already some out there that do.
That’s an excellent question and I’m glad you raised it. I need to care more about accessibility and learn more about security in general :)
Nowadays bots use real browsers to “see” all the fields a human would see. They won’t fill out those hidden to a human.