From 2995ed2dd55b6b29e2b7f320043789b63f485478 Mon Sep 17 00:00:00 2001 From: Frederik Gladhorn Date: Tue, 15 Jul 2014 16:01:46 +0200 Subject: 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 Reviewed-by: Michael Bruning --- src/core/browser_accessibility_qt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3