re: Sharing code examples with Carbon VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Though I guess it's based on context, I don't really like images of code, since the text in them can't be selected (not sure if they might also mak...
 

The screen reader concern is valid. The example in the original post will be announced as «Example Javascript code». You need to be careful with your alt tags. On platforms such as Medium were you cannot set alt tags the situation for screen reader users is even bleaker.

Overall I think Carbon and similar tools are pretty good for illustrative purposes (think Open Graph or intro images) but are not an option for the core content of a text.

code of conduct - report abuse