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

Issue 2930683003: MD Settings: fix focus-row-behavior allowing invisible focus on rows. (Closed)

Created:
3 years, 6 months ago by scottchen
Modified:
3 years, 6 months ago
Reviewers:
hcarmona
CC:
chromium-reviews, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org, arv+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

MD Settings: fix focus-row-behavior allowing invisible focus on rows. In some scenarios when a row's control is focused, the row remained tabindex="0" (i.e. focusable) so shift-tabbing was moving the focus back to the row which is undesired. This CL makes sure that when the control is focused, shift-tabbing would never go back to the containing row. BUG=725463 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2930683003 Cr-Commit-Position: refs/heads/master@{#478458} Committed: https://chromium.googlesource.com/chromium/src/+/6d30a69cd0eba07bbbff2e8efc9b0ab2e335dae4

Patch Set 1 #

Total comments: 7

Patch Set 2 : add clarifying comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -1 line) Patch
M chrome/browser/resources/settings/focus_row_behavior.js View 1 2 chunks +7 lines, -1 line 0 comments Download

Messages

Total messages: 18 (8 generated)
scottchen
3 years, 6 months ago (2017-06-07 21:48:09 UTC) #4
hcarmona
https://codereview.chromium.org/2930683003/diff/1/chrome/browser/resources/settings/focus_row_behavior.js File chrome/browser/resources/settings/focus_row_behavior.js (right): https://codereview.chromium.org/2930683003/diff/1/chrome/browser/resources/settings/focus_row_behavior.js#newcode21 chrome/browser/resources/settings/focus_row_behavior.js:21: onFocus: function(row, e) { When does this |onFocus| get ...
3 years, 6 months ago (2017-06-08 18:57:50 UTC) #5
scottchen
https://codereview.chromium.org/2930683003/diff/1/chrome/browser/resources/settings/focus_row_behavior.js File chrome/browser/resources/settings/focus_row_behavior.js (right): https://codereview.chromium.org/2930683003/diff/1/chrome/browser/resources/settings/focus_row_behavior.js#newcode21 chrome/browser/resources/settings/focus_row_behavior.js:21: onFocus: function(row, e) { On 2017/06/08 18:57:50, hcarmona wrote: ...
3 years, 6 months ago (2017-06-08 22:55:35 UTC) #6
hcarmona
https://codereview.chromium.org/2930683003/diff/1/chrome/browser/resources/settings/focus_row_behavior.js File chrome/browser/resources/settings/focus_row_behavior.js (right): https://codereview.chromium.org/2930683003/diff/1/chrome/browser/resources/settings/focus_row_behavior.js#newcode21 chrome/browser/resources/settings/focus_row_behavior.js:21: onFocus: function(row, e) { On 2017/06/08 22:55:35, scottchen wrote: ...
3 years, 6 months ago (2017-06-08 23:21:31 UTC) #7
scottchen
https://codereview.chromium.org/2930683003/diff/1/chrome/browser/resources/settings/focus_row_behavior.js File chrome/browser/resources/settings/focus_row_behavior.js (right): https://codereview.chromium.org/2930683003/diff/1/chrome/browser/resources/settings/focus_row_behavior.js#newcode21 chrome/browser/resources/settings/focus_row_behavior.js:21: onFocus: function(row, e) { On 2017/06/08 23:21:31, hcarmona wrote: ...
3 years, 6 months ago (2017-06-09 00:06:01 UTC) #8
hcarmona
LGTM
3 years, 6 months ago (2017-06-09 00:49:50 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2930683003/20001
3 years, 6 months ago (2017-06-09 19:55:22 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/475795)
3 years, 6 months ago (2017-06-09 21:37:11 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2930683003/20001
3 years, 6 months ago (2017-06-09 21:41:29 UTC) #15
commit-bot: I haz the power
3 years, 6 months ago (2017-06-09 23:39:59 UTC) #18
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/6d30a69cd0eba07bbbff2e8efc9b...

Powered by Google App Engine
This is Rietveld 408576698