Realising there’s next to no info on accessibility of commandline apps anywhere. (Got to thinking about it after realising that column-wrapping text on CLIs is inaccessible.)
A StackOverflow question on the subject didn’t meet their guidelines. 🤔
The best solution I have for this at the moment (given that there’s no way to detect whether a screenreader is in use using Node.js as far as I can see), is to default to not wrapping the help content I’m printing out by default (so it is accessible) and adding a --wrap option that does wrap it.
@aral As a screen reader user myself, this is one of the most common miss-conceptions I here of in the tech sphere. Sure, completely text based apps can do pretty well, but add ncurses or some funky unicode in there and things get messy. Ultimately wrapped text isn't a huge issue, as you can just cursor through it, but I appreciate you taking the time to fix it anyway.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!