← All terms

Syntax Highlighting

Also known as: Code Highlighting, Syntax Coloring

A feature of text editors and IDEs that displays source code in different colors and fonts based on the category of terms—keywords, variables, strings, comments, and operators are visually distinguished to improve readability and help programmers identify syntax errors. While syntax highlighting significantly improves code comprehension for sighted programmers, it presents an accessibility barrier for screen reader users as the visual color distinctions have no auditory equivalent in mainstream development tools. Research on accessible programming has explored auditory cues (tones, music) to convey similar categorical information to blind programmers, though these solutions require intensive learning and have not been widely adopted. Some screen readers can announce font color, but this is cumbersome for rapid coding.

Category: Developer Tools · Programming · Accessibility Barriers

Related: Integrated Development Environment · Code Navigation · Screen Reader

Sources