QT5.1 Making a QtQuick application accessible
-
Hello,
I am trying to make an accessible (at-spi-2) application in qml using qtquick and what I have doesn't seem to be raising any events over the dbus.
@ApplicationWindow {
width: 640
height: 480
menuBar: MenuBar {
Menu {
id: themenu
title: qsTr("File")MenuItem { id: themenuitem text: qsTr("Exit") onTriggered: Qt.quit(); } } }
}@
I have run the application and exported QT_ACCESSIBILITY=1, but I get no events. I would expect to get focus events and the like.
I have also registered an update handler with
@ QAccessible::installUpdateHandler(&updateHandler);@but I get nothing outputted.
Is there anything special I need to do to enable a qt quick app for accessibility?
-
QT_ACCESSIBILITY=1 does not matter for Qt 5.
The missing events are most likely bugs since the implementation is not very well tested compared to the widget implementation.
Please try to come up with small snippets and file bugs for them on https://bugreports.qt-projects.org .