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

Issue 2944813002: Use button elements instead of div for eject buttons. (Closed)

Created:
3 years, 6 months ago by tetsui
Modified:
3 years, 6 months ago
Reviewers:
yawano
CC:
chromium-reviews, oka+watch_chromium.org, rginda+watch_chromium.org, mtomasz+watch_chromium.org, yamaguchi+watch_chromium.org, fukino+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Use button elements instead of div for eject buttons. This CL fixes the eject buttons of removable devices in FilesApp to use button elements instead of div elements. It makes eject buttons focusable by tab. Also ChromeVox recognizes it and says "Eject device - button". BUG=732202 TEST=manually * press tab repeatedly and press space on it. * enable ChromeVox and use Search-Left/Right and Search-Down. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2944813002 Cr-Commit-Position: refs/heads/master@{#480732} Committed: https://chromium.googlesource.com/chromium/src/+/22bdd8a52edc0fce8cd6ca7f90aa164cc59bc0a7

Patch Set 1 #

Total comments: 2

Patch Set 2 : Move stylesheet to CSS file. #

Total comments: 2

Patch Set 3 : Fix CSS ordering. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M ui/file_manager/file_manager/foreground/css/file_manager.css View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/ui/directory_tree.js View 1 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 21 (14 generated)
tetsui
yawano@: PTAL. Thanks!
3 years, 6 months ago (2017-06-19 08:09:36 UTC) #8
yawano
https://codereview.chromium.org/2944813002/diff/1/ui/file_manager/file_manager/foreground/js/ui/directory_tree.js File ui/file_manager/file_manager/foreground/js/ui/directory_tree.js (right): https://codereview.chromium.org/2944813002/diff/1/ui/file_manager/file_manager/foreground/js/ui/directory_tree.js#newcode668 ui/file_manager/file_manager/foreground/js/ui/directory_tree.js:668: ejectButton.setAttribute('style', 'border-style: none'); Move this to the css file. ...
3 years, 6 months ago (2017-06-20 01:44:44 UTC) #9
tetsui
Thank you for reviewing! https://codereview.chromium.org/2944813002/diff/1/ui/file_manager/file_manager/foreground/js/ui/directory_tree.js File ui/file_manager/file_manager/foreground/js/ui/directory_tree.js (right): https://codereview.chromium.org/2944813002/diff/1/ui/file_manager/file_manager/foreground/js/ui/directory_tree.js#newcode668 ui/file_manager/file_manager/foreground/js/ui/directory_tree.js:668: ejectButton.setAttribute('style', 'border-style: none'); On 2017/06/20 ...
3 years, 6 months ago (2017-06-20 02:14:50 UTC) #11
yawano
lgtm with a nit. https://codereview.chromium.org/2944813002/diff/20001/ui/file_manager/file_manager/foreground/css/file_manager.css File ui/file_manager/file_manager/foreground/css/file_manager.css (right): https://codereview.chromium.org/2944813002/diff/20001/ui/file_manager/file_manager/foreground/css/file_manager.css#newcode211 ui/file_manager/file_manager/foreground/css/file_manager.css:211: border-style: none; nit: order alphabetically. ...
3 years, 6 months ago (2017-06-20 02:22:14 UTC) #13
tetsui
Thanks! https://codereview.chromium.org/2944813002/diff/20001/ui/file_manager/file_manager/foreground/css/file_manager.css File ui/file_manager/file_manager/foreground/css/file_manager.css (right): https://codereview.chromium.org/2944813002/diff/20001/ui/file_manager/file_manager/foreground/css/file_manager.css#newcode211 ui/file_manager/file_manager/foreground/css/file_manager.css:211: border-style: none; On 2017/06/20 02:22:14, yawano wrote: > ...
3 years, 6 months ago (2017-06-20 02:25:21 UTC) #14
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/2944813002/40001
3 years, 6 months ago (2017-06-20 02:26:12 UTC) #17
commit-bot: I haz the power
3 years, 6 months ago (2017-06-20 04:23:00 UTC) #21
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/22bdd8a52edc0fce8cd6ca7f90aa...

Powered by Google App Engine
This is Rietveld 408576698