[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] SWT_AWT and Accessibility

That may be ok. The HOD team reworked its interaction with JAWS by circumventing the bridge function to create a COM-based interface. I asked that they do this because we had hoped that Sun would rework the Java Access Bridge to use IAccessible2. I say may because I don't know if they are still using Java Access Bridge event notifications and whether you are using Swing controls left over from HOD.

Charlotte may be able to answer this.

Rich


Rich Schwerdtfeger
Distinguished Engineer, SWG Accessibility Architect/Strategist
Chair, IBM Accessibility Architecture Review Board
blog: http://www.ibm.com/developerworks/blogs/page/schwer
Inactive hide details for jamie.guillemette@xxxxxxjamie.guillemette@xxxxxx


          jamie.guillemette@xxxxxx
          Sent by: platform-swt-dev-bounces@xxxxxxxxxxx

          05/11/2007 08:40 AM

          Please respond to
          "Eclipse Platform SWT component developers list." <platform-swt-dev@xxxxxxxxxxx>

To

"Eclipse Platform SWT component developers list." <platform-swt-dev@xxxxxxxxxxx>

cc

"Eclipse Platform SWT component developers list." <platform-swt-dev@xxxxxxxxxxx>, platform-swt-dev-bounces@xxxxxxxxxxx

Subject

Re: [platform-swt-dev] SWT_AWT and Accessibility

Hi Richard,

Got a quick question fory you.  Given the current issue with swing embedded
in an eclipse application. Is it safe to assume that we would encounter the
same problem using IBM's HOD (host on demand) embedded within an eclipse
app. HOD using a swing graphics panel to present its UI.





Thanks,
Jamie M. Guillemette
IT Solutions Developer
TD Enterprise Technology Solutions
275 Dundas Street, 11th Floor, London
(519) 663-1952



                                                                         
            Richard                                                      
            Schwerdtfeg                                                  
            er                                                         To
            <schwer@us.         "Eclipse Platform SWT component          
            ibm.com>            developers list."                        
            Sent by:            <platform-swt-dev@xxxxxxxxxxx>            
            platform-sw                                                cc
            t-dev-bounc                                                  
            es@eclipse.                                           Subject
            org                 Re: [platform-swt-dev] SWT_AWT and        
                                Accessibility                            
                                                                         
            05/10/2007                                                    
            02:26 PM                                                      
                                                                         
                                                                         
              Please                                                      
            respond to                                                    
             "Eclipse                                                    
             Platform                                                    
                SWT                                                      
             component                                                    
            developers                                                    
              list."                                                      
            <platform-s                                                  
            wt-dev@ecli                                                  
             pse.org>                                                    
                                                                         
                                                                         




Jaime should have a test case. I spoke with Freedom's CTO, Glen Gordon, and
if you can isolate all the swing pieces to a black hole (isolated area) you
might get that to work with the access bridge. Once you start mixing swing
components with SWT components then you get into a lot of problems with not
being able to reconstruct the window hierarchy in your screen reader which
leads to lots of other problems.

What I will say as this is not a "JAWS supported" situation so it may work
and it may not.

I spoke with Mike Cooper, in the Expeditor team, on the subject this
morning and he is going to install the access bridge and try things out
with JAWS. Beyond that someone would need to work with Sun to try and get
an access bridge replacement which uses IAccessible2. IAccessible2 will
give you access to many things, including rich text, which would be lost
when Swing uses Java2D to render it.

Rich



Rich Schwerdtfeger
Distinguished Engineer, SWG Accessibility Architect/Strategist
Chair, IBM Accessibility Architecture Review Board
blog:
http://www.ibm.com/developerworks/blogs/page/schwer
(Embedded image moved to file: pic16740.gif)Inactive hide details for Steve
Northover <Steve_Northover@xxxxxxxxxx>Steve Northover
<Steve_Northover@xxxxxxxxxx>

                                                                         
                        Steve                                            
                        Northover                                        
                        <Steve_Nor                                        
                        thover@ca. (Embedded image moved to file:        
                        ibm.com>   pic13217.gif)                          
                        Sent by:                                       To
                        platform-s            (Embedded image moved to    
                        wt-dev-bou            file: pic29521.gif)        
                        nces@eclip            "Eclipse Platform SWT      
                        se.org                component developers list."
                                              <platform-swt-dev@xxxxxxxxx
                                              rg>                        
                        05/09/2007 (Embedded image moved to file:        
                        04:28 PM   pic00056.gif)                          
                                                                       cc
                                              (Embedded image moved to    
         Please respond to                    file: pic09448.gif)        
  "Eclipse Platform SWT component  (Embedded image moved to file:        
         developers list."         pic28661.gif)                          
  <platform-swt-dev@xxxxxxxxxxx>                                  Subject
                                              (Embedded image moved to    
                                              file: pic31450.gif)        
                                              Re: [platform-swt-dev]      
                                              SWT_AWT and Accessibility  
                                                                         
                                                                         
                                   (Embedded image moved to file:        
                                   pic26337.gif)                          
                                          (Embedded image moved to file:  
                                          pic00400.gif)                  
                                                                         
                                                                         




It still makes sense to have a test case and bug report to track this issue
and confirm that it does not work.

                                                                         
Richard Schwerdtfeger                                                    
<schwer@xxxxxxxxxx>                                                      
Sent by:                                                                  
platform-swt-dev-bounces@ecl                                           To
ipse.org                                 "Eclipse Platform SWT component  
                                         developers list."                
                                         <platform-swt-dev@xxxxxxxxxxx>  
05/09/2007 04:41 PM                                                    cc
                                         "Eclipse Platform SWT component  
                                         developers list."                
                                         <platform-swt-dev@xxxxxxxxxxx>,  
      Please respond to                  platform-swt-dev-bounces@eclipse
    "Eclipse Platform SWT                .org                            
 component developers list."                                      Subject
 <platform-swt-dev@xxxxxxxxx             Re: [platform-swt-dev] SWT_AWT  
             rg>                         and Accessibility                
                                                                         
                                                                         
                                                                         
                             (Embedded image moved to file: pic24099.gif)
                              (Embedded image moved to file:              
                              pic02253.gif)                              
                                                                         
                                                                         





Swing applications, currently, interoperate with assistive technologies
through the Java Acces Bridge. Assistive technologies access Swing
applications through a special Java access bridge dll provided by Sun. This
is not how assistive technologies access Eclipse applications. Eclipse
applications interoperate with assistive technologies, on Windows, using
MSAA, offscreen modeling (screen scraping), and propietary APIs used by
ActiveX plug-ins. Even if you installed the bridge, this would be
problematic for ATs as they would not be able to handle the mix between the
access bridge dll and MSAA.

We have developed an accessibility API extension to MSAA, called
IAccessible2 which when combined with MSAA will give you the same level of
rich interoperability as Java. We hope to implement support for it in
Eclipse along with Linux accessibility support. Sun would also need to do a
mapping from the Java Accessibility API ( referred to by Jamie) and
MSAA/IAccessible2. This would provide the consistent framework you desire.
Sun has not made that investment at this time. IAccessible2 should be fully
supported by JAWS and Window-Eyes in their next releases.

So, it is recommended that Swing not be used in Eclipse applications if you
would like them to be accessible. If possible, we recommend using an
existing SWT control.

Rich


Rich Schwerdtfeger
Distinguished Engineer, SWG Accessibility Architect/Strategist
Chair, IBM Accessibility Architecture Review Board
blog:
http://www.ibm.com/developerworks/blogs/page/schwer
(Embedded image moved to file: pic28053.gif)Inactive hide details for Steve
Northover <Steve_Northover@xxxxxxxxxx>Steve Northover
<Steve_Northover@xxxxxxxxxx>
                                                                         
Steve Northover                                                          
<Steve_Northover@xxxxxxxxxx>                                              
Sent by:                                                                  
platform-swt-dev-bounces@xxxxxxxxxx (Embedded image moved to file:        
g                                   pic11555.gif)                        
                                                                         
                                                                       To
05/09/2007 03:18 PM                             (Embedded image moved to  
                                                file: pic15202.gif)      
                                                "Eclipse Platform SWT    
                                                component developers      
         Please respond to                      list."                    
  "Eclipse Platform SWT component               <platform-swt-dev@eclipse
         developers list."                      .org>                    
   <platform-swt-dev@xxxxxxxxxxx>   (Embedded image moved to file:        
                                    pic29780.gif)                        
                                                                         
                                                                       cc
                                                (Embedded image moved to  
                                                file: pic31353.gif)      
                                    (Embedded image moved to file:        
                                    pic12464.gif)                        
                                                                         
                                                                  Subject
                                                (Embedded image moved to  
                                                file: pic10374.gif)      
                                                Re: [platform-swt-dev]    
                                                SWT_AWT and Accessibility
                                                                         
                                                                         
                                                                         
                                    (Embedded image moved to file:        
                                    pic11291.gif)                        
                                     (Embedded image moved to file:      
                                     pic27058.gif)                        
                                                                         
                                                                         




Can you confirm that it is working properly running a small Swing only
example? If so, please create a bug report with a stand alone snippet.
                                                                         
jamie.guillemette@xxxxxx                                                  
Sent by:                                                                  
platform-swt-dev-bounces@xxxxxxxxxxx                                      
                                                                       To
                                                      platform-swt-dev@ec
05/09/2007 04:10 PM                                   lipse.org          
                                                                       cc
                                                      (Embedded image    
                                                      moved to file:      
                                                      pic05687.gif)      
              Please respond to                                   Subject
 "Eclipse Platform SWT component developers           [platform-swt-dev]  
    list." <platform-swt-dev@xxxxxxxxxxx>             SWT_AWT and        
                                                      Accessibility      
                                                                         
                                                                         
                                                                         
                                                                         
                                                                         
                                             (Embedded image moved to    
                                             file: pic09283.gif)          
                                              (Embedded image moved to    
                                              file: pic02531.gif)        
                                                                         
                                                                         






Hi All,

Im trying to find out if the SWT_AWT bridge allows accessibility data to
flow from Swing components back to SWT and out to Accessibility
applications.

I have an eclipse application that uses swing for many views. The SWT_AWT
bridge is used to allow the swing panel to be embedded in the views.

Our client relies on Jaws a screen reader application.

In Swing we would call the method getAcessibleContext().setName()  or
setDescription()  on any swing component. This provides the details the
screen reader needs
to have to work properly.

So far my intial attempts at making this work within our eclipse plugin
have failed. Our SWT components / frames work perfectly.

Does anyone know :

a) is accessiblity supported in swing panels via SWT_AWT?

b) if not is there a best practice work around?



Thanks,
Jamie M. Guillemette
IT Solutions Developer
TD Enterprise Technology Solutions
275 Dundas Street, 11th Floor, London
(519) 663-1952


********************
NOTICE OF CONFIDENTIALITY
This communication including any information transmitted with it is
intended only for the use of the addressees and is confidential.
If you are not an intended recipient or responsible for delivering
the message to an intended recipient, any review, disclosure,
conversion to hard copy, dissemination, reproduction or other use
of any part of this communication is strictly prohibited, as is the
taking or omitting of any action in reliance upon this communication.
If you receive this communication in error or without authorization
please notify us immediately by return e-mail or otherwise and
permanently delete the entire communication from any computer,
disk drive, or other storage medium.

If the above disclaimer is not properly readable, it can be found at
www.td.com/legal

AVERTISSEMENT DE CONFIDENTIALITE
Ce courriel, ainsi que tout renseignement ci-inclus, destinà uniquement
aux destinataires susmentionnÃs,  est confidentiel.  Si vous
nâÃtes pas le destinataire prÃvu ou un agent responsable de la
livraison de ce courriel, tout examen, divulgation, copie, impression,
reproduction, distribution, ou autre utilisation dâune partie de ce
courriel est strictement interdit de mÃme que toute intervention ou
abstraction à cet Ãgard.  Si vous avez reÃu ce message par erreur ou
sans autorisation, veuillez en aviser immÃdiatement lâexpÃditeur par
retour de courriel ou par un autre moyen et supprimer immÃdiatement
cette communication entiÃre de tout systÃme Ãlectronique.

Si l'avis de non-responsabilità ci-dessus n'est pas lisible, vous
pouvez le consulter à www.td.com/francais/legale
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
(Embedded image moved to file: pic18442.gif)
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
(See attached file: pic16740.gif)(See attached file: pic13217.gif)(See attached file: pic29521.gif)(See attached file: pic00056.gif)(See attached file: pic09448.gif)(See attached file: pic28661.gif)(See attached file: pic31450.gif)(See attached file: pic26337.gif)(See attached file: pic00400.gif)(See attached file: pic24099.gif)(See attached file: pic02253.gif)(See attached file: pic28053.gif)(See attached file: pic11555.gif)(See attached file: pic15202.gif)(See attached file: pic29780.gif)(See attached file: pic31353.gif)(See attached file: pic12464.gif)(See attached file: pic10374.gif)(See attached file: pic11291.gif)(See attached file: pic27058.gif)(See attached file: pic05687.gif)(See attached file: pic09283.gif)(See attached file: pic02531.gif)(See attached file: pic18442.gif)_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev

GIF image

GIF image

GIF image

Attachment: pic16740.gif
Description: GIF image

Attachment: pic13217.gif
Description: GIF image

Attachment: pic29521.gif
Description: GIF image

Attachment: pic00056.gif
Description: GIF image

Attachment: pic09448.gif
Description: GIF image

Attachment: pic28661.gif
Description: GIF image

Attachment: pic31450.gif
Description: GIF image

Attachment: pic26337.gif
Description: GIF image

Attachment: pic00400.gif
Description: GIF image

Attachment: pic24099.gif
Description: GIF image

Attachment: pic02253.gif
Description: GIF image

Attachment: pic28053.gif
Description: GIF image

Attachment: pic11555.gif
Description: GIF image

Attachment: pic15202.gif
Description: GIF image

Attachment: pic29780.gif
Description: GIF image

Attachment: pic31353.gif
Description: GIF image

Attachment: pic12464.gif
Description: GIF image

Attachment: pic10374.gif
Description: GIF image

Attachment: pic11291.gif
Description: GIF image

Attachment: pic27058.gif
Description: GIF image

Attachment: pic05687.gif
Description: GIF image

Attachment: pic09283.gif
Description: GIF image

Attachment: pic02531.gif
Description: GIF image

Attachment: pic18442.gif
Description: GIF image