Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-140441

a11y: QtQuick TextInput is inaccessible/missing in a11y tree

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.11.0 FF
    • None
    • Debian testing, Qt self-compiled from git dev (qtbase: 20881debebf529d96ce0a5983e86bedb5d725eb3, qtdeclarative: 60e5d85921369cc6574e67c6d2cd18f2701ba0ce)
    • Linux/Wayland, Linux/X11

      Currently, the QtQuick TextInput has no accessibility implementation, which means that it is e.g. completely inaccessible to screen readers.

       

      Steps to reproduce:

      1. build and run the given sample program:
        import QtQuick
        import QtQuick.Controls
        import QtQuick.LayoutsWindow {
            width: 640
            height: 480
            visible: true
            title: qsTr("Editable Text Sample")   ColumnLayout {
               TextEdit {
                   text: "This is a TextEdit"
               }
               TextInput {
                   text: "This is a TextInput."
               }
               TextField {
                   text: "This is a TextField."
               }
           }}
         
      1. run Accerciser and inspect the applications accessibility tree

      Actual result
      The "Editable Text Sample" frame only has 2 children: one for the TextEdit, and one for the TextField, but none for the TextInput.

      Expected result:
      The TextInput should also be available on the a11y layer, so that assistive technology can interact with it.

        For Gerrit Dashboard: QTBUG-140441
        # Subject Branch Project Status CR V

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            michaelweghorn Michael Weghorn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are 2 open Gerrit changes