If you release a program for use by other people, accessibility is your responsibility.
If you create a website for other people to use, accessibility is your responsibility.
If you make a platform for people to come together and meet on, accessibility is your responsibility.
If you make a framework for other developers to build things on top of, accessibility is your responsibility.
This means that if you make a script that does something that only you personally will get anything out of, that's fine, make it as inaccessible as you like, only you will deal with any consequences that arise from that. But if you make something you're going to release to the public, and you don't know a thing about accessibility, don't you dare expect users to do to the work of learning your codebase, and making your thing accessible.