Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.3.0
-
None
Description
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" } } }
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-103513 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
419254,5 | A11Y: Send Scrolling Events when Flickable moves | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
419296,6 | Android A11Y: Notify android about scroll events | dev | qt/qtbase | Status: MERGED | +2 | 0 |
427742,2 | A11Y: Send Scrolling Events when Flickable moves | 6.4 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
427743,2 | A11Y: Send Scrolling Events when Flickable moves | 6.3 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
427747,2 | A11Y: Send Scrolling Events when Flickable moves | tqtc/lts-5.15 | qt/tqtc-qtdeclarative | Status: MERGED | +2 | 0 |
427748,2 | A11Y: Send Scrolling Events when Flickable moves | tqtc/lts-6.2 | qt/tqtc-qtdeclarative | Status: MERGED | +2 | 0 |
429326,2 | Android A11Y: Notify android about scroll events | 6.4 | qt/qtbase | Status: MERGED | +2 | 0 |
429327,2 | Android A11Y: Notify android about scroll events | 6.3 | qt/qtbase | Status: MERGED | +2 | 0 |
429332,2 | Android A11Y: Notify android about scroll events | tqtc/lts-6.2 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |
429333,4 | Android A11Y: Notify android about scroll events | tqtc/lts-5.15 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |