-
Bug
-
Resolution: Unresolved
-
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.
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);
}
}
}
}
}
}