3 ms·
I don’t think the open nature of the web gets in the way. Those developers could quite easily generate a screenshot of the website they’re building and ship the
by tshaddox 6y ago
I don’t think the open nature of the web gets in the way. Those developers could quite easily generate a screenshot of the website they’re building and ship the screenshot instead of the HTML/CSS/JS.
- Sophira 6y agoThey could... except: a) It would be completely inaccessible to blind users; b) Sometimes devs want to be able to give users some choice, like copying text, and this is impossible with your proposed method. These two reasons alone mean it's undesirable for devs to use these, and they're problems that Canvas addresses - albeit by letting the devs have that choice, but not the users.
- tshaddox 6y agoThere are several other ways to prevent copying text or making it difficult, some of which probably don't impact screen readers (although I'm skeptical that many developers would be intent on preventing the copying of text while also caring about screen readers). And, of course, if the developer wants to allow copying text, that's trivial. How does canvas give a developer more ability to choose which things the user can and cannot do?
- overtomanu 6y agobut i think screenshots are not considered accessible
- tshaddox 6y agoNeither is text rendered in a canvas tag (without doing some extra work specifically to improve accessibility).