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

Accessibility: Checkboxes almost impossible to toggle

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.9.3, 6.10.0 RC
    • Quick: Controls 2
    • None
    • Android 16, iOS 18.7
    • Android, iOS/tvOS/watchOS

      On platforms where one can select and interact with accessibility items via tap (iOS/Android), I find it almost impossible to toggle a QtQuick.Controls CheckBox with VoiceOver/Talkback enabled. I can select the checkbox including the actual checkbox and the text as expected, but when I double-tap the button to toggle, it almost never triggers the toggle. I've seen it work a few times, as if the area reacting is very tiny, like a few pixels.

      When manually setting Accessible.onPressAction: toggle(), it behaves as I would expect.
      I think this should be the default. Native controls on both platforms behave like this.

      import QtQuick
      import QtQuick.Controls
      
      Window {
          width: 640
          height: 480
          visible: true
          title: qsTr("Hello World")
      
          CheckBox {
              id: checkBox
      
              anchors.centerIn: parent
              text: "Hello World"
              Accessible.onPressAction: toggle() // Without this, it's almost impossible to toggle the checkbox
          }
      }
      

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            frank.osterfeld Frank Osterfeld
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes