Re: Disable Accessibility in a GTK component

        I am going to subscribe myself on Orca maillist and read more about ORCA scripts.

        The application I am working on don't not allow to the users do anything different from interacting with numeric keyboard with the options we give on the screen and a headphone output device to the blind people. The software is contructed on C++ language over Linux, and have a proprietary graphical interface that we made about 10 years ago. As we had a legal demand to create accessibility interface to blind user to interact with the same situations the not blind people and to migrate to GTK interface we are trying to do both things together, using the ATK.
        The difficulty using ORCA is that we have two different situations, one is for blind people and for this situation we must give to the user all the resources to him to interact with the system, including the change of entonation deppending on the situation like a question or an affirmation that we need to configure using xml. For these reasons I need to know if Orca can change the entonation, speed, voice in executing time, disabiling TTS ans other things. Remembering that user can't interact with the system except by the numeric keyboard and we don't want to give him this worry. I would like to do something like change to quest entonation when the program finds the "#?" chars on the TAG, or change entonation to an affirmation when finds the "#!" chars. Can the scripts of ORCA do that ??
        We could control these situations using an API to directly control the TTS application, but we prefer to use ATK. Can we use ATK directly with the TTS application ? How ? Is ATK only for Read Screen Technology ?

Best Regards, Elcio
Computer Analist

Bank of Brazil
+55 61 33107561

Peter Korn <Peter Korn Sun COM>
Enviado Por: Peter Korn Sun COM

27/08/2007 11:28 MST

        Para:        elciof bb com br
        cc:        F2794038_Elcio_Friedrich/BANCO_DO_BRASIL bancobrasil com br, gnome-accessibility-list gnome org, Orca screen reader developers <orca-list gnome org>
        Assunto:        Re: Disable Accessibility in a GTK component

Hi Elcio,

> What I am trying to do is studing the possibility of using the Read
> Screen Technology like ORCA to make possible to visual deficient
> people uses a program and people who don't have deficiency can use it
> to, but without consuming CPU. I work to Bank of Brasil
> We are between using ORCA or contruct a class to use directly some TTS
> like ESpeak or IBM TTS technology.

Since this is focused on blind users and Orca, this is probably a better
discussion to have on the orca mailing list, which I've cc-ed.  You've
raised a general question - is it better to have a self-voicing
application that has complete control of the audio output, vs. a general
purpose app that works with assistive technologies.  I think the blind
users on the orca mailing list can better answer that philosophical
question than I can.  But... let me point out that the self-voicing
approach makes the most sense when you know that the only disability you
care about is blindness with speech output.  If the user needs Braille,
it is critical that you support assistive technologies generally.  If
the user needs magnification, likewise.  If the user has a severe
physical impairment, you need to support an on-screen keyboard like
GOK.  For these reasons, my preference is always to make general purpose
applications support the accessibility framework, to test with AT, and
to otherwise leave the user experience decisions to the AT.

> Some of the problems we are going to have using ORCA is that I don't
> know if is it possible to change some voice parameters like female
> voice or mainly entonation in execution time. Is it possible ? How ?
> We need total control of the accessibility.

If you want custom behavior in Orca with your application, you can
achieve this by writing an Orca script for your application.  There are
many example scripts for applications like Firefox and
(just to name two).  There is also material on how to write scripts off
of the Orca website,  I believe virtually all
of the Orca script writers subscribe to the Orca users list that I've
cc-ed.  They will be your best resource for answering questions.

Also, I'm curious - why do you feel you need total control of the blind
user experience (vs. giving users flexibility in how they want to
configure their experience)?


Peter Korn
Accessibility Architect,
Sun Microsystems, Inc.

> Regards, Elcio
> *Peter Korn <Peter Korn Sun COM>*
> Enviado Por: Peter Korn Sun COM
> 23/08/2007 22:33 MST
>         Para:        elciof bb com br
>         cc:        gnome-accessibility-list gnome org,
>         Assunto:        Re: Disable Accessibility in a GTK component

> Hi Elcio,
> Have a look at the at-poke application, which intentionally disables
> accessibility on itself to avoid recursion by trying to explore itself.
> Why are you wanting to turn accessibility support on/off?
> Regards,
> Peter Korn
> Accessibility Architect,
> Sun Microsystems, Inc.
> >
> > Is it possible to disable accessibility in a gtk component or a gtk
> > window ??
> >
> > I am using ORCA with a program I did using Glade in C++ language, and
> > I would like to disable accessibility in a button if a condition is
> > true. The problem is that ORCA usually reads the label of buttons
> > created with GTK.
> >
> > I tried to use atk_object_notify_state_change(atk_obj,
> > ATK_STATE_ENABLED, false) but it didn't work. I don't know if this way
> > is the correct one.
> >
> > Other question, but envolving GTK,  anyone know how to put a mask in
> > an entry field in C++ ? I didn't find anything about it.
> >
> > Regards,
> >
> > Elcio
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > gnome-accessibility-list mailing list
> > gnome-accessibility-list gnome org
> >
> >  

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]