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

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: jfx19
    • Component/s: 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

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

              Created:
              Updated: