diff options
author | Frederik Gladhorn <frederik.gladhorn@nokia.com> | 2012-03-23 17:40:38 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-03 15:07:40 +0200 |
commit | 60b9151d36a9fb84b771f18d2c517e122b08ed70 (patch) | |
tree | 0358d2ef8c9a8a79e2b5ecaed1d4753274a33d1e /tests/auto/quick/qquickaccessible/data/statictext.qml | |
parent | 330dbc6bba11f401c9f258aa6281dbdfebfc8602 (diff) |
Do not automatically mark all text items as accessible.
This adds more confusion and fails more often due
to invisible items and overlays that it helps.
The test saw lots of "children" before that were
text elements, these are gone now.
With this the hack to make children based on
item role invisible can go away.
Change-Id: Ic5a3bba6e271747237e0e85168f4290bf596bc8a
Reviewed-by: Jan-Arve Sæther <jan-arve.saether@nokia.com>
Diffstat (limited to 'tests/auto/quick/qquickaccessible/data/statictext.qml')
-rw-r--r-- | tests/auto/quick/qquickaccessible/data/statictext.qml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/quick/qquickaccessible/data/statictext.qml b/tests/auto/quick/qquickaccessible/data/statictext.qml index a0821cfc4d..7cf1b707a0 100644 --- a/tests/auto/quick/qquickaccessible/data/statictext.qml +++ b/tests/auto/quick/qquickaccessible/data/statictext.qml @@ -10,6 +10,10 @@ Item { width: 200 height: 50 text : "Hello Accessibility" + + // Setting any value of the attached property + // makes an item accessible. + Accessible.name: text } Text { |