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

iOS/Accessibility: focus frame inside flickable not updated

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.9.3, 6.10.0
    • None
    • iOS 18.7 with dev branch (eb89e722) and 6.9.3/6.10.0 releases. VoiceOver enabled.
    • iOS/tvOS/watchOS

      Similarly to QTBUG-140777 for Android, when scrolling with voiceover enabled (three-finger swipe), the accessibility focus frame of the current element is not updated. After the swipe, the frame stays in the old position.

      Steps to reproduce:

      • Enable VoiceOver
      • Tap "Button 1" to give it accessibility focus
      • Scroll down via three-finger swipe

      The accessibility frame stays in place, while "Button 1" is now scrolled out of view.

      import QtQuick
      import QtQuick.Controls
      
      Window {
          width: 640
          height: 480
          visible: true
          title: qsTr("Hello World")
      
          Flickable {
              id: flickable
              anchors.fill: parent
              contentHeight: column.height
              Column {
                  id: column
                  anchors.horizontalCenter: parent.horizontalCenter
                  
                  Repeater {
                      model: 100
                      Button {
                          text: qsTr("Button %1").arg(index+1)
                          Accessible.onScrollUpAction: {
                              flickable.contentY = Math.max(0, flickable.contentY - flickable.height);
                          }
                          Accessible.onScrollDownAction: {
                              flickable.contentY = Math.min(flickable.contentY + flickable.height, flickable.contentHeight - flickable.height);
                          }
                      }
                  }
              }
          }
      }

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

            smd Jan Arve
            frank.osterfeld Frank Osterfeld
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes