Re:Ask HN: Do we need Google captcha?
by Master_Odin on Tuesday October 22, 2019 @09:15PM
(#21330147)
It should be stated that you should either use the first approach (display none) or give a 0 height/width, so that screen readers don't pick up these fake fields and ruin accessibility on your form.
Re:Ask HN: Do we need Google captcha?
by throwaway_bad on Tuesday October 22, 2019 @10:47PM
(#21330592)
Unfortunately anything screen readers can recognize as invisible, a more sophisticated bot can too.
You can take it one step further and check how fast the form was submitted. If it is below the predefined threshold, it is probably a bot.
[0] To hide the form field, you can use one of these snippets, interchangeably: