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

[macOS, Accessibility] VoiceOver: No announcements on JRadioButtonMenuItem and JCheckBoxMenuItem

    XMLWordPrintable

Details

    Backports

      Description

        ================
        Test environment
        ================
        Apple M1 Pro, macOS Ventura version 13.4.1

        java version "20" 2023-03-21
        Java(TM) SE Runtime Environment (build 20+36-2344)
        Java HotSpot(TM) 64-Bit Server VM (build 20+36-2344, mixed mode, sharing)

        openjdk version "21-ea" 2023-09-19
        OpenJDK Runtime Environment (build 21-ea+26-2328)
        OpenJDK 64-Bit Server VM (build 21-ea+26-2328, mixed mode, sharing)

        ================
        Test application
        ================
        SwingSet2.jar
        SwingSet2 can be downloaded from:
        https://docs.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html#swingset2

        ======================
        Test to reproduce bugs
        ======================
        1. On macOS, start VoiceOver (for example with shortcut Option-Command-F5).

        2. Start SwingSet2.jar with jdk-21 (or idk-20, which behaves the same).
        -> SwingSet2 window is displayed. The ToggleButton “JInternalFrame demo” has the keyboard focus.

        3. Press F10 to open the menu of the SwingSet2 application.
        -> The "File" menu is selected and expanded.
        -> VoiceOver announces: "menu (5 items). You are currently in a menu."

        4. Press Right Arrow key.
        -> The "Look & Feel" menu is selected and expanded.
        -> VoiceOver announces: "menu (4 items). You are currently in a menu."

        5. Press Down Arrow key.
        -> The "Java Look & Feel" radio button menu item is selected.
        Bug: VoiceOver does not announce anything.

        6. Press Down Arrow key.
        -> The "Nimbus Look & Feel" radio button menu item is selected.
        Same bug as mentioned before.

        7. Press Right Arrow key twice.
        -> The "Options" menu is selected and expanded.
        -> VoiceOver announces: "menu (2 items). You are currently in a menu."

        8. Press Down Arrow key.
        -> The "Enable Tool Tips" checkbox menu item is selected.
        Same bug as mentioned above.

        9. Press Down Arrow key.
        -> The "Enable Drag Support" checkbox menu item is selected.
        Same bug as mentioned above.


        Note: Mentioning a bug on VoiceOver announcement does not mean that the issue is on VoiceOver’s side, rather it is the result of the issue and the cause of the issue needs to be found.

        Attachments

          Issue Links

            Activity

              People

                abhiscxk Abhishek Kumar
                mbaesken Matthias Baesken
                Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: