How can I make terminal UIs accessible?

I am looking for resources (software, studies, documentation) to help inform design decisions for making command line utilities accessible.

Most of the programs I work on are command-line utilities. Many are non-interactive, but the more complex ones are "TUIs" or terminal UIs.

These TUIs have features such as tabs, interactive navigation, progress bars, key bindings etc..

I am not familiar with adaptive software for terminals (is there an equivalent of a screenreader?) and therefore am not sure how these types of TUI features may impact users with vision or motor impairments.