JAWS does not always read  Swing menus

I have come across a problem that involves JAWS 4.51 and Java menus in Internet Explorer.
I have a Java application that has a JMenuBar. The menu bar contains several JMenus that in turn contain several JMenuItems.
When navigating through a menu, JAWS reads every JMenuItem. However, once a disabled JMenuItem is reached, JAWS no longer reads the JMenuItems below the disabled one in the open JMenu.
The problem occurs only in Internet Explorer on "plain" menu items that follow a disabled menu item. The problem does not affect "complex" menu items, such as those that open sub menus.
I can only reproduce this problem in Internet Explorer 6. Netscape Communicator 7, Web Start clients and a command line launch do not suffer from this problem. Also, JAWS 4.02 is fine as well; only 4.51 has this problem.
Attached at the end is a sample application that recreates the issue. You'll notice in the sample application that JAWS will not read "A check box menu item" and "Another one" while it will read "A submenu."
Does anyone have a solution to this? Thanks a lot!
Sample application:
======================================================
Note: The code below is a modification of the Sun menu tutorial found at http://java.sun.com/docs/books/tutorial/uiswing/components/menu.html
middle.gif can be downloaded from http://java.sun.com/docs/books/tutorial/uiswing/components/example-1dot4/images/middle.gif
MenuLookDemoApplet.java:
import java.awt.*;
import java.awt.event.*;
import javax.swing.JMenu;
import javax.swing.JMenuItem;
import javax.swing.JCheckBoxMenuItem;
import javax.swing.JRadioButtonMenuItem;
import javax.swing.ButtonGroup;
import javax.swing.JMenuBar;
import javax.swing.KeyStroke;
import javax.swing.ImageIcon;
import javax.swing.JPanel;
import javax.swing.JTextArea;
import javax.swing.JScrollPane;
import javax.swing.JApplet;
/* MenuLookDemoApplet.java is a 1.4 application that requires images/middle.gif. */
* This class exists solely to show you what menus look like.
* It has no menu-related event handling.
public class MenuLookDemoApplet extends JApplet {
    JTextArea output;
    JScrollPane scrollPane;
    public JMenuBar createMenuBar() {
        JMenuBar menuBar;
        JMenu menu, submenu;
        JMenuItem menuItem;
        JRadioButtonMenuItem rbMenuItem;
        JCheckBoxMenuItem cbMenuItem;
        //Create the menu bar.
        menuBar = new JMenuBar();
        //Build the first menu.
        menu = new JMenu("A Menu");
        menu.setMnemonic(KeyEvent.VK_A);
        menu.getAccessibleContext().setAccessibleDescription(
                "The only menu in this program that has menu items");
        menuBar.add(menu);
        //a group of JMenuItems
        menuItem = new JMenuItem("A text-only menu item",
                                 KeyEvent.VK_T);
        //menuItem.setMnemonic(KeyEvent.VK_T); //used constructor instead
        menuItem.setAccelerator(KeyStroke.getKeyStroke(
                KeyEvent.VK_1, ActionEvent.ALT_MASK));
        menuItem.getAccessibleContext().setAccessibleDescription(
                "This doesn't really do anything");
        menu.add(menuItem);
        ImageIcon icon = createImageIcon("images/middle.gif");
        menuItem = new JMenuItem("Both text and icon", icon);
        menuItem.setMnemonic(KeyEvent.VK_B);
        menu.add(menuItem);
        menuItem = new JMenuItem(icon);
        menuItem.setMnemonic(KeyEvent.VK_D);
        menu.add(menuItem);
        //a group of radio button menu items
        menu.addSeparator();
        ButtonGroup group = new ButtonGroup();
        rbMenuItem = new JRadioButtonMenuItem("A radio button menu item");
        rbMenuItem.setSelected(true);
        rbMenuItem.setMnemonic(KeyEvent.VK_R);
        group.add(rbMenuItem);
        menu.add(rbMenuItem);
        rbMenuItem = new JRadioButtonMenuItem("Another one");
        rbMenuItem.setMnemonic(KeyEvent.VK_O);
        group.add(rbMenuItem);
        menu.add(rbMenuItem);
        rbMenuItem.setEnabled(false);   //@dpb
        //a group of check box menu items
        menu.addSeparator();
        cbMenuItem = new JCheckBoxMenuItem("A check box menu item");
        cbMenuItem.setMnemonic(KeyEvent.VK_C);
        menu.add(cbMenuItem);
        cbMenuItem = new JCheckBoxMenuItem("Another one");
        cbMenuItem.setMnemonic(KeyEvent.VK_H);
        menu.add(cbMenuItem);
        //a submenu
        menu.addSeparator();
        submenu = new JMenu("A submenu");
        submenu.setMnemonic(KeyEvent.VK_S);
        menuItem = new JMenuItem("An item in the submenu");
        menuItem.setAccelerator(KeyStroke.getKeyStroke(
                KeyEvent.VK_2, ActionEvent.ALT_MASK));
        submenu.add(menuItem);
        menuItem = new JMenuItem("Another item");
        submenu.add(menuItem);
        menu.add(submenu);
        //Build second menu in the menu bar.
        menu = new JMenu("Another Menu");
        menu.setMnemonic(KeyEvent.VK_N);
        menu.getAccessibleContext().setAccessibleDescription(
                "This menu does nothing");
        menuBar.add(menu);
        return menuBar;
    public Container createContentPane() {
        //Create the content-pane-to-be.
        JPanel contentPane = new JPanel(new BorderLayout());
        contentPane.setOpaque(true);
        //Create a scrolled text area.
        output = new JTextArea(5, 30);
        output.setEditable(false);
        scrollPane = new JScrollPane(output);
        //Add the text area to the content pane.
        contentPane.add(scrollPane, BorderLayout.CENTER);
        return contentPane;
    /** Returns an ImageIcon, or null if the path was invalid. */
    protected static ImageIcon createImageIcon(String path) {
        java.net.URL imgURL = MenuLookDemo.class.getResource(path);
        if (imgURL != null) {
            return new ImageIcon(imgURL);
        } else {
            System.err.println("Couldn't find file: " + path);
            return null;
    public void init() {
        MenuLookDemoApplet demo = new MenuLookDemoApplet();
        setJMenuBar(demo.createMenuBar());
        setContentPane(demo.createContentPane());
applet.html:
<html>
<head>
    <title>Menu Test Page </title>
</head>
<body>
Here's the applet:
<applet code="MenuLookDemoApplet.class" width="300" height="300">
</applet>
</body>
</html>

Unfortunately the menu items are fully accessible (or so our internal accessibility tool claims). It doesn't seem to be a problem on that level, but I was hoping that perhaps something else was interfeering.
As for the JTable reading the previous cell, I've notice that it reads the last non-empty cell (regardless of whether it was the previous cell or not) when clicking or moving with the arrow keys to an empty cell. It works fine when clicking or moving to non-empty cells.
I don't have any empty cells in the actual application so I did not try to fix it. My suspicions are that either an event is not being fired or the selection position is not being updated on the empty cells.

Similar Messages

  • My brother uses Jaws, a braille device to read his computer and Iphone. Jaws does not read a .pdf but it will read a .doc.  What do you seggest?

    My brother uses Jaws, a braille device to read his computer and Iphone.  Jaws does not read a .pdf but it will read a .doc.  What do you suggest?

    PDFs are notorious for being difficult to navigate with a screen reader, because nearly all PDFs are either not remediated for accessibility or poorly remediated. Hopefully that landscape is changing with the proposed new 508 rules, which substantially raise the bar for high quality document accessibility and hopefully will have some legal teeth. Still, JAWS should at least attempt to read any PDF that is not image-only. It should infer the tags if no tags are present. I am not at all familiar with JAWS but it sounds to me like the software may not be configured properly for reading PDFs. The JAWS company Freedom Scientific may be able to help, or posting in a JAWS support forum may yield useful information, or maybe a JAWS expert will chime in here. Sorry I am not able to be of help. 
    a 'C' student

  • Media Encoder CS6 does not always "Use Previews"

    I've attempted several transcodes using pre-rendered timelines in Premiere Pro. Media encoder does not always use the preview files despite the appropriate box being checked. Any suggestions what I can look for? I don't see that I am doing anything different between the times it works and the times it doesn't.
    Bruce B.

    We are all just incompetent users here.  As pointed out before this is just a user to user forum, Adobe rarely checks in.
    I was hoping by now you would have gotten to the bottom of this problem and were offering a solution.

  • FireFox home page does not always display correctly, hence I cannot do anything

    On my Dell laptop the FireFox home page does not always fully display. When this happens I cannot access several web sites and some that I can do not display correctly either. On some occasions everything works correctly.
    I have 2 Dell Inspiron laptops the same except one is running Vista (the one that does not always work) and one running Windows 7 (this one has no problems).

    On my Dell laptop the FireFox home page does not always fully display. When this happens I cannot access several web sites and some that I can do not display correctly either. On some occasions everything works correctly.
    I have 2 Dell Inspiron laptops the same except one is running Vista (the one that does not always work) and one running Windows 7 (this one has no problems).

  • HT201272 Season pass notice does not always download.  It does not appear in the purchased items. I am responding to an email stating 'this week's TV show is ready for download'.

    Season pass notice does not always download.  It does not appear in the purchased items. I am responding to an email stating 'this week's TV show is ready for download'.  Any suggestions?

    Been having the same problems all week. And am got a generic, not-at-all-helpful response from my initial inquiry with support, then absolutely no response to my follow-up requests. There seem to be a fair number of people posting this problem, so not sure why we're being ignored.
    Was able to eventually download the episodes manually via the 'purchased' link, but it's about 10 more steps than normal.
    Also noticed that itunes isn't recognizing my purchases at all, not just season passes. If I go to a page of a show where I buy episodes individually, it doesn't show which episodes I have previously bought like it used to.

  • LR4.2 and "Do not import selected duplicates" does not always work.

    LR4.2 and "Do not import selected duplicates" does not always work. Running a Mac, 10.6.8, I am cleaning up hard drives, organizing old files. There are times lightroom 4.2 (and before) does not recognize already imported raws and does not gray them out. These are backed up cards and folders of of raw images. Why is the "do not import selected duplicates" check box not working???!!!

    There's a known (and old) bug when duplicate identification fails on photos
    that have been imported from another catalog.
    Sent from phone.

  • New (1.5) add(*) method does not always equal to getContentPane().add(*);

    Just came across something people might not be aware of,
    The add(*) method provided in 1.5 does not always produce the same result as getContentPane().add(*)...
    Setting the contentPane (of a JFrame) to a JTabbedPane should mean that when you "add" a component (using the add(somComponent)) you get (according to the documentation) a tab whose text defaults to c.getName(). However, when you call add(someComponent) you get no tab text....changing the call to getContentPane().add(someComponent) brings it back...
    Bit odd....
    Thanks,
    Michael

    I don't use 1.5 so I can't comment, but this months [url http://java.sun.com/developer/JDCTechTips/]Core Java Technology Tech Tip may (or may not) help.

  • Keychain does not always pop up with info to fill in my personal info.  How do I fix this?

    I have an iMac 13.1 with Yosemite (10.10), 2.7 Ghz intel core i5, 1 TB of storage and 8 GB of memory.  Keychain does not always pop up when I am filling out a form or credit card number.  How do I fix this?

    That indicates that you are using an add-on that is not compatible with Firefox 4. For details of how to troubleshoot this to find out what one is causing the problem see https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
    The AVG Safe Search add-on has caused this for some, if you have that one try disabling it.

  • NB550D - battery icon does not always reflect the proper balance of time

    I have just recently purchased an NB550D and I must say that at the outset I am very happy with it. It does tend to be a bit slow but I can live with that.
    My problem however is that the battery icon does not always reflect the proper balance of time. For instance after a full charge it may show 9 hours remaining but after a shutdown and restart it will may show 75% and 3 hours remaining. If I shut down and restart it may show 75% and 6 hours remaining
    When I first started the unit I allowed it to fully discharge (through use) three times as was suggested by the salesman at the store but quite candidly it doesn't seem to have made one scrap of difference!
    Any advice will be appreciated.
    Regards

    Remaining time is not credible value of the battery state - it depends on actual duty of processor and the program wich estimates this sometimes shows wrong that time or corrects this after a while. Percentage of charge of battery is much better factor to use!
    But in case your battery loses from 95% to 75% after restart indictates that's something wrong with the battery or program... In my NB550D after restart (pause for 1 day) the battery loses only 2-3% .

  • Printer settings menu does not always change when switching printers

    I am running OS 10.3.9 and also seen this issue on a 10.4 machine. When switching from one printer to another the printer options drop down menu does not always transfer to the correct menu for the newly selected printer. It stays at the menu for the last used printer. I am using several different Sharp printers as well as some HP models. The applications being used are Office 10 Word and Power Point. If anyone has seen this and has a fix I would greatly appreciate it.
    Thanks

    I don't have a solution but have also noticed that the printer in the menu is sort of like spinning the wheel of fortune.
    Hopefully there is a solution but my guess is that it has something to do with a printer preference file that can get hijacked by different printers and applications.
    I have noticed that a printer driver when installed will usually appear as the default printer even if it was not selected as such. I have also notice that different applications will do different things with different printers so I hope someone has a solution.

  • My iphone does not always turn on when i click the home button or start button? Happened after ios7.5 update. Any suggestions? Phone is brand new

    my iphone does not always turn on when i click the home button or start button? takes a few clicks and then it goes on.  Happened after ios7.5 update. Any suggestions? Phone is brand new

    Ok i did what you said to and it did it again, I am at work. Phone is on my desk. I clicked the home button to see if I had missed any messages and it would not turn on.
    Starnge thing is this happened to my other 5S. Took it to apple. They replaced it, Now this phone is doing the same thing, Could it be the software?
    Do you have another suggestion for me?
    Your help is appreciated .

  • My iPad 1 mail does not always sync completely through iCloud

    Background: Over the last week or so I have noticed that my iPad mail does not always sync completely with either mail on my iPhone or iMac.  It receives all messages but does not always delete or file them as managed on either on my iMac or iPhone.  My iPad and iPhone mail settings are the same and set to "push".  My iPhones does not have this issue.  All other syncs such as addresses, calendar and photo stream seem to work just fine.  Is this due to my iPad mail settings or an Apple iCloud issue?

    Do you have Sync Books selected in the Books Tab in iTunes?

  • My iPhone does not always send iMessages to other iPhones who have their iMessages on. Most times I text a new contact with an iPhone first, they show up as regular text messages. How can I fix this?

    My iPhone does not always send iMessages to other iPhones who have their iMessages on. Most times I text a new contact with an iPhone first, they show up as regular text messages. How can I fix this?

    Yes to receive an iMessage the recipient would need an iOS device (iPhone, iPod, iPad) and an internet connection. This is a messaging serviceprovided by Apple so the recipient does not need to check emails. If the contact does not have internet access at the time the iMessage is sent then a normal SMS through your carrier can be sent instead if you have "Send as SMS" turned on in Settings>Messages.

  • IPhone 5 does not always auto lock, particularly if I put it down face down.

    iPhone 5 does not always auto lock. Seems to be particularly true if I place it face gown on a surface.

    try holding home button and on/off button together for few seconds.It will reboot.

  • Email with attachment sends but Recipient does not always receive email

    Email sends with 1.7 MB pdf attachment but Recipient does not always receive, not consistent.
    Using OS X Yosemite, Apple email

    What version of CF are you using?
    The "enablecab" attribute was deprecated last century! Do not
    use it.
    Your cfform tag needs to be:
    <cfform action="tonysSendMailAction.cfm" method="POST"
    enctype="multipart/form-data">
    The "multipart" stuff primes the browser to send files.

Maybe you are looking for

  • OCCI: ORA-21500 [17099] seg faults on 10.2.0.4.1 client

    Hi, I've been getting this seg fault using OCCI, my environment: Oracle client 10.2.0.4.1 x86_64 (jul 2009) on rhel5.4 Oracle database 9.2.0.8 x86_64 on rhel4.8 I've written a g++ multi thread app that is making use of Connection Pooling, within 5 mi

  • Oracle Reprots converion to BI Publisher v10

    Where I can find/get the conversion utility BIPBatchConversion Where I can fin/get the file xmlparserv2-904.jar which is a needed for conversion

  • Where to find a power cable

    I have the Nokia JBL Power up md100 and lost the power cable during a move.  I cannot find one for purchase anywhere. Does anyone know where i can get one?

  • Using iMac instead of Apple TV

    I've had a google around and can't seem to find any answers that answer my question. What we're looking at is the following: We plan to get a new iMac 2.5ghz quad core, and connect it to a tv screen to use as a secondary monitor. However we also want

  • RH7 Crashes When Adding/Renaming Folders

    I am using RH 7.02.001 on WinXP (via the TCS, if that is relevant). I think what I'm looking for is some perspective on migrating a single project to a collection of merged projects. I have a fairly large HTML project (1500 topics in 100 or so folder