I know for a fact the OSX screen reader can only read the cocoa menu, it can not read the GTK stuff. If our app were cocoa it would work with very little additional effort, but GTK is another story. I had a discussion with the gtkmacintegration maintainer JRalls as I was hoping they would have a solution, and he basically said we would need some additional software to handle the GTK side, (just as we use gettext to handle GTK translations and not the OSX XBoard menu which is handled by the OSX mechanism) which is Orca, but as I said It doesn't look like Orca can work. I'm afraid there isn't a single GTK app that exists that has this feature to use as reference.
For sighted people we could use the command "say" to speak strings to the user, and maybe use the text interface to speech to text enter a move using OSX built in speech to text ability. I tried experimenting with that before and didn't actually work. It may require a dialog box to enter text into in the first place, but let me experiment with that some more before you do anything.
I wanted it because the built-in chess app has pretty good integration with OSX's speech features, and would have loved XBoard to be able to do something like it at some level.
[edit]
For the record, here is the email conversation I had:
- Code: Select all
> On Jan 15, 2015, at 5:09 PM, John Ralls <jralls@ceridwen.us> wrote:
>
>
>> On Jan 15, 2015, at 2:04 PM, Joshua Pettus <jshpettus@gmail.com> wrote:
>>
>>
>> Hi,
>>
>> On a couple of occasions Xboard has been requested to have voice over support. Is there any implementation of this for GTK apps? From what I have seen from other ones, and the online documentation, it doesn’t look like it. As of now the menubar reads, but there is no support with the various in-window items.
>>
>
> No. Gnome has its own screen-reader program called IIRC Orca. You’d have to set that up in your application bundle somehow. I’ve no experience with a11y and don’t even know where to start.
>
> Regards,
> John Ralls
>