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

a11y: Screen readers don't announce focused predefined color in QColorDialog

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.11
    • None
    • Debian testing, Plasma X11, qtbase self-compiled from git dev as of 5882310d5d54f897b933044c1447b4b9dee78437, Orca 49.4

      Windows 11 with the same qtbase version, Narrator
    • Linux/Wayland, Linux/X11, Windows
    • 77ccbd61f (dev)

      QColorDialog provides some predefined colors to choose from, and also to save custom colors. However, when navigating between those colors, they are not announced by screen readers (tested with Orca on Linux and Narrator on Windows) or other assistive technology.

      Steps to reproduce:

      1. Build and run this sample program on Linux
        #include <QApplication>
        #include <QColorDialog>
        int main(int argc, char *argv[])
        {
            QApplication a(argc, argv);
            QColorDialog colorDialog;
            colorDialog.show();
            return a.exec();
        }
        
      1. start the Orca screen reader
      2. use the Tab key to navigate to the "Basic colors" section with predefined colors
      3. use the arrow keys to navigate between the predefined colors

      Actual result:

      While navigating between predefined colors, the screen reader doesn't announce anything.

      Expected result

      The screen reader should announce the currently selected item/color.

      Further information

      When checking the accessibility tree with Accerciser, the predefined colors can also not be found in there.

        For Gerrit Dashboard: QTBUG-141571
        # 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:
            2 Start watching this issue

              Created:
              Updated:

                There is 1 open Gerrit change