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

[Accessibility, MacOS, VoiceOver, Accordion, TitledPane] On Mac, when expanding/collapsing Accordion or TitledPane element, VoiceOver speaks the wrong status

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 8u40
    • javafx
    • MacOS 10.10, VoiceOver, JDK 8u40 b15

      In the HelloAccordion and HelloTitledPane samples, Using CMD-OPTION-SPACE to expand/collapse an element, VoiceOver will speak the wrong (opposite) status. For example, VoiceOver will say "Expanding Label 1" when it actually was collapsing it, and vice versa.

      Reproducible: always
          
      Steps to reproduce:
      0. Start VoiceOver (CMD-F5).
      1. Execute Accordion demo: java -cp Hello.jar hello.HelloAccordion
      2. With focus on a collapsed Label 1, press CTRL-OPTION-SPACE.

      Expected result: The Label 1 element will expand, VoiceOver will say "Expanding Label 1".
      Actual result: The Label 1 element will expand, but VoiceOver will say "Collapsing Label 1".

      Similar results are achieved using the TitledPane sample.

      Another easy way to demonstrate this behavior in either of these Hello samples, simply left-click the mouse on the pane header. However, the pane header should not currently have the focus before clicking on it or nothing will be spoken. So, click alternating between two headers, and that will show the issue.

      ADDITIONAL NOTES:
      1. Pressing SPACE by itself in this situation will not invoke VoiceOver to speak, but the element will be properly expanded/collapsed.
      2. MacOS often uses CTRL-OPTION-SPACE for various actions such as a button press, etc. rather than SPACE as in Windows.
       
      RULE tests/voiceover/Accordion any any
      RULE tests/voiceover/TitledPane any any

            Unassigned Unassigned
            rsloan Rocky Sloan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Imported: