Hacker News new | ask | show | jobs
by thih9 1097 days ago
As with all hacks, the risk of breaking other features, especially accessibility, increases.

I’ve noticed that you cannot long press the brighter code to read it.

This works on the regular code next to it (tested in safari mobile).

2 comments

They've made the odd choice of placing the QR code as a mask on the video via CSS, rather than positioning a black & transparent image over the video (which would allow long press).

Not sure why they've done this, perhaps something about the HDR approach requires both the black and white to be a part of the same video render.

Also - I'm not sure if it's a browser default or some other website CSS but imo there's no real reason long press shouldn't work on a video anyway... videos need accessibility too.

article author here.

odd choice indeed, I wasn’t thinking clearly when I experimented and wrote the article.

putting a black and transparent image atop the video sounds like a much better idea — i will try it and see if it works. thanks for the suggestion!

> I wasn’t thinking clearly when I experimented and wrote the article

Not thinking clearly! I can barely write anything when I am thinking clearly. Great work on the technique, it's ingenious.

Accessibility? on QR Codes? They are read by computers, not people!