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.

· · Web · 0 · 1 · 3
Sign in to participate in the conversation
Aral’s Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!