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

[macOS, Accessibility] VoiceOver: Missing announcements on JMenu

XMLWordPrintable

      ================
      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."
      Bug: VoiceOver does not announce the name of the menu.
      Expected announcement: "File, menu (5 items) ..."

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


      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.

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

              Created:
              Updated: