3 ms·
The corollary of that though is that your code is also not accessible. I've been struggling with this myself, I don't find it fair that my snippets, no matter h
by jlengrand 6y ago
The corollary of that though is that your code is also not accessible. I've been struggling with this myself, I don't find it fair that my snippets, no matter how beautiful, aren't readable by screen readers.
The only solution I found is to keep providing actual code as a snippet or gist next to the image.
- jlengrand 6y agoHa, reading the doc it seems it is at least partly improved since last time I checked. Good news then! https://github.com/carbon-app/carbon#exportsharing https://github.com/carbon-app/carbon#exportsharing
- genezeta 6y agoI understand that, and in a different setting I wouldn't use images for code no matter what. In this case though, as I said, the setting is very controlled (internal, temporary docs) and I explicitly did not want it to be easy to copy.
- yawaramin 6y agoAccessibility of the code should trump that. Stuff that we like to call 'temporary' inevitably ends up as long-term, and we have no idea what will really happen to it in future.
- jlengrand 6y agoNot saying you're doing any evil :). Those might not be yours to fix, but one could argue that if copy/pasting is such a problem in your current environment there are deeper issues at hand. Nothing that carbon will fix, and nothing that accessibility will helps with in any case. Good luck!
- genezeta 6y agoOh, sure. There are much deeper problems in that project. Thanks.