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

a11y: Lists in QFontDialog lack accessible names or labelled-by relations

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.11
    • None
    • Debian testing, qtbase self-compiled from git dev as of commit 77ccbd61f09c17d47b153bff41dd4a6bf7da0557
    • Linux/Wayland, Linux/X11

      In QFontDialog, the accessible labelled-by relations between the lists (of class QFontListView) and their labels ("Font", "Font style", "Size") are missing. As a consequence, screen readers don't announce those labels when the lists receive focus, making it unclear to visually impaired users what those lists are about.

      Steps to reproduce

      1. start the Orca screen reader on Linux
      2. build and run this sample program
        #include <QApplication>
        #include <QFontDialog>
        
        int main(int argc, char *argv[])
        {
            QApplication a(argc, argv);
            QFontDialog w;
            w.show();
            return a.exec();
        }
        
      1. navigate through the dialog using the tab key and listen to the screen reader announcement

      Actual result

      When the lists mentioned above receive focus, the Orca screen reader doesn't announce the labels that visually label them.

      Expected result

      The screen reader should announce the labels when those lists receive focus so that screen reader users know what the lists are for.

      Further information

      An analysis with Accerciser reveals that the label-for relation from the label to the list is set, but the inverse labelled-by relation from the list to the label is missing, i.e. the accessible relations are inconsistent.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            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