Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.13
-
761df2ced0081905b4238c66783bb276f504cf3d (qt/qtquickcontrols2/5.12)
Description
QMl ‘Switch’ has accessibleRole as ‘button’ whereas it should be ‘Checkbox’.
I checked the underlying code and found that as ‘Switch’ is inheriting this value from QAbstractButton, whereas in checkbox, accessibleRole is overridden to ‘checkbox’.
I think ‘Switch’ should also have a ‘checkbox’ role as it is a togglable button.
Attachments
For Gerrit Dashboard: QTBUG-76356 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
264939,2 | Accessibility: Switch should have checkbox as role | 5.12 | qt/qtquickcontrols2 | Status: MERGED | +2 | 0 |
264964,1 | a11y: Switch should have the CheckBox role | 5.13 | qt/qtquickcontrols2 | Status: ABANDONED | -2 | 0 |