Skip to content
  • bdakin@apple.com's avatar
    WebCore: · aab5d69d
    bdakin@apple.com authored
    2008-09-23  Beth Dakin  <bdakin@apple.com>
    
            Reviewed by Sam Weinig.
    
            Fix for https://bugs.webkit.org/show_bug.cgi?id=21041 "Add Contact" 
            link at gmail does not support AXPress action
            and corresponding: <rdar://problem/6216178>
    
            I fixed this bug by making AccessibilityObject::anchorElement 
            support ARIA links.
    
            * page/AccessibilityImageMapLink.cpp:
            (WebCore::AccessibilityImageMapLink::anchorElement):
            * page/AccessibilityImageMapLink.h:
            * page/AccessibilityObject.cpp:
            (WebCore::AccessibilityObject::anchorElement):
            * page/AccessibilityObject.h:
            (WebCore::AccessibilityObject::isNativeAnchor):
            * page/AccessibilityRenderObject.cpp:
            (WebCore::AccessibilityRenderObject::isNativeAnchor):
            (WebCore::AccessibilityRenderObject::anchorElement):
            (WebCore::AccessibilityRenderObject::internalLinkElement):
            (WebCore::AccessibilityRenderObject::url):
            * page/AccessibilityRenderObject.h:
            * page/mac/AccessibilityObjectWrapper.mm:
            (AXLinkElementForNode):
    
    WebKitTools:
    
    2008-09-23  Beth Dakin  <bdakin@apple.com>
    
            Reviewed by Sam Weinig.
    
            This patch extends DumpRenderTree's AccessibilityController to ask 
            if the focused element supports the press action.
    
            * DumpRenderTree/AccessibilityUIElement.cpp:
            (getSupportsPressActionCallback):
            (AccessibilityUIElement::getJSClass):
            * DumpRenderTree/AccessibilityUIElement.h:
            * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
            (AccessibilityUIElement::supportsPressAction):
    
    LayoutTests:
    
    2008-09-23  Beth Dakin  <bdakin@apple.com>
    
            Reviewed by Sam Weinig.
    
            Test for https://bugs.webkit.org/show_bug.cgi?id=21041 "Add 
            Contact" link at gmail does not support AXPress action
            and corresponding: <rdar://problem/6216178>
    
            * accessibility/aria-link-supports-press-expected.txt: Added.
            * accessibility/aria-link-supports-press.html: Added.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@36818 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    aab5d69d