-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.3.0
-
None
When using two fingers to scroll a QML Flickable when the screen reader is enabled, the position of the a11y focus frame is not updated and doesn't move with the item.
Seems like that the necessary event added to the QQuickItem here https://codereview.qt-project.org/c/qt/qtdeclarative/+/323739 isn't emitted for any child of the Flickable, which would be necessary to move the focus frame.
Similarly events like onYChanged are also never fired, however, not sure if they are supposed to in this case.
Here is a minimal example to reproduce it:
Window {
title: qsTr("Hello World")
width: 640
height: 480
visible: true
Flickable {
id: flickable
anchors.fill: parent
contentWidth: contentItem.childrenRect.width
contentHeight: contentItem.childrenRect.height
Text {
id: a
Accessible.name: "A"
onYChanged: console.log("Should this work?" + y)
width: flickable.width
height: 300
text: "A"
}
Text {
id: b
Accessible.name: "B"
anchors.top: a.bottom
width: flickable.width
height: 300
text: "B"
}
Text {
id: c
Accessible.name: "C"
anchors.top: b.bottom
width: flickable.width
height: 600
text: "C"
}
}
}