This discussion is archived
4 Replies Latest reply: Feb 9, 2011 8:37 AM by 837968 RSS

Accessible Name is not announced by Jaws Screen reader

843807 Newbie
Currently Being Moderated
Hi friends,

I created a custom control (JTextFieldExt) onto which I have set accessible name ("Name") and accessible description ("Name"). However screen reader is not announcing anything when it is focussed. Could some one help me in this regard.

I am using Java access bridge and JAWS screen reader.

Thanks in advance,
vp_java.

Edited by: vp_java on Sep 9, 2009 7:54 AM
  • 1. Re: Accessible Name is not announced by Jaws Screen reader
    843807 Newbie
    Currently Being Moderated
    I'll give this question a bump by asking a similar question.

    Hello,

    I'm making a dialog box for the blind using the Accessibility API, and testing it with the JAWS Screen Reader. (Latest version running in demo mode).

    The UI Builder has two properties at the bottom under the "Accessibility" section. They are called "Accessible Name" and "Accessible Description". I would like to know how to get the Reader to speak what is in the "Accessible Description" property. None of the configuration items I've done have worked however.

    Below is a code snippet for testing the reader. The goal is to get
    the JAWS reader of a Apple Mac screen reader to say:
    "This is a simple button".
    public class AccessSimpleButton extends JPanel {
    
       public AccessSimpleButton() {
          JButtonaButton = new JButton("Button");
          aButton.getAccessibleContext().setAccessibleName("Button");
          String desc = "This is a simple button";
          aButton.getAccessibleContext().setAccessibleDescription(desc); 
          add(aButton);
     }
    
    
     public static void main(String[] args) {
        JFrame frame = new JFrame("AccessSimpleButton");
        frame.getContentPane().add(new AccessSimpleButton(), 
        BorderLayout.CENTER);
        frame.pack();
        frame.setVisible(true);
     }
    
    }
    So are the reader isn't with either this code or NetBean 6.8
    generated code. Does anyone have experience in this area?

    Help is appreciated.
    Alan
  • 2. Re: Accessible Name is not announced by Jaws Screen reader
    843807 Newbie
    Currently Being Moderated
    Dear Alan, vp_java,

    This is a question to ask of Freedom Scientific - to find out what criteria they use to communicate Accessible Description information. Have you tried asking their support staff? See http://freedomscientific.com/support.asp

    Regards,

    Peter Korn
    Accessibility Principal,
    Oracle
  • 3. Re: Accessible Name is not announced by Jaws Screen reader
    843807 Newbie
    Currently Being Moderated
    I think this is how JAWS works.

    When reading the screen it will use the text from a component's "Accessible Name" field. To hear the "Accessible Description" text you need to press INSERT + F1.


    Alan
  • 4. Re: Accessible Name is not announced by Jaws Screen reader
    837968 Newbie
    Currently Being Moderated
    Hi,
    Did anybody find any work around for this problem,can u pls help me as I am also facing the same problem.If at all I have to add mouse listenser,how this helps ,if you have any code for this,Can u pls share with me.
    ur reply would be greatly appreciated as I am in very much need to get out of this issue .

    thanks in advance
    srilalitha