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

Issue 646853004: Enable a11y audit for chrome://settings (Closed)

Created:
6 years, 2 months ago by hcarmona
Modified:
6 years ago
Reviewers:
Dan Beam
CC:
chromium-reviews, dbeam+watch-options_chromium.org, bondd
Base URL:
https://chromium.googlesource.com/chromium/src.git/+/master
Project:
chromium
Visibility:
Public.

Description

Enable a11y audit for chrome://settings Enabled the tests and fixed failure. Failure was due to transition obscuring elements in the UI. Another failure was caused because there were no labels on the mic and camera drop downs. Another failure was that there was no captions for a video element. This is used to capture a profile picture in chrome OS, so there wouldn't be any captions. This element is ignored in the a11y audit. There was also an issue with the dispatching of events in the ensureTransitionEndEvent function that wouldn't allow the event to bubble. BUG=311866 Committed: https://crrev.com/34a84c6d1269332cc3ae2b8a50af489230c885de Cr-Commit-Position: refs/heads/master@{#301266} Committed: https://crrev.com/ca8b4ecfeee16828955ffe5637749272a5989106 Cr-Commit-Position: refs/heads/master@{#305078} Committed: https://crrev.com/665503577875fc7eebc2f4b442641295e33ccc41 Cr-Commit-Position: refs/heads/master@{#306909}

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : Fix issue that caused revert #

Patch Set 4 : Attempt to fix Chrome OS failure #

Patch Set 5 : Attempt to fix failing tests #

Patch Set 6 : Update to wait for transition on both overlays #

Patch Set 7 : #

Total comments: 5

Patch Set 8 : Apply changes based on feedback #

Total comments: 1

Patch Set 9 : Apply feedback and disable audit for failing test #

Total comments: 1

Patch Set 10 : Apply feedback #

Total comments: 2

Patch Set 11 : Attempt to fix Flaky Test #

Patch Set 12 : Disable flaky a11y audit #

Total comments: 3

Patch Set 13 : Apply Feedback #

Total comments: 4

Patch Set 14 : Apply Feedback pt2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -41 lines) Patch
M chrome/browser/resources/options/content_settings.html View 1 2 1 chunk +8 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/options/autofill_options_browsertest.js View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +11 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/accounts_options_browsertest.js View 1 2 3 4 5 6 7 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/options/chromeos/date_time_options_browsertest.js View 1 2 3 4 5 6 7 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/options/content_options_browsertest.js View 1 2 3 4 5 6 7 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/options/language_options_browsertest.js View 1 2 3 4 5 6 7 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/options/options_browsertest.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 8 chunks +29 lines, -30 lines 0 comments Download
A chrome/browser/ui/webui/options/options_browsertest_base.js View 1 2 3 4 5 6 7 8 1 chunk +27 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M ui/webui/resources/js/util.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 34 (4 generated)
hcarmona
Adding Dan as a reviewer for this change.
6 years, 2 months ago (2014-10-21 21:38:44 UTC) #2
Dan Beam
lgtm https://codereview.chromium.org/646853004/diff/1/chrome/browser/ui/webui/options/options_browsertest.js File chrome/browser/ui/webui/options/options_browsertest.js (right): https://codereview.chromium.org/646853004/diff/1/chrome/browser/ui/webui/options/options_browsertest.js#newcode720 chrome/browser/ui/webui/options/options_browsertest.js:720: function() { function() { document.addEventListener('webkitTransitionEnd', function f(e) { ...
6 years, 2 months ago (2014-10-21 23:13:57 UTC) #3
hcarmona
https://codereview.chromium.org/646853004/diff/1/chrome/browser/ui/webui/options/options_browsertest.js File chrome/browser/ui/webui/options/options_browsertest.js (right): https://codereview.chromium.org/646853004/diff/1/chrome/browser/ui/webui/options/options_browsertest.js#newcode720 chrome/browser/ui/webui/options/options_browsertest.js:720: function() { On 2014/10/21 23:13:56, Dan Beam wrote: > ...
6 years, 2 months ago (2014-10-22 17:36:20 UTC) #4
Dan Beam
what's holding this CL up?
6 years, 2 months ago (2014-10-25 00:26:28 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/646853004/20001
6 years, 2 months ago (2014-10-25 00:43:12 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
6 years, 2 months ago (2014-10-25 02:21:25 UTC) #8
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/34a84c6d1269332cc3ae2b8a50af489230c885de Cr-Commit-Position: refs/heads/master@{#301266}
6 years, 2 months ago (2014-10-25 02:22:14 UTC) #9
Avi (use Gerrit)
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/678883002/ by avi@chromium.org. ...
6 years, 1 month ago (2014-10-25 18:19:42 UTC) #10
hcarmona
The original CL was reverted because the UI was still transitioning. I was able to ...
6 years, 1 month ago (2014-11-06 23:13:57 UTC) #11
Dan Beam
https://codereview.chromium.org/646853004/diff/120001/chrome/browser/ui/webui/options/content_options_browsertest.js File chrome/browser/ui/webui/options/content_options_browsertest.js (right): https://codereview.chromium.org/646853004/diff/120001/chrome/browser/ui/webui/options/content_options_browsertest.js#newcode31 chrome/browser/ui/webui/options/content_options_browsertest.js:31: this.accessibilityAuditConfig.ignoreSelectors('videoWithoutCaptions', might be useful to somehow make a class ...
6 years, 1 month ago (2014-11-07 05:43:20 UTC) #12
Dan Beam
lgtm https://codereview.chromium.org/646853004/diff/140001/chrome/browser/ui/webui/options/options_browsertest_base.js File chrome/browser/ui/webui/options/options_browsertest_base.js (right): https://codereview.chromium.org/646853004/diff/140001/chrome/browser/ui/webui/options/options_browsertest_base.js#newcode4 chrome/browser/ui/webui/options/options_browsertest_base.js:4: /** * @constructor * @extends {testing.Test} */
6 years, 1 month ago (2014-11-12 23:46:13 UTC) #13
hcarmona
Trybots should be fixed by disabling audit for the failing test on Mac + chrome. ...
6 years, 1 month ago (2014-11-18 22:55:41 UTC) #14
Dan Beam
On 2014/11/18 22:55:41, Hector Carmona wrote: > Trybots should be fixed by disabling audit for ...
6 years, 1 month ago (2014-11-20 18:35:32 UTC) #15
hcarmona
On 2014/11/20 18:35:32, Dan Beam wrote: > On 2014/11/18 22:55:41, Hector Carmona wrote: > > ...
6 years, 1 month ago (2014-11-20 19:42:04 UTC) #16
Dan Beam
On 2014/11/20 19:42:04, Hector Carmona wrote: > On 2014/11/20 18:35:32, Dan Beam wrote: > > ...
6 years, 1 month ago (2014-11-20 19:49:16 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/646853004/170001
6 years, 1 month ago (2014-11-20 19:55:05 UTC) #19
commit-bot: I haz the power
Committed patchset #10 (id:170001)
6 years, 1 month ago (2014-11-20 20:57:26 UTC) #20
commit-bot: I haz the power
Patchset 10 (id:??) landed as https://crrev.com/ca8b4ecfeee16828955ffe5637749272a5989106 Cr-Commit-Position: refs/heads/master@{#305078}
6 years, 1 month ago (2014-11-20 20:58:00 UTC) #21
Mark P
A revert of this CL (patchset #10 id:170001) has been created in https://codereview.chromium.org/745953002/ by mpearson@chromium.org. ...
6 years, 1 month ago (2014-11-20 23:48:47 UTC) #22
Dan Beam
https://codereview.chromium.org/646853004/diff/170001/chrome/browser/ui/webui/options/autofill_options_browsertest.js File chrome/browser/ui/webui/options/autofill_options_browsertest.js (right): https://codereview.chromium.org/646853004/diff/170001/chrome/browser/ui/webui/options/autofill_options_browsertest.js#newcode78 chrome/browser/ui/webui/options/autofill_options_browsertest.js:78: this.disableAccessibilityChecks(); link to why you're doing this
6 years, 1 month ago (2014-11-21 05:27:57 UTC) #23
hcarmona
Addressed flaky test that caused revert by changing the wait on the overlays into 2 ...
6 years ago (2014-12-03 00:39:00 UTC) #24
Dan Beam
https://codereview.chromium.org/646853004/diff/210001/chrome/browser/ui/webui/options/options_browsertest.js File chrome/browser/ui/webui/options/options_browsertest.js (right): https://codereview.chromium.org/646853004/diff/210001/chrome/browser/ui/webui/options/options_browsertest.js#newcode117 chrome/browser/ui/webui/options/options_browsertest.js:117: } dedupe the cotents of these 2 methods, e.g.: ...
6 years ago (2014-12-03 00:55:22 UTC) #25
Dan Beam
https://codereview.chromium.org/646853004/diff/210001/chrome/browser/ui/webui/options/options_browsertest.js File chrome/browser/ui/webui/options/options_browsertest.js (right): https://codereview.chromium.org/646853004/diff/210001/chrome/browser/ui/webui/options/options_browsertest.js#newcode117 chrome/browser/ui/webui/options/options_browsertest.js:117: } On 2014/12/03 00:55:22, Dan Beam wrote: > dedupe ...
6 years ago (2014-12-03 00:55:42 UTC) #26
hcarmona
Removed duplicate logic based on feedback. https://codereview.chromium.org/646853004/diff/210001/chrome/browser/ui/webui/options/options_browsertest.js File chrome/browser/ui/webui/options/options_browsertest.js (right): https://codereview.chromium.org/646853004/diff/210001/chrome/browser/ui/webui/options/options_browsertest.js#newcode117 chrome/browser/ui/webui/options/options_browsertest.js:117: } On 2014/12/03 ...
6 years ago (2014-12-04 00:12:34 UTC) #27
Dan Beam
https://codereview.chromium.org/646853004/diff/230001/chrome/browser/ui/webui/options/options_browsertest.js File chrome/browser/ui/webui/options/options_browsertest.js (right): https://codereview.chromium.org/646853004/diff/230001/chrome/browser/ui/webui/options/options_browsertest.js#newcode99 chrome/browser/ui/webui/options/options_browsertest.js:99: targets.every(ensureTransitionEndEvent); nit: forEach() when the return value of the ...
6 years ago (2014-12-04 03:02:35 UTC) #28
hcarmona
Applied feedback. Good catch on the typo: that part of the code is there to ...
6 years ago (2014-12-04 19:18:38 UTC) #29
Dan Beam
lgtm
6 years ago (2014-12-04 20:08:06 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/646853004/250001
6 years ago (2014-12-04 21:29:37 UTC) #32
commit-bot: I haz the power
Committed patchset #14 (id:250001)
6 years ago (2014-12-04 22:24:37 UTC) #33
commit-bot: I haz the power
6 years ago (2014-12-04 22:25:32 UTC) #34
Message was sent while issue was closed.
Patchset 14 (id:??) landed as
https://crrev.com/665503577875fc7eebc2f4b442641295e33ccc41
Cr-Commit-Position: refs/heads/master@{#306909}

Powered by Google App Engine
This is Rietveld 408576698