-
Bug
-
Resolution: Unresolved
-
P1: Critical
-
None
-
6.11
-
None
-
Debian testing, qtbase self-compiled from git dev as of commit 77ccbd61f09c17d47b153bff41dd4a6bf7da0557
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
- 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(); }
- try to move focus to the above-mentioned widgets in order to use the arrow keys to change colors/values.
- 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 |
| 688342,1 | QColorPicker: Move signal emission to QColorPicker::setCol | dev | qt/qtbase | Status: NEW | +2 | 0 |
| 688343,2 | QColorPicker: Remember position, not hue and sat | dev | qt/qtbase | Status: NEW | +2 | 0 |
| 688344,1 | a11y: Make QColorPicker keyboard accessible | dev | qt/qtbase | Status: NEW | +2 | 0 |
| 688345,1 | a11y: Make QColorLuminancePicker keyboard accessible | dev | qt/qtbase | Status: NEW | +2 | 0 |