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.