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

Issue 2530353002: Views: Add a11y information for IconLabelBubbleView and LocationIconView. (Closed)

Created:
4 years ago by Patti Lor
Modified:
4 years ago
CC:
chromium-reviews, tfarina, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Views: Add a11y information for IconLabelBubbleView and LocationIconView. IconLabelBubbleView is a View for displaying an icon + label; LocationIconView specifically is the icon + text shown on the left on the Omnibox URL (typically when a site is deemed to be secure). Neither of these classes have any accessibility information set on them, despite LocationIconView being a focusable and clickable target. This change adds a11y information to both. BUG=668930 Committed: https://crrev.com/2d053e7da4da085c320a6a821377f429523afd63 Cr-Commit-Position: refs/heads/master@{#436832}

Patch Set 1 #

Patch Set 2 : Use views::Label::GetAccessibleNodeData() for IconLabelBubbleView. #

Total comments: 4

Patch Set 3 : Review comments. #

Total comments: 8

Patch Set 4 : Reorder method declaration to match superclass. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -1 line) Patch
M chrome/browser/ui/views/location_bar/icon_label_bubble_view.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_icon_view.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_icon_view.cc View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 38 (24 generated)
Patti Lor
Hi Trent, PTAL. This is the fix for the LocationIconView being invisible to a11y clients ...
4 years ago (2016-11-28 23:41:37 UTC) #9
tapted
lgtm % nits https://codereview.chromium.org/2530353002/diff/20001/chrome/browser/ui/views/location_bar/icon_label_bubble_view.h File chrome/browser/ui/views/location_bar/icon_label_bubble_view.h (right): https://codereview.chromium.org/2530353002/diff/20001/chrome/browser/ui/views/location_bar/icon_label_bubble_view.h#newcode70 chrome/browser/ui/views/location_bar/icon_label_bubble_view.h:70: // views::InkDropHostView: this should still be ...
4 years ago (2016-11-29 03:22:52 UTC) #12
Patti Lor
Hi dmazzoni - could you please take a quick look at this before I send ...
4 years ago (2016-11-30 05:11:34 UTC) #16
dmazzoni
lgtm, but I'm not entirely clear about what you were asking about the whole thing ...
4 years ago (2016-11-30 23:14:50 UTC) #19
Patti Lor
On 2016/11/30 23:14:50, dmazzoni wrote: > lgtm, but I'm not entirely clear about what you ...
4 years ago (2016-11-30 23:18:54 UTC) #20
dmazzoni
On 2016/11/30 23:18:54, Patti Lor wrote: > On 2016/11/30 23:14:50, dmazzoni wrote: > > lgtm, ...
4 years ago (2016-12-01 21:30:33 UTC) #21
Patti Lor
Thanks for the advice dmazzoni. pkasting@chromium.org: Please review changes in chrome/browser/ui/views/location_bar/ Thanks!
4 years ago (2016-12-05 01:07:20 UTC) #23
Peter Kasting
Not reviewing the actual accessibility functionality, assuming dmazzoni's review is sufficient for that. LGTM If ...
4 years ago (2016-12-06 04:20:28 UTC) #24
Patti Lor
Thanks for the review! Please check my reply for https://codereview.chromium.org/2530353002/diff/40001/chrome/browser/ui/views/location_bar/location_icon_view.h#newcode39 ? Thanks. https://codereview.chromium.org/2530353002/diff/40001/chrome/browser/ui/views/location_bar/icon_label_bubble_view.h File chrome/browser/ui/views/location_bar/icon_label_bubble_view.h ...
4 years ago (2016-12-06 07:07:21 UTC) #29
Peter Kasting
https://codereview.chromium.org/2530353002/diff/40001/chrome/browser/ui/views/location_bar/location_icon_view.h File chrome/browser/ui/views/location_bar/location_icon_view.h (right): https://codereview.chromium.org/2530353002/diff/40001/chrome/browser/ui/views/location_bar/location_icon_view.h#newcode39 chrome/browser/ui/views/location_bar/location_icon_view.h:39: void GetAccessibleNodeData(ui::AXNodeData* node_data) override; On 2016/12/06 07:07:21, Patti Lor ...
4 years ago (2016-12-06 07:22:35 UTC) #30
Patti Lor
https://codereview.chromium.org/2530353002/diff/40001/chrome/browser/ui/views/location_bar/location_icon_view.h File chrome/browser/ui/views/location_bar/location_icon_view.h (right): https://codereview.chromium.org/2530353002/diff/40001/chrome/browser/ui/views/location_bar/location_icon_view.h#newcode39 chrome/browser/ui/views/location_bar/location_icon_view.h:39: void GetAccessibleNodeData(ui::AXNodeData* node_data) override; On 2016/12/06 07:22:34, Peter Kasting ...
4 years ago (2016-12-07 01:56:59 UTC) #31
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/2530353002/60001
4 years ago (2016-12-07 01:57:38 UTC) #34
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years ago (2016-12-07 02:05:01 UTC) #36
commit-bot: I haz the power
4 years ago (2016-12-07 02:10:13 UTC) #38
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/2d053e7da4da085c320a6a821377f429523afd63
Cr-Commit-Position: refs/heads/master@{#436832}

Powered by Google App Engine
This is Rietveld 408576698