diff options
author | Frederik Gladhorn <frederik.gladhorn@digia.com> | 2014-07-15 16:01:46 +0200 |
---|---|---|
committer | Frederik Gladhorn <frederik.gladhorn@digia.com> | 2014-07-15 16:34:07 +0200 |
commit | 2995ed2dd55b6b29e2b7f320043789b63f485478 (patch) | |
tree | 95dda7a9ff0da789f862f68d28ac6616bf95eac3 /src/core | |
parent | 51ac037c2082a4f6681eda07795869f4c14488e1 (diff) |
Fix interpretation of ARIA Application role
Setting the Qt role Application will lead Qt to returning the qApp
accessible representation. Instead make it a document.
Change-Id: Id0b0a3462115905664b8147ab7d529bae7e4fa4b
Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Reviewed-by: Michael Bruning <michael.bruning@digia.com>
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/browser_accessibility_qt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/browser_accessibility_qt.cpp b/src/core/browser_accessibility_qt.cpp index 1e478c212..3de269fc9 100644 --- a/src/core/browser_accessibility_qt.cpp +++ b/src/core/browser_accessibility_qt.cpp @@ -166,7 +166,7 @@ QAccessible::Role BrowserAccessibilityQt::role() const case WebAXRoleAnnotation: return QAccessible::NoRole; // FIXME case WebAXRoleApplication: - return QAccessible::Application; + return QAccessible::Document; // returning Application here makes Qt return the top level app object case WebAXRoleArticle: return QAccessible::Document; // FIXME case WebAXRoleBrowser: |