Bug 84045 - [GTK] Expose title and alternative text for links in image maps
Summary: [GTK] Expose title and alternative text for links in image maps
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: Gtk, LayoutTestFailure
Depends on:
Blocks: 25531 98347
  Show dependency treegraph
 
Reported: 2012-04-16 09:47 PDT by Mario Sanchez Prada
Modified: 2013-10-28 02:56 PDT (History)
10 users (show)

See Also:


Attachments
Patch proposal (8.08 KB, patch)
2013-10-23 09:41 PDT, Mario Sanchez Prada
cfleizach: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mario Sanchez Prada 2012-04-16 09:47:08 PDT
This should allow unskipping accessibility/image-map1.html  and accessibility/image-map2.html
Comment 1 Zan Dobersek 2013-09-04 05:37:40 PDT
accessibility/image-map1.html is failing since r155022.
http://trac.webkit.org/changeset/155022

The diff:
--- /home/slave/webkitgtk/gtk-linux-64-release/build/layout-test-results/accessibility/image-map1-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release/build/layout-test-results/accessibility/image-map1-actual.txt
@@ -4,12 +4,18 @@
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
 
-PASS body.childAtIndex(0).role is 'AXRole: AXLink'
-FAIL body.childAtIndex(0).title should be AXTitle: Link1. Was AXTitle: .
-PASS body.childAtIndex(1).role is 'AXRole: AXLink'
-FAIL body.childAtIndex(1).title should be AXTitle: Link2. Was AXTitle: .
-PASS body.childAtIndex(2).role is 'AXRole: AXLink'
-FAIL body.childAtIndex(2).title should be AXTitle: Link3. Was AXTitle: .
+Link1 role: AXRole: AXLink
+Link1 title: AXTitle: 
+Link1 description: AXDescription: 
+
+Link2 role: AXRole: AXLink
+Link2 title: AXTitle: 
+Link2 description: AXDescription: 
+
+Link3 role: AXRole: AXLink
+Link3 title: AXTitle: 
+Link3 description: AXDescription: 
+
 PASS successfullyParsed is true
 
 TEST COMPLETE
Comment 2 Zan Dobersek 2013-09-04 05:38:08 PDT
Note that both tests are being run (i.e. are not skipped), and have GTK-specific baselines.
Comment 3 Mario Sanchez Prada 2013-10-23 09:41:46 PDT
Created attachment 214972 [details]
Patch proposal

This patch mimics what the Mac does and fixes the issue. The situation has slighly changed since this bug was reported, but I checked results now and this patch seems to be the right one.

As a plus, it allows us to share the expectations between GTK, EFL and Mac, which is good too.
Comment 4 Mario Sanchez Prada 2013-10-28 02:56:10 PDT
Committed r158104: <http://trac.webkit.org/changeset/158104>