Towards Inclusive Source Code Readability Based on the Preferences of Programmers with Visual Impairments

Maulishree Pandey, Steve Oney and Andrew Begel

Abstract

Code readability is crucial for program comprehension, maintenance, and collaboration. However, many of the standards for writing readable code are derived from sighted developers’ readability needs. We conducted a qualitative study with 16 blind and visually impaired (BVI) developers to better understand their readability preferences for common code formatting rules such as identifier naming conventions, line length, and the use of indentation. Our findings reveal how BVI developers’ preferences contrast with those of sighted developers and how we can expand the existing rules to improve code readability on screen readers. Based on the findings, we contribute an inclusive understanding of code readability and derive implications for programming languages, development environments, and style guides. Our work helps broaden the meaning of readable code in software engineering and accessibility research.

Venue
CHI 2024
Volume
Proceedings of the CHI Conference on Human Factors in Computing Systems
DOI
10.1145/3613904.3642512
PDF
https://dl.acm.org/doi/pdf/10.1145/3613904.3642512
Anthology ID
2024.chi.614

Cite

@inproceedings{pandey-etal-2024-inclusive,
    title = {{Towards Inclusive Source Code Readability Based on the Preferences of Programmers with Visual Impairments}},
    author = {Maulishree Pandey and Steve Oney and Andrew Begel},
    booktitle = {Proceedings of the CHI Conference on Human Factors in Computing Systems},
    isbn = {9798400703300},
    year = {2024},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/3613904.3642512},
    url = {https://doi.org/10.1145/3613904.3642512},
    abstract = {Code readability is crucial for program comprehension, maintenance, and collaboration. However, many of the standards for writing readable code are derived from sighted developers’ readability needs. We conducted a qualitative study with 16 blind and visually impaired (BVI) developers to better understand their readability preferences for common code formatting rules such as identifier naming conventions, line length, and the use of indentation. Our findings reveal how BVI developers’ preferences contrast with those of sighted developers and how we can expand the existing rules to improve code readability on screen readers. Based on the findings, we contribute an inclusive understanding of code readability and derive implications for programming languages, development environments, and style guides. Our work helps broaden the meaning of readable code in software engineering and accessibility research.}
}