3 ms·
Peeking at the source, it's just a zero-width div, which is not accomodating of people with disabilities. This might open you up to litigation if you disqualify
by hairband_dude 10mo ago
Peeking at the source, it's just a zero-width div, which is not accomodating of people with disabilities. This might open you up to litigation if you disqualify a blind person on the grounds he gave the wrong answer 'using AI', when he might have just been answering the question his screen reader read out.
- kevin061 10mo agoThis is an excellent point. I did not think of that.
- sond 10mo agoInstead of the zero-width div, you could set up an event listener for the copy event (using addEventListener() method) which calls .clipboardData.setData() on the ClipboardEvent to change it to your modified code. That should avoid messing things up for people with screen readers while still trapping the copy+pasters.
- Aloisius 10mo agoOr add aria-hidden=true I've had clipboard events and the clipboard API disabled in my browser to prevent websites from intercepting them for ages. I can't be the only one.
- croon 10mo agoMy take on that is that the very slim minority who does this are also likely passable through this very blunt hiring tool anyways.
- Sammi 10mo agoThere's an easier fix. Have the candidates state if they have a vision disability first and then send them down a different pathway for validation. There aren't that many, so it's not going to be costly or anything.
- addandsubtract 10mo agoThat would require the candidate to disclose their disability, which afaik, also isn't required.
- pabs3 10mo agoYou also forgot people who turn off CSS and JS, or use browsers that don't support them.
- userbinator 10mo agoFor better or worse, screen readers tend to be less easily tricked by things like that now.
- deleted 10mo ago[deleted]
- thaumasiotes 10mo agoYou got different source than I did. For me it's a span of finite width, but with a font size of 1px.
- imglorp 10mo agoHow about don't let them copy it at all. Show them the problem on a shared screen and they should speak the answer in 15 or 30 seconds. If someone is visually impaired, it's short enough you can just read the problem text to them.
- gs17 10mo ago> Show them the problem on a shared screen I'm pretty sure the intent is to weed people out well before they get to a point where you could share a screen with them. He mentioned a few people "resubmitted the application", so sure this is probably an initial step.
- skeledrew 10mo agoCan't read the problem when the point is to catch those who copy-paste the code.