4 ms·
While I find the idea appealing, I haven't used them because I haven't figured out how to make immediate GUIs accessible to people who are visually impaired. Ho
by i_don_t_know 7y ago
While I find the idea appealing, I haven't used them because I haven't figured out how to make immediate GUIs accessible to people who are visually impaired. How do you make them work with screen readers? You're drawing text onto a canvas but you don't retain a copy of the text for the screen reader.
- loup-vaillant 7y agoI don't know about screen reader APIs, but… can't you just send the text you're drawing to the screen reader when you drawing it? How do screen readers work anyway?
- i_don_t_know 7y agoGood question. I don't know. When you use the native GUI you get all of that for free. You don't have to do anything special for accessibility. So I always thought that screen readers somehow traversed the window/control hierarchy to find the control that has the focus and ask it for any text that should be read. Maybe you're right and you can send the text to be read directly to the screen reader. Not sure how well that works when your GUI updates every 20ms. You don't want to keep resetting the reader.
- loup-vaillant 7y agoI was thinking maybe resend the stuff only when the text changes, so you'd have to have a cache of some sort, hidden in the library. Anyway, I believe Qt is screen reader compatible, so it must access the relevant API somehow. I'd be surprised if it was the exclusivity of the OS vendor.