5 ms·
While discussing ncurses, has anyone ever seen any attempt to make accessible interfaces? Nowadays when making a quick interface I tend to use a web-based inte
by CJefferson 5y ago
While discussing ncurses, has anyone ever seen any attempt to make accessible interfaces?
Nowadays when making a quick interface I tend to use a web-based interface -- while they are much heavier it's fairly easy to make fully blind accessible interfaces, I (very briefly) looked to see if any terminal based libraries supported anything similar, and the only thing which seems to be trying is emacs, with emacsspeak (which I've heard good things about but haven't tried, as I'm not an emacs user).
- caf 5y agoI have met some blind users who were using terminal-based IRC clients. I believe they were using the scripting interface to assist in integrating it with their input/output hardware.
- tyingq 5y agoIt would be nice if curses programs all had a standard keymapping or signal that would invoke one of curses screen dump functions. Lacking that, a screenreader would have to jump through a lot of hoops to even know what's on the screen. I suppose you could use tmux instead...it seems to be able to dump the current screen. Either way, still a lot of work to do after you have the raw data.
- tspivey 5y agoYou don't need to dump the screen, the screen reader takes care of letting you explore the screen by line, word, character, etc. Some curses programs work reasonably well with screen readers (e.g. Mutt and WeeChat). One useful way to make them more accessible is to put the hardware cursor somewhere useful, even if hidden. Mutt puts it on the same line as the currently-selected message, and if braille_friendly is set, onto the first line of message content when opening one. WeeChat puts it on the input line. Where this goes wrong is when trying to use fset, where I have no way to move it to the list of options.
- zozbot234 5y ago> One useful way to make them more accessible is to put the hardware cursor somewhere useful, even if hidden. You should be doing this anyway to account for hardware terminals where the cursor is always visible, including the traditional VGA/VESA text console that still gets used by default on PC hardware.
- caf 5y agoCan you give any more guidance on what might constitute "somewhere useful"? Is the hardware cursor position the default place to start reading from?
- tspivey 5y agoSomewhere useful depends on the app. In an editor, it's the line of text I'm editing. In a file manager, it's the currently focused file. The hardware cursor is where it will start reading when I press read current line, word, etc.
- caf 5y agoThat makes sense. It's a little harder to determine where it should go for something like a chat client where the UI changes asynchronously.
- deleted 5y ago[deleted]