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

QML - screen reader reads twice the title of the application

    XMLWordPrintable

Details

    • Windows
    • G&UI Finishing 2023

    Description

      Code
      Qt Quick project (bad):

      import QtQuick 2.15
      import QtQuick.Window 2.15
      
      Window {
          width: 640
          height: 480
          title: "Application Title"
          visible: true
      }
      

       

      Qt Widgets project (good):

      #include <QApplication>
      #include <QWidget>
      
      int main(int argc, char *argv[])
      {
          QApplication app(argc, argv);
          QWidget w;
          w.setWindowTitle("Application Title");
          w.show();
          return app.exec();
      }
      

       

      Steps to reproduce

      1. Turn on your screen reader (I used Windows Narrator; customer reported the same issue on JAWS)
      2. Build and run the Qt Quick project code above
      3. Build and run the Qt Widgets project code above

       

      Expected outcomes when app is launched (Qt Widgets)

      • Screen reader says, "Application Title window."

       

      Actual outcomes when app is launched (Qt Quick)

      • Screen reader says, "Application Title window. Application Title."

       

      Original customer report
      Hello,

      I have a sample application for reproducing the issue: example.zip

      The issue is that when the application becomes the active window, JAWS reads its title twice: Screen Recording.mov

      Expected: when the application becomes the active window, JAWS reads its title once.

      (Windows 11 & JAWS screen reader)

      Attachments

        1. example.zip
          6 kB
        2. Screen Recording.mov
          1.84 MB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            smd Jan Arve
            snovelgo Saul Novel Gonzalez
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes