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

a11y: Some QColorDialog widgets are not keyboard accessible

XMLWordPrintable

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

      At its top right, QColorDialog contains a widget (QColorPicker) that allows to select a color by clicking on the preferred one, and a slider-like widget to adjust the Hue value.
      However, both of these can only be operated by using the mouse, i.e. clicking somewhere, not by using the keyboard, which is an accessibility problem.

      Steps to reproduce

      1. build and run this sample program
        #include <QApplication>
        #include <QColorDialog>
        
        int main(int argc, char *argv[])
        {
            QApplication a(argc, argv);
            QColorDialog colorDialog;
            colorDialog.show();
            return a.exec();
        }
        
      1. try to move focus to the above-mentioned widgets in order to use the arrow keys to change colors/values.
      2. due to failure in previous step, click on the above-mentioned widgets, then try to use the arrow keys to change values.

      Actual result

      Neither 2) nor 3) can be achieved using the keyboard.

      Expected result

      It should be possible to operate the full dialog (all widgets) using the keyboard, without requiring to use the mouse at all.

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

            michaelweghorn Michael Weghorn
            michaelweghorn Michael Weghorn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: