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

CHECK_MENU_ITEM Role claims to implement the TogglePattern but does not allow to raise an UIA_ToggleToggleStateProperty

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • jfx19
    • javafx
    • None

      If you look into WinAccessible - https://github.com/openjdk/jfx/blob/1f6257086422cdc3b0cb01de3ef9bbc3137cfa30/modules/javafx.graphics/src/main/java/com/sun/glass/ui/win/WinAccessible.java#L302 you see that it reports back that CHECK_MENU_ITEM supports the TogglePattern.

      But sendNotification() does not respect that and handles it as it would implement the SelectionPattern -
      https://github.com/openjdk/jfx/blob/1f6257086422cdc3b0cb01de3ef9bbc3137cfa30/modules/javafx.graphics/src/main/java/com/sun/glass/ui/win/WinAccessible.java#L577

      This leads to the effect that:
      - Narrator and Jaws do not correctly announce the ToggleState change
      - NVDA works appropriately

            tschindl Tom Schindl
            tschindl Tom Schindl
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: