Bug 94967

Summary: AX: Should be able to tab to focus a link in a canvas subtree
Product: WebKit Reporter: Dominic Mazzoni <dmazzoni>
Component: AccessibilityAssignee: Dominic Mazzoni <dmazzoni>
Status: RESOLVED FIXED    
Severity: Normal CC: cfleizach, dglazkov, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 95329    
Bug Blocks:    
Attachments:
Description Flags
Patch
none
Archive of layout-test-results from gce-cr-linux-08
none
Patch
none
Patch for landing none

Description Dominic Mazzoni 2012-08-24 12:38:47 PDT
You can tab to focus controls in a canvas subtree (since bug 87898 was fixed), and you can explicitly focus a link from JavaScript, but you can't tab to focus links.

This is an easy fix, HTMLAnchorElement is check hasNonEmptyBoundingBox in order to skip empty links, but links within a canvas subtree should just avoid this check.
Comment 1 Dominic Mazzoni 2012-08-24 12:40:54 PDT
Created attachment 160476 [details]
Patch
Comment 2 WebKit Review Bot 2012-08-24 13:33:11 PDT
Comment on attachment 160476 [details]
Patch

Attachment 160476 [details] did not pass chromium-ews (chromium-xvfb):
Output: http://queues.webkit.org/results/13595280

New failing tests:
fast/events/tab-focus-link-in-canvas.html
Comment 3 WebKit Review Bot 2012-08-24 13:33:13 PDT
Created attachment 160490 [details]
Archive of layout-test-results from gce-cr-linux-08

The attached test failures were seen while running run-webkit-tests on the chromium-ews.
Bot: gce-cr-linux-08  Port: <class 'webkitpy.common.config.ports.ChromiumXVFBPort'>  Platform: Linux-2.6.39-gcg-201203291735-x86_64-with-Ubuntu-10.04-lucid
Comment 4 Dominic Mazzoni 2012-08-24 14:42:56 PDT
Created attachment 160503 [details]
Patch
Comment 5 chris fleizach 2012-08-28 10:53:11 PDT
Comment on attachment 160503 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=160503&action=review

looks good

> Source/WebCore/ChangeLog:9
> +        Additional information of the change such as approach, rationale. Please add per-function descriptions below (OOPS!).

remove this oops line
Comment 6 Dominic Mazzoni 2012-08-28 10:56:17 PDT
Created attachment 161012 [details]
Patch for landing
Comment 7 WebKit Review Bot 2012-08-28 12:05:21 PDT
Comment on attachment 161012 [details]
Patch for landing

Clearing flags on attachment: 161012

Committed r126908: <http://trac.webkit.org/changeset/126908>
Comment 8 WebKit Review Bot 2012-08-28 12:05:25 PDT
All reviewed patches have been landed.  Closing bug.