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

Issue 1953913002: Revise accessibility for Date/TimeView. (Closed)

Created:
4 years, 7 months ago by David Tseng
Modified:
4 years, 7 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, sadrul, dtseng+watch_chromium.org, aboxhall+watch_chromium.org, nektar+watch_chromium.org, yuzo+watch_chromium.org, je_julie, arv+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, kalyank, dmazzoni+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@skip_ancestor
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revise accessibility for Date/TimeView. - make it so that accessible labels get set for both Time and Date views (previously only set on DateView). - prioritize the time first, then the date in the accessible label itself. - make it so ChromeVox uses the on-screen-ish label (requires some amount of tree interrogation). - ensure the name is actually updated when the text changes - this makes it so ChromeVox reads the time and date, from a source that knows how it should be formatted. - still fallback to something when time is unavailable on-screen. BUG=605833 TEST=invoke ChromeVox read time command; do this with 24/12 hour time set. Observe proper output and that time continues to be updated as time passes. CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/f289d70ec84f5421e7d69e07fc122fa5fbee23d5 Cr-Commit-Position: refs/heads/master@{#392156}

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -26 lines) Patch
M ash/system/date/date_view.h View 3 chunks +9 lines, -8 lines 0 comments Download
M ash/system/date/date_view.cc View 7 chunks +23 lines, -13 lines 2 comments Download
M chrome/browser/resources/chromeos/chromevox/common/chrome_extension_externs.js View 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js View 1 chunk +23 lines, -5 lines 2 comments Download

Depends on Patchset:

Messages

Total messages: 13 (6 generated)
David Tseng
4 years, 7 months ago (2016-05-05 21:19:12 UTC) #4
dmazzoni
lgtm https://codereview.chromium.org/1953913002/diff/1/ash/system/date/date_view.cc File ash/system/date/date_view.cc (right): https://codereview.chromium.org/1953913002/diff/1/ash/system/date/date_view.cc#newcode98 ash/system/date/date_view.cc:98: state->role = ui::AX_ROLE_TIME; FYI, there is a AX_ROLE_DATE_TIME, ...
4 years, 7 months ago (2016-05-06 15:53:14 UTC) #5
Mr4D (OOO till 08-26)
Please address dmazzoni's comments first, then lgtm
4 years, 7 months ago (2016-05-06 16:37:49 UTC) #6
David Tseng
https://codereview.chromium.org/1953913002/diff/1/ash/system/date/date_view.cc File ash/system/date/date_view.cc (right): https://codereview.chromium.org/1953913002/diff/1/ash/system/date/date_view.cc#newcode98 ash/system/date/date_view.cc:98: state->role = ui::AX_ROLE_TIME; On 2016/05/06 15:53:14, dmazzoni wrote: > ...
4 years, 7 months ago (2016-05-06 20:40:14 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1953913002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1953913002/1
4 years, 7 months ago (2016-05-06 20:40:43 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 7 months ago (2016-05-06 21:16:39 UTC) #11
commit-bot: I haz the power
4 years, 7 months ago (2016-05-06 21:18:20 UTC) #13
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/f289d70ec84f5421e7d69e07fc122fa5fbee23d5
Cr-Commit-Position: refs/heads/master@{#392156}

Powered by Google App Engine
This is Rietveld 408576698