Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8341311

[Accessibility,macOS,VoiceOver] VoiceOver announces incorrect number of items in submenu of JPopupMenu

XMLWordPrintable

        Tested Suite: accessibility under Regression suite.
        Tested Products: JDK-17.0.13 b08, 17.0.12 GA, 11.0.25 b07, 11.0.24 GA, 11 GA, 17 GA, JDK-21.0.5, JDK-23.0.1 b10,b11 and JDK-24 b09
        Test: java/awt/a11y/AccessibleJPopupMenuTest.java
        Tested Platforms: MacOS 13 arch64, MacOS 14 arch 64
        -------------------------------------------------------------------------------------------------
        Standalone Reproducer: attached
        Image: attached
        video: attached
        --------------------------------------------------------------------------------------------------
        Regression: Not a regression as the test is also failing for previous builds.
        --------------------------------------------------------------------------------------------------
        Step to reproduce:
        0: Turn on VoiceOver.
        1. download and run the attached PopupMenuExample.java.
        2. click on the frame to get the Menu.
        3. arrow down to reach for submenu.
        4. right arrow to open the submenu.

        Expected result: As there are 3 items in submenu the voice over should read 3 items.
        Actual result: it is reading 4 items in submenu.

          1. 1.png
            1.png
            987 kB
          2. 2.png
            2.png
            996 kB
          3. AccessibleJPopupMenuTest.mp4
            1.76 MB
          4. AccessibleJPopupMenuTest.png
            AccessibleJPopupMenuTest.png
            3.00 MB
          5. PopupMenuExample.java
            1 kB

              abhiscxk Abhishek Kumar
              sarvejai Sarvesh Kumar Jain
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: