Skip to content
  • mario@webkit.org's avatar
    [GTK] Expose title and alternative text for links in image maps · 815faaca
    mario@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=84045
    
    Reviewed by Chris Fleizach.
    
    Source/WebCore:
    
    Change the way we decide when the title attribute should be
    used for the accessible description, by not relying in the
    titleTagShouldBeUsedInDescriptionField() helper function but
    in whether we have found a visible text for it or not.
    
    This actually mimics what the Mac port does and so makes possible
    to share both the layout test and its expected results.
    
    * accessibility/atk/WebKitAccessibleUtil.cpp:
    (accessibilityDescription): Update the method to determine
    whether the title attribute should be used for the description.
    
    LayoutTests:
    
    Share test expectations among Mac, GTK and EFL ports and
    remove expected failures for GTK and EFL.
    
    * accessibility/image-map1-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/image-map1-expected.txt.
    * platform/gtk/accessibility/image-map1-expected.txt: Removed.
    * platform/efl/TestExpectations: Removed failure expectations.
    * platform/gtk/TestExpectations: Ditto.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158104 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    815faaca