Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.15.2
-
None
-
Qt 5.15.2 / Samsung S10e A 10.0
Description
Qt 5.15.2 / Samsung S10e A 10.0
Steps to reproduce:
1. Run sample code (/qtdeclarative/tests/manual/accessibility/textandbuttons.qml)
2. Turn on Voice Assistant.
3. Click on the text.
Expected: VA should read what action can be performed on the element.
Actual: There is only sound that the element is active, but the user does not know what can be done with this element.
NOTE: Tested the same on MacOS with VoiceOver function and it works well there.
Cannot test on iOS due to the bug https://bugreports.qt.io/browse/QTBUG-90939
CODE:
import QtQuick 2.0 Rectangle { id : rect width: 300 height: 200 Rectangle { width : 200 height : 20 id: button anchors.top : rect.top anchors.topMargin: 30 property string text : "Click to activate" property int counter : 0 Accessible.role : Accessible.Button Accessible.onPressAction: { buttonAction() } function buttonAction() { ++counter text = "clicked " + counter text2.x += 20 } Text { id : text1 anchors.fill: parent text : parent.text } MouseArea { id : mouseArea anchors.fill: parent onClicked: parent.buttonAction() } } Text { id : text2 anchors.top: button.bottom anchors.topMargin: 50 text : "Hello World " + x Behavior on x { PropertyAnimation { duration: 500 } } } }