Don't set the role to Accessible.Button
authorJan-Arve Saether <jan-arve.saether@nokia.com>
Tue, 3 Jan 2012 08:32:47 +0000 (09:32 +0100)
committerQt by Nokia <qt-info@nokia.com>
Tue, 3 Jan 2012 10:49:05 +0000 (11:49 +0100)
If an item intend to expose its children, it should not set its role
to Button

Change-Id: I6b56d1354ce06f65513688ef38c507bd2881ce82
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
tests/manual/accessibility/hittest.qml

index 522ed64..e66af9b 100644 (file)
@@ -79,7 +79,6 @@ Rectangle {
     Rectangle {
         clip: chkClip.checked
         z: 2
-        Accessible.role: Accessible.Button
         id: rect1
         width: 100
         height: 100