1

I'm pretty sure I've read some stuff about pygame being mentioned  on this forum, but I must know how menus and text is handled for the sake of screen readers. Is there an accessibility library that is commonly used? I know java has this sort of thing built in, but what does python have. I have seen one library,but it seemed to cover mac.

Thumbs up

2

You probably want accessible_output2, if you want to develop programs that can explicitly communicate with screen readers and braille devices. . Pygame's ability to display text isn't inherently accessible, in the sense that java.awt.Graphics.drawString isn't inherently accessible.

Some of my games
Keep up to date by following @Jeqofire on twitter!
Ear Ninja?

Thumbs up

3 (edited by magurp244 2017-09-15 21:58:13)

Generally libraries like pygame and pyglet are not screen reader accessible without external support libraries such as accessible_output2 as already mentioned, along with other libraries like Tolk or Pyttsx. Wxpython is considerably more accessible because it uses the operating systems native widgets, although that accessibility can be a bit patchy in places such as wx.Notebook being mostly accessible, but wx.AuiNotebook isn't.

-BrushTone v1.2.8: Accessible Paint Tool

Thumbs up

4

I'd go for Tolk. It's far more stable.

"On two occasions I have been asked [by members of Parliament!]: 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out ?' I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question."    — Charles Babbage.

Thumbs up

5

Hmm, actually regarding tolk, it does work for python? I don't know a lot about the library, to be honest. Just that it is used for adding accessibility, and that I think Skullgirls uses it for it's accessibility. Does anyone have any good resources for setting it up? Actually, any resources for accessible_output2 would also be nice as well.

Thumbs up

6

you can find the repository for accessible output at:
http://hg.q-continuum.net

You can follow me on twitter @cartertemm

Thumbs up

7

One thing you might want to keep in mind. IF you wish to have cross platform support for your game, only accessible_output2 is cross platform of the options mention. I've talked to the developer of tolk and to some up, he doesn't want to have to completely  rewrite tolk to work with multiple platforms. Quentin C has a library for speech as well, but thats windows specific again and while he says he'd like people to try and port it to Mac and other os's, it would need a lot of work too.
just some thoughts. hope this helps.

I don’t believe in fighting unnecessarily.  But if something is worth fighting for, then its always a fight worth winning.
check me out on Twitter and on GitHub

Thumbs up