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

Issue 1162263008: Exposes datetime attribute. (Closed)

Created:
5 years, 6 months ago by je_julie(Not used)
Modified:
5 years, 6 months ago
Reviewers:
dmazzoni, aboxhall
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, plundblad+watch_chromium.org, aboxhall+watch_chromium.org, nektar+watch_chromium.org, jam, yuzo+watch_chromium.org, je_julie, darin-cc_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, mkwst+moarreviews-renderer_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Exposes datetime attribute. According to ARIA spec, http://rawgit.com/w3c/aria/master/html-aam/html-aam.html#att-datetime-time, datetime attribute should be exposed as a object attribute. This patch changes how to expose HTML attributes such as type for text-input, aria-dropeffect and aria-grabbed. The variable, html_attributes, from ui::AXNodeData is used instead of adding additional attributes. BUG=480861 TBR=aboxhall Committed: https://crrev.com/85cf6b004467da8d1d50969ded4692ca9a76f053 Cr-Commit-Position: refs/heads/master@{#333974}

Patch Set 1 #

Patch Set 2 : Update type attr handling to chromevox #

Patch Set 3 : re-upload due to browser_accessibility_cocoa.mm #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -48 lines) Patch
M chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/resources/extensions/automation/automation_node.js View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/accessibility/browser_accessibility_cocoa.mm View 1 3 chunks +15 lines, -8 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_win.cc View 1 4 chunks +23 lines, -5 lines 2 comments Download
M content/renderer/accessibility/blink_ax_tree_source.cc View 1 3 chunks +2 lines, -17 lines 2 comments Download
M ui/accessibility/ax_enums.idl View 3 chunks +1 line, -7 lines 0 comments Download
M ui/accessibility/ax_node_data.cc View 1 3 chunks +0 lines, -9 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
je_julie(Not used)
Hi Dominic, This patch exposes datetime attribute for time tag. It also removes some string ...
5 years, 6 months ago (2015-06-09 11:18:44 UTC) #3
dmazzoni
I'm not sure whether moving towards the use of HTML attributes instead of accessibility attributes ...
5 years, 6 months ago (2015-06-09 16:23:33 UTC) #4
je_julie(Not used)
Dominic, Thanks for your comment. I added some comment about the reason why I think ...
5 years, 6 months ago (2015-06-10 02:16:32 UTC) #5
dmazzoni
lgtm https://codereview.chromium.org/1162263008/diff/60001/content/renderer/accessibility/blink_ax_tree_source.cc File content/renderer/accessibility/blink_ax_tree_source.cc (right): https://codereview.chromium.org/1162263008/diff/60001/content/renderer/accessibility/blink_ax_tree_source.cc#newcode385 content/renderer/accessibility/blink_ax_tree_source.cc:385: dst->html_attributes.push_back(std::make_pair(name, value)); On 2015/06/10 02:16:31, je_julie wrote: > ...
5 years, 6 months ago (2015-06-10 06:43:48 UTC) #6
je_julie(Not used)
On 2015/06/10 06:43:48, dmazzoni wrote: > lgtm > > https://codereview.chromium.org/1162263008/diff/60001/content/renderer/accessibility/blink_ax_tree_source.cc > File content/renderer/accessibility/blink_ax_tree_source.cc (right): > ...
5 years, 6 months ago (2015-06-10 07:29:20 UTC) #8
je_julie(Not used)
Alice, PTAL.
5 years, 6 months ago (2015-06-11 13:49:20 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1162263008/60001
5 years, 6 months ago (2015-06-11 16:10:03 UTC) #11
dmazzoni
Adding Alice as TBR. We should fix the OWNERS file there.
5 years, 6 months ago (2015-06-11 16:10:09 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:60001)
5 years, 6 months ago (2015-06-11 17:25:18 UTC) #13
commit-bot: I haz the power
5 years, 6 months ago (2015-06-11 17:26:21 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/85cf6b004467da8d1d50969ded4692ca9a76f053
Cr-Commit-Position: refs/heads/master@{#333974}

Powered by Google App Engine
This is Rietveld 408576698