4 ms·
I also love TUI, and ratatui in particular, but ... are there any TUI frameworks with accessibility features? Is that even possible? I worry that we've taken t
by 12_throw_away 3y ago
I also love TUI, and ratatui in particular, but ... are there any TUI frameworks with accessibility features? Is that even possible?
I worry that we've taken the TTY, a foundational accessibility device, and found a way to slap an inaccessible technology layer on top of it.
- joshka 3y agoIt's something I've thought about a little, but I haven't seen anything that does it. There's some pretty large blockers though. TUIs get by on effectively rendering text all over the screen, potentially out of order, and potentially without respect to whether that text makes any logical sense. AFAIK, There's no way to attach metadata to screen characters or regions that would mark up things as buttons / inputs / outputs / etc. That said, I suspect that the right modality for accessibile command line apps is repls / cli apps rather than TUI apps.
- 082349872349872 3y agoIn particular, curses(3) was the "virtual DOM" of its day, so its output can be arbitrary pieces of TUI elements, and it may and will re-render an element with different terminal control strings if it can save bytes on the wire (recall: this was at ~300 baud) by grouping neighbouring updates.