Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-117644

Orca screen reader doesn't announce combobox value when focused

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.5.4, 6.6.1, 6.7.0 FF
    • 5.15.10, dev
    • None
    • Debian testing with qtbase built from dev branch as of c3171938c3e2426ca3391a7e7f531836e7a08383; also reproducible with the Kate text editor using the Debian-provided Qt 5.15.10+dfsg-3
    • Linux/X11
    • d8e110054 (dev), 2b63d0ccf (dev), 5093e517b (dev), e0038c43b (6.6), d2a71d032 (6.6), aa152c3e4 (6.6), e896f23b6 (6.5), fd9bd700e (6.5), fc76d7b27 (6.5)

    Description

      When a combobox is set as the buddy of a label, the currently selected option/value is not announced by the Orca screen reader when the combobox receives keyboard focus.

      Sample steps to reproduce:

      1. start the Orca screen reader
      2. run the qtbase "contextinfo" sample (qtbase/examples/opengl/contextinfo/contextinfo)
      1. move keyboard focus to the combobox using the tab key (move back and forth to retest) and notice that only "context version, combobox" is announced, but not the value/option that is currently selected
      2. press Alt+Down_arrow to expand the popup holding the entries
      3. move around and select another entry, e.g. "2.1", press Enter to confirm
      4.  move focus back and forth again and notice that the proper value is announced now
      5. switch value to "3.0" by just using the arrow down key, without opening the listbox popup. Note that this is not announced by the screen reader.
      6. switch focus back and forth again and notice that the old value is announced: "context version, combobox, 2.1"

      Observations and further notes:

      • Orca just announces "context version, combobox", but not the current value when the popup hasn't been opened yet. The value should be announced right away.
      • The value is announced when the combobox is not set as the buddy of a label. In that case, only the value of the combobox is announced, because the combobox uses the value as it's accessible name (s. QAccessibleComboBox::text).
      • The wrong value is announced in step 8.
      • orca version used: 45.0-1
      • I plan to submit a suggested fix to Gerrit.

      Expected result:

      Orca should always announce the currently selected value/option as well, e.g. "context version, combobox, 2.0".

      Attachments

        For Gerrit Dashboard: QTBUG-117644
        # Subject Branch Project Status CR V

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            michaelweghorn Michael Weghorn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: