Re:Don't attach tooltips to document.body
by smrq on Saturday August 21, 2021 @03:21AM
(#28254967)
Sounds awful. No accessibility to screen readers. It's raster-based so you can't zoom. No text selection or copying. And that's just what I thought of off the top of my head...
[ Parent
| on HN ]
Re:Don't attach tooltips to document.body
by eitland on Saturday August 21, 2021 @03:29AM
(#28255002)
Totally agree.
There is one reason I can see for using canvas based rendering generally[1] and that is if one really really wants to avoid someone from copy-pasting or indexing the page easily[2].
[1]: valid use cases for using canvas exists.
[2]: as someone who has digitized a couple of documents I'd say the effort is just above copy paste (with my tools it is copy, paste, OCR to clipbord, paste, verify)
Re:Don't attach tooltips to document.body
by amelius on Saturday August 21, 2021 @04:05AM
(#28255139)
Shouldn't screen readers use OCR? I mean OCR is basically a solved problem, and there are situations when you want to read what's in an image, or when the HTML is a mess.