DEV Community

Zay Dea
Zay Dea

Posted on

Why four companies rebuilt the same accessibility fix for their CLIs, and what I built instead

I built this after noticing that Anthropic, Google and GitHub have each rebuilt the same fix for their CLIs to replace animated spinners and boxed tables with plain text if a screen reader is detected. Since there was no reusable version of this fix, I built one. It auto detects if it is running in a screen reader context and swaps the output automatically, as well as providing a linter to find these anti patterns in any codebase.

Github: https://github.com/zaydea805/term-a11y

Top comments (0)