Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(556)

Issue 2021953002: Make click targets inside links work.

Created:
4 years, 6 months ago by nektarios
Modified:
4 years, 6 months ago
Reviewers:
dmazzoni
CC:
aboxhall+watch_chromium.org, aboxhall, blink-reviews, chromium-reviews, dmazzoni+watch_chromium.org, dmazzoni, dtseng+watch_chromium.org, haraken, je_julie, nektar+watch_chromium.org, yuzo+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make click targets inside links work. There are pages that attach click handlers to elements that are found inside links, and screen readers might try to click such elements. Our existing doDefaultAction logic wasn't handling this possibility. For example, there might be a graphic inside a link and the screen reader might invoke the default action on the graphic. BUG=615904 R=dmazzoni@chromium.org Committed: https://crrev.com/d4cff44e1023869434c07689e29ee4440a3b7a2e Cr-Commit-Position: refs/heads/master@{#397211}

Patch Set 1 #

Patch Set 2 : Fixed compilation error. #

Patch Set 3 : Test added. #

Patch Set 4 : Tests both for the firing of the DOM click event in addition to the accessibility click event when … #

Patch Set 5 : Fixed the flakiness of the test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -4 lines) Patch
A third_party/WebKit/LayoutTests/accessibility/image-inside-link.html View 1 2 3 4 1 chunk +87 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp View 1 1 chunk +5 lines, -4 lines 0 comments Download

Messages

Total messages: 15 (2 generated)
nektarios
4 years, 6 months ago (2016-05-30 21:41:45 UTC) #1
dmazzoni
Can you add a test for it? I think you could use the first test ...
4 years, 6 months ago (2016-05-31 17:16:55 UTC) #2
nektarios
Test added using the template you pointed out. However, I have difficulty making the drag ...
4 years, 6 months ago (2016-05-31 21:34:31 UTC) #3
dmazzoni
I think you're testing the opposite of what you want to be testing. The bug ...
4 years, 6 months ago (2016-05-31 21:58:08 UTC) #4
blink-reviews
I didn't want to test only what the bug said because there might have been ...
4 years, 6 months ago (2016-05-31 22:26:14 UTC) #5
chromium-reviews
I didn't want to test only what the bug said because there might have been ...
4 years, 6 months ago (2016-05-31 22:26:15 UTC) #6
dmazzoni
lgtm
4 years, 6 months ago (2016-06-01 17:22:32 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2021953002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2021953002/60001
4 years, 6 months ago (2016-06-01 17:22:59 UTC) #9
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 6 months ago (2016-06-01 19:46:07 UTC) #10
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/d4cff44e1023869434c07689e29ee4440a3b7a2e Cr-Commit-Position: refs/heads/master@{#397211}
4 years, 6 months ago (2016-06-01 19:47:31 UTC) #12
jbroman
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/2035583003/ by jbroman@chromium.org. ...
4 years, 6 months ago (2016-06-02 15:34:36 UTC) #13
nektarios
I fixed the flaky test.
4 years, 6 months ago (2016-06-03 16:09:23 UTC) #14
dmazzoni
4 years, 6 months ago (2016-06-03 16:12:20 UTC) #15
lgtm, but please create a new issue, then feel free to TBR me and commit. Run
"git cl issue 0" to remove the issue number and upload again to a new issue.

Powered by Google App Engine
This is Rietveld 408576698