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

[Accessibility, MacOS, VoiceOver, ComboBox, DatePicker] Editable ComboBox and DatePicker text fields: VoiceOver does not read characters

    Details

      Description

      On MacOS, the text field of an editable ComboBox does not act like a standard TextField using VoiceOver.

      Typing, Arrow keys, Selection, etc. does not invoke VoiceOver to read the characters.

      Reproducible: Always.
      0. Turn on VoiceOver (CMD-F5).
      1. Download jar with accessibility test samples from https://wiki.se.oracle.com/download/attachments/46472587/Hello.jar
      2. Execute ComboBox demo by java -cp Hello.jar hello.HelloComboBox
      3. Tab into or otherwise set the focus to an editable ComboBox. You should hear VoiceOver speaking the details of each ComboBox as the focus changes.
      4. Type characters, use Left/Right Arrow keys to traverse left and right, use Shift-Arrow keys to select characters.
       
      Expected result: Each of these actions should invoke VoiceOver to read the characters.

      Actual result: Nothing is spoken, but the edit caret moves appropriately and the selection highlighting is normal.

      In the DatePicker sample, the text field has a similar issue.

      However, in the ListView sample, the editable list rows appear to work OK with VoiceOver.

      Affected tests:
      RULE tests/voiceover/ComboBox any any
      RULE tests/voiceover/DatePicker any any

        Attachments

          Activity

            People

            • Assignee:
              arapte Ambarish Rapte
              Reporter:
              rsloan Rocky Sloan (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:
                Imported: