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

a11y: Checkbox lacks AT-SPI "checkable" state

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.6.3, 6.7.0 RC, 6.8.0 FF
    • dev
    • None
    • Debian testing, qtbase git dev as of commit 68369237bfefc81410a0d8d7389ed5e0fba0b421
    • Linux/X11
    • b2ec2e113 (dev), e9c11ba22 (6.7), 1ad0d2e8d (6.6)

    Description

      Checkboxes lack the "checkable" AT-SPI state (ATSPI_STATE_CHECKABLE) on the accessibility layer on Linux.

      A checked checkbox has ATSPI_STATE_CHECKED, but not ATSPI_STATE_CHECKABLE, which is inconsistent. (How can something that's not checkable be checked?)

      Sample steps to reproduce:

      1) run the qtbase tabdialog example (examples/widgets/dialogs/tabdialog/tabdialog)

      2) switch to the "Permissions" tab which has 3 checked checkboxes

      3) start Accerciser

      4) in the treeview representing the a11y hierarchy of the tabdialog example in Accerciser, select the "Readable" checkbox

      5) query states via Accerciser's IPython console

       

      Actual result:

      [<enum ATSPI_STATE_CHECKED of type Atspi.StateType>,
       <enum ATSPI_STATE_ENABLED of type Atspi.StateType>,
       <enum ATSPI_STATE_FOCUSABLE of type Atspi.StateType>,
       <enum ATSPI_STATE_SENSITIVE of type Atspi.StateType>,
       <enum ATSPI_STATE_SHOWING of type Atspi.StateType>,
       <enum ATSPI_STATE_VISIBLE of type Atspi.StateType>] 

      The checkbox reports the CHECKED state, but not the CHECKABLE state.

      Expected result:
      ATSPI_STATE_CHECKABLE should be reported as well.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes