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

[macOS, Accessibility] VoiceOver: Missing announcement of checked state (JRadioButtonMenuItem, JCheckBoxMenuItem)

XMLWordPrintable

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

      openjdk version "22-internal" 2023-08-23
      OpenJDK Runtime Environment (build 22-internal-adhoc.openjdk.jdk)
      OpenJDK 64-Bit Server VM (build 22-internal-adhoc.openjdk.jdk, 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-22 (see Test environment).
      -> 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.
      -> VoiceOver announces: "Java Look & Feel".
      Bug: VoiceOver does not announce the AccessibleState.CHECKED, in this case "not checked".

      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.
      -> VoiceOver announces "Enable Tool Tips".
      Bug: VoiceOver does not announce the AccessibleState.CHECKED, in this case "checked".

      9. Press Down Arrow key.
      -> The "Enable Drag Support" checkbox menu item is selected.
      VoiceOver announces "Enable Drag Support".
      Bug: VoiceOver does not announce the AccessibleState.CHECKED, in this case "not checked".


      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:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: