There was a fascinating talk at this year’s Gophercon by Julia Ferraioli (and her Twitter account) called “Writing Accessible Go” where she covers how you can approach writing code taking disabilities in mind.
What is fascinating is that like the UI equivalent is that it also improves things for people without disabilities. It event references the drop kerb effect which I remember being brought up when I first encountered accessibility speaking to people at Mozilla. The simple improvements actually benefits everybody.
Although this is Go focused they are simple rules that can be applied to any language to make your code more maintainable, easier to learn, and look nicer.
Also there is a link to a talk about Python Code Style For Blind Programmers.