summaryrefslogtreecommitdiffstats
path: root/src/core/browser_accessibility_qt.h
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@digia.com>2014-07-21 15:11:35 +0200
committerFrederik Gladhorn <frederik.gladhorn@digia.com>2014-09-01 17:39:56 +0200
commitc6c1da2f4c71e523213aa8ee961d8fec779f62e2 (patch)
tree897aeedf27454e94d0dd7602207fbae55349dbac /src/core/browser_accessibility_qt.h
parentb88a0e84dddbaa978eaed0ed8eb09ec39b6283bc (diff)
Try harder to return accessible names
Always check if there is another accessible set as title for the one queried. For text fields also return the placeholder property if nothing else is set. Change-Id: I3f10ff04338a405ad8de00e75e15dded4aaeed3b Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Diffstat (limited to 'src/core/browser_accessibility_qt.h')
-rw-r--r--src/core/browser_accessibility_qt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/browser_accessibility_qt.h b/src/core/browser_accessibility_qt.h
index b8cd9e67d..8dfffdcff 100644
--- a/src/core/browser_accessibility_qt.h
+++ b/src/core/browser_accessibility_qt.h
@@ -52,6 +52,9 @@ class BrowserAccessibilityQt
public:
BrowserAccessibilityQt();
+ // BrowserAccessibility
+ virtual void OnDataChanged() Q_DECL_OVERRIDE;
+
// QAccessibleInterface
virtual bool isValid() const Q_DECL_OVERRIDE;
virtual QObject *object() const Q_DECL_OVERRIDE;