News for hackers. Stuff that matters.
Re:Ask HN: A Good Alternative for ReCaptcha? by icebraining on Friday May 31, 2019 @07:10AM (#20059832)
Nope, screen readers (usually?) ignore elements with "display: none".

To be sure, you could add aria-hidden="true", which I'd guess most bots don't recognize.

http://alistapart.com/article/now-you-see-me/

Re:Ask HN: A Good Alternative for ReCaptcha? by ghusbands on Friday May 31, 2019 @07:30AM (#20059918)
Many don't just use display:none but position text off-screen or make it tiny or use sizing and overflow:hidden. I've seen a blind user be tripped up by these, so yes, it often also filters out disabled users.
Re:Ask HN: A Good Alternative for ReCaptcha? by icebraining on Friday May 31, 2019 @07:53AM (#20060022)
Many people use tools incorrectly, that doesn't mean you shouldn't use those tools, you just have to be aware of the problem, which everyone in this (sub)thread now is.
Re:Ask HN: A Good Alternative for ReCaptcha? by londons_explore on Saturday June 01, 2019 @05:09AM (#20068242)
A decent screen reader will look at the final rendered Dom and obviously cull items off-screen, the same colour as the background, or 1px high.

If it doesn't, its a bug in the screen reader.

Re:Ask HN: A Good Alternative for ReCaptcha? by detaro on Saturday June 01, 2019 @02:23PM (#20070626)
There's quite clear standards on how screen readers are expected to interact with the DOM. What you claim is in none of them, and the techniques you mention are explicitly mentioned as something authors of webpages should avoid/mark up correctly for screenreaders.
Re:Ask HN: A Good Alternative for ReCaptcha? by ghusbands on Saturday June 01, 2019 @02:11PM (#20070550)
No such screen reader exists, so you could claim it's a bug in all of them, but it's not a useful position to take. Screen readers are tricky enough to write without having to second-guess people who are trying to hide-but-not-hide text.