When code snippets are encoded in articles, language assignment support (e.g., C#, Perl, JSON) for both the code and eg elements provide syntax highlighting. As part of the general accessibility review, these colors should be reviewed for contrast/legibility. See article 000026 for an example of automatic highlighting and article 000699 for an example of manual syntax highlighting.
When code snippets are encoded in articles, language assignment support (e.g., C#, Perl, JSON) for both the
code
andeg
elements provide syntax highlighting. As part of the general accessibility review, these colors should be reviewed for contrast/legibility. See article 000026 for an example of automatic highlighting and article 000699 for an example of manual syntax highlighting.