diff options
author | Morten Johan Sørvig <morten.sorvig@digia.com> | 2013-04-17 10:13:26 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-04-17 18:42:15 +0200 |
commit | 4883749ae324cfc5b5d758323a9bdbbf4faf1401 (patch) | |
tree | f9ca1475df28f9cd80624d7d2376523de5492bc3 /src/controls/Tab.qml | |
parent | 2ed163c6c6cb85b946b4166b3136d43336ff7adf (diff) | |
download | qtquickcontrols-4883749ae324cfc5b5d758323a9bdbbf4faf1401.tar.gz |
Make tab accessibility work.
The PageTab role is actually the button in the TabBar
you click to change tabs - it's not the Tab item
itself.
PageTabs are treated as leaf items with no children
by QML accessibility, which is obviously very wrong
for Tab container items.
There is currently no specific "TabContainer" role in
Qt accessibility. Use LayeredPane as a replacement.
Change-Id: I4728025aacd4b7c370c419533a25f58950f24b6c
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'src/controls/Tab.qml')
-rw-r--r-- | src/controls/Tab.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/Tab.qml b/src/controls/Tab.qml index dbcdc137..5f1eacfa 100644 --- a/src/controls/Tab.qml +++ b/src/controls/Tab.qml @@ -56,7 +56,7 @@ Loader { /*! This property holds the title of the tab. */ property string title - Accessible.role: Accessible.PageTab + Accessible.role: Accessible.LayeredPane active: false visible: false |