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

Issue 601083004: Enable a11y audit for chrome://print and fix failing tests. (Closed)

Created:
6 years, 2 months ago by hcarmona
Modified:
6 years, 1 month ago
CC:
chromium-reviews, arv+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Enable a11y audit for chrome://print and fix failing tests. Enabled a11y audit test. Made the tests async in order to run the a11y audit after the UI is settled down. Fix issue where decorative icon had no descriptive text. Added alt="". Fix issue where margins were obscured by a warning dialog but were still accessible. When elements are obscured by the overlay, they are now hidden. Cleaned up redundant code by moving it into functions. BUG=423178 Committed: https://crrev.com/8102b1b83fa3b33624a19bc89fd578566ffe573c Cr-Commit-Position: refs/heads/master@{#302105}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Debugging Failures #

Total comments: 12

Patch Set 4 : Possible fix of failures and address dbeam@'s comments #

Patch Set 5 : #

Total comments: 30

Patch Set 6 : #

Total comments: 19

Patch Set 7 : #

Patch Set 8 : Change getElementsByTagName to querySelector #

Patch Set 9 : Removed c++ dependency from js for async test #

Total comments: 1

Patch Set 10 : Attempt to fix flaky test found by trybots #

Total comments: 4

Patch Set 11 : Fix ChromeOS timeout #

Unified diffs Side-by-side diffs Delta from patch set Stats (+334 lines, -381 lines) Patch
M chrome/browser/resources/print_preview/previewarea/preview_area.css View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/resources/print_preview/previewarea/preview_area.js View 1 2 3 4 5 6 3 chunks +33 lines, -11 lines 0 comments Download
M chrome/browser/resources/print_preview/search/destination_list_item.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/print_preview/settings/destination_settings.html View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/print_preview/settings/other_options_settings.html View 1 2 3 4 5 6 7 8 9 1 chunk +31 lines, -29 lines 0 comments Download
M chrome/test/data/webui/print_preview.js View 1 2 3 4 5 6 7 8 9 10 14 chunks +264 lines, -339 lines 0 comments Download

Messages

Total messages: 29 (6 generated)
hcarmona
Enabled the a11y audit for the print dialog. One a11y failure was ignored because it ...
6 years, 2 months ago (2014-09-29 17:43:40 UTC) #2
dmazzoni
lgtm
6 years, 2 months ago (2014-09-29 17:57:26 UTC) #3
Dan Beam
lgtm (can you explain why that false positive exists a little bit, though?)
6 years, 2 months ago (2014-09-29 18:44:12 UTC) #4
Dan Beam
https://codereview.chromium.org/601083004/diff/40001/chrome/browser/resources/print_preview/previewarea/margin_control.js File chrome/browser/resources/print_preview/previewarea/margin_control.js (left): https://codereview.chromium.org/601083004/diff/40001/chrome/browser/resources/print_preview/previewarea/margin_control.js#oldcode377 chrome/browser/resources/print_preview/previewarea/margin_control.js:377: onWebkitTransitionEnd_: function(event) { not lgtm, add back before you ...
6 years, 2 months ago (2014-10-15 21:37:31 UTC) #6
Dan Beam
https://codereview.chromium.org/601083004/diff/40001/chrome/test/data/webui/print_preview.js File chrome/test/data/webui/print_preview.js (right): https://codereview.chromium.org/601083004/diff/40001/chrome/test/data/webui/print_preview.js#newcode125 chrome/test/data/webui/print_preview.js:125: ensureTransitionEndEvent(document, PrintPreviewWebUITest.TIMEOUT); we should not have to do this ...
6 years, 2 months ago (2014-10-15 21:39:19 UTC) #7
hcarmona
Added Albert as code reviewer to look at the print preview changes I made. I've ...
6 years, 2 months ago (2014-10-17 01:35:53 UTC) #8
Albert Bodenhamer
I haven't looked at the Print Preview code in ages. Aleksey would probably be a ...
6 years, 2 months ago (2014-10-20 16:19:16 UTC) #9
hcarmona
Yup, you're in the OWNERS file. I'll change the reviewer to Aleksey. Thanks! Hector On ...
6 years, 2 months ago (2014-10-20 17:01:42 UTC) #10
Dan Beam
https://codereview.chromium.org/601083004/diff/80001/chrome/browser/resources/print_preview/previewarea/preview_area.css File chrome/browser/resources/print_preview/previewarea/preview_area.css (right): https://codereview.chromium.org/601083004/diff/80001/chrome/browser/resources/print_preview/previewarea/preview_area.css#newcode83 chrome/browser/resources/print_preview/previewarea/preview_area.css:83: visibility: hidden !important; is this debug code? we try ...
6 years, 2 months ago (2014-10-20 20:15:25 UTC) #12
hcarmona
Uploaded new CL with changes based on Dan's feedback. https://codereview.chromium.org/601083004/diff/80001/chrome/browser/resources/print_preview/previewarea/preview_area.css File chrome/browser/resources/print_preview/previewarea/preview_area.css (right): https://codereview.chromium.org/601083004/diff/80001/chrome/browser/resources/print_preview/previewarea/preview_area.css#newcode83 chrome/browser/resources/print_preview/previewarea/preview_area.css:83: ...
6 years, 2 months ago (2014-10-21 01:07:18 UTC) #13
Dan Beam
note: Acknowledged means "I get what you mean but didn't make substantial code changes" (or ...
6 years, 2 months ago (2014-10-21 01:16:31 UTC) #14
Aleksey Shlyapnikov
lgtm https://codereview.chromium.org/601083004/diff/100001/chrome/browser/resources/print_preview/search/destination_list_item.html File chrome/browser/resources/print_preview/search/destination_list_item.html (right): https://codereview.chromium.org/601083004/diff/100001/chrome/browser/resources/print_preview/search/destination_list_item.html#newcode3 chrome/browser/resources/print_preview/search/destination_list_item.html:3: <img class="destination-list-item-icon" alt=""> Shouldn't we add role="presentation" here ...
6 years, 2 months ago (2014-10-21 01:58:36 UTC) #15
hcarmona
Replied to feedback and uploaded changes. https://codereview.chromium.org/601083004/diff/100001/chrome/browser/resources/print_preview/previewarea/preview_area.js File chrome/browser/resources/print_preview/previewarea/preview_area.js (right): https://codereview.chromium.org/601083004/diff/100001/chrome/browser/resources/print_preview/previewarea/preview_area.js#newcode514 chrome/browser/resources/print_preview/previewarea/preview_area.js:514: * Set the ...
6 years, 2 months ago (2014-10-21 21:32:38 UTC) #16
Dan Beam
lgtm https://codereview.chromium.org/601083004/diff/100001/chrome/test/data/webui/print_preview.js File chrome/test/data/webui/print_preview.js (right): https://codereview.chromium.org/601083004/diff/100001/chrome/test/data/webui/print_preview.js#newcode675 chrome/test/data/webui/print_preview.js:675: head.appendChild(noAnimationStyle); On 2014/10/21 21:32:37, Hector Carmona wrote: > ...
6 years, 2 months ago (2014-10-21 22:03:23 UTC) #17
Dan Beam
what's holding this CL up?
6 years, 2 months ago (2014-10-25 00:26:40 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/601083004/160001
6 years, 2 months ago (2014-10-25 00:43:09 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel/builds/6237) mac_chromium_rel on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel/builds/6205)
6 years, 2 months ago (2014-10-25 02:12:33 UTC) #22
hcarmona
Trybots caught some flaky tests. I fixed the issue by making all tests async and ...
6 years, 1 month ago (2014-10-29 22:24:46 UTC) #23
Aleksey Shlyapnikov
lgtm https://codereview.chromium.org/601083004/diff/180001/chrome/test/data/webui/print_preview.js File chrome/test/data/webui/print_preview.js (right): https://codereview.chromium.org/601083004/diff/180001/chrome/test/data/webui/print_preview.js#newcode55 chrome/test/data/webui/print_preview.js:55: isAsync: true, On 2014/10/29 22:24:46, Hector Carmona wrote: ...
6 years, 1 month ago (2014-10-30 02:18:29 UTC) #24
Dan Beam
lgtm https://codereview.chromium.org/601083004/diff/180001/chrome/test/data/webui/print_preview.js File chrome/test/data/webui/print_preview.js (right): https://codereview.chromium.org/601083004/diff/180001/chrome/test/data/webui/print_preview.js#newcode55 chrome/test/data/webui/print_preview.js:55: isAsync: true, On 2014/10/29 22:24:46, Hector Carmona wrote: ...
6 years, 1 month ago (2014-10-30 02:49:56 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/601083004/200001
6 years, 1 month ago (2014-10-30 16:51:00 UTC) #27
commit-bot: I haz the power
Committed patchset #11 (id:200001)
6 years, 1 month ago (2014-10-30 17:55:53 UTC) #28
commit-bot: I haz the power
6 years, 1 month ago (2014-10-30 17:57:01 UTC) #29
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/8102b1b83fa3b33624a19bc89fd578566ffe573c
Cr-Commit-Position: refs/heads/master@{#302105}

Powered by Google App Engine
This is Rietveld 408576698