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

Issue 2742833002: [Win10 FRE] Fix ARIA attributes to conform to accordion widget. (Closed)

Created:
3 years, 9 months ago by huangs
Modified:
3 years, 9 months ago
Reviewers:
tmartino, dmazzoni, tommycli
CC:
arv+watch_chromium.org, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Win10 FRE] Fix ARIA attributes to conform to accordion widget. This CL updates role and aria-* attributes to get screen readers to work. BUG=697142 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2742833002 Cr-Commit-Position: refs/heads/master@{#456175} Committed: https://chromium.googlesource.com/chromium/src/+/bdbe2f86eba4acf4ab9239e1277386089be1ab25

Patch Set 1 #

Total comments: 12

Patch Set 2 : Remove redundant attributes; fix spacing. #

Total comments: 2

Patch Set 3 : Fix typo. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -29 lines) Patch
M chrome/browser/resources/welcome/win10/inline.html View 1 2 2 chunks +39 lines, -23 lines 0 comments Download
M chrome/browser/resources/welcome/win10/inline.js View 1 chunk +8 lines, -6 lines 0 comments Download

Messages

Total messages: 21 (8 generated)
huangs
PTAL. I won't be able to respond until late tonight. Thanks!
3 years, 9 months ago (2017-03-09 19:41:39 UTC) #3
huangs
Also, I'm following some recommendations from: https://www.w3.org/TR/wai-aria-practices-1.1/#accordion
3 years, 9 months ago (2017-03-09 19:46:11 UTC) #4
tommycli
lgtm indeed you seem to be following the accordion recommendaitons. I'll leave dmazzoni to comment ...
3 years, 9 months ago (2017-03-09 19:53:14 UTC) #5
tmartino
lgtm
3 years, 9 months ago (2017-03-09 19:54:34 UTC) #6
dmazzoni
Thanks. We have some code to automatically lint code like this, see third_party/accessibility-audit and search ...
3 years, 9 months ago (2017-03-09 19:55:08 UTC) #7
tmartino
nit: I think we use 80-char limits on HTML
3 years, 9 months ago (2017-03-09 19:55:26 UTC) #8
huangs
Updated, PTAL. https://codereview.chromium.org/2742833002/diff/1/chrome/browser/resources/welcome/win10/inline.html File chrome/browser/resources/welcome/win10/inline.html (right): https://codereview.chromium.org/2742833002/diff/1/chrome/browser/resources/welcome/win10/inline.html#newcode289 chrome/browser/resources/welcome/win10/inline.html:289: <div class="section-heading" tabindex="0" role="text"> It was for ...
3 years, 9 months ago (2017-03-10 17:23:15 UTC) #9
dmazzoni
lgtm https://codereview.chromium.org/2742833002/diff/20001/chrome/browser/resources/welcome/win10/inline.html File chrome/browser/resources/welcome/win10/inline.html (right): https://codereview.chromium.org/2742833002/diff/20001/chrome/browser/resources/welcome/win10/inline.html#newcode280 chrome/browser/resources/welcome/win10/inline.html:280: on-tap="onToggle" role="button" area-controls="panel1" area-controls -> aria-controls
3 years, 9 months ago (2017-03-10 19:36:53 UTC) #10
huangs
Thanks. Committing! https://codereview.chromium.org/2742833002/diff/20001/chrome/browser/resources/welcome/win10/inline.html File chrome/browser/resources/welcome/win10/inline.html (right): https://codereview.chromium.org/2742833002/diff/20001/chrome/browser/resources/welcome/win10/inline.html#newcode280 chrome/browser/resources/welcome/win10/inline.html:280: on-tap="onToggle" role="button" area-controls="panel1" Hmm weird, I searched ...
3 years, 9 months ago (2017-03-10 19:42:53 UTC) #11
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/2742833002/40001
3 years, 9 months ago (2017-03-10 19:43:32 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/404723)
3 years, 9 months ago (2017-03-10 20:48:06 UTC) #16
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/2742833002/40001
3 years, 9 months ago (2017-03-10 21:25:09 UTC) #18
commit-bot: I haz the power
3 years, 9 months ago (2017-03-10 21:51:01 UTC) #21
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/bdbe2f86eba4acf4ab9239e12773...

Powered by Google App Engine
This is Rietveld 408576698