re: Sharing code examples with Carbon VIEW POST

VIEW PARENT COMMENT VIEW FULL DISCUSSION
 

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