Commit 705c7827 authored by xan@webkit.org's avatar xan@webkit.org

2009-04-14 Xan Lopez <xlopez@igalia.com>

        Reviewed by Holger Freyther.

        https://bugs.webkit.org/show_bug.cgi?id=21546
        [GTK] ATK accessibility enhancements

        Also implement text interface for StaticTextRole, which covers
        most of the text in web pages.

        * page/gtk/AccessibilityObjectWrapperAtk.cpp:

git-svn-id: svn://svn.chromium.org/blink/trunk@42495 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 098154a3
2009-04-14 Xan Lopez <xlopez@igalia.com>
Reviewed by Holger Freyther.
https://bugs.webkit.org/show_bug.cgi?id=21546
[GTK] ATK accessibility enhancements
Also implement text interface for StaticTextRole, which covers
most of the text in web pages.
* page/gtk/AccessibilityObjectWrapperAtk.cpp:
2009-04-14 Alexey Proskuryakov <ap@webkit.org> 2009-04-14 Alexey Proskuryakov <ap@webkit.org>
Another Windows build fix. Another Windows build fix.
...@@ -731,6 +731,11 @@ static guint16 getInterfaceMaskFromObject(AccessibilityObject* coreObject) ...@@ -731,6 +731,11 @@ static guint16 getInterfaceMaskFromObject(AccessibilityObject* coreObject)
interfaceMask |= 1 << WAI_STREAMABLE; interfaceMask |= 1 << WAI_STREAMABLE;
// Text & Editable Text // Text & Editable Text
AccessibilityRole role = coreObject->roleValue();
if (role == StaticTextRole)
interfaceMask |= 1 << WAI_TEXT;
if (coreObject->isAccessibilityRenderObject() && coreObject->isTextControl()) { if (coreObject->isAccessibilityRenderObject() && coreObject->isTextControl()) {
if (coreObject->isReadOnly()) if (coreObject->isReadOnly())
interfaceMask |= 1 << WAI_TEXT; interfaceMask |= 1 << WAI_TEXT;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment