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

Issue 2563423006: MacViews/a11y: Ignore invisible accessibility elements. (Closed)

Created:
4 years ago by Patti Lor
Modified:
4 years ago
Reviewers:
tapted, dmazzoni
CC:
chromium-reviews, aboxhall+watch_chromium.org, nektar+watch_chromium.org, yuzo+watch_chromium.org, je_julie, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, mac-reviews_chromium.org, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MacViews/a11y: Ignore invisible accessibility elements. BubbleFrameView can optionally show a close button based on the return value of WidgetDelegate::ShouldShowCloseButton() and overrides. In cases when it is set to false, the close button still appears in the accessibility tree on Mac. Fix this by ignoring invisible accessibility elements for macOS only. This fix is not cross-platform because the ui::AX_STATE_INVISIBLE flag seems to be useful for Windows and Android accessibility. BUG=660230 Committed: https://crrev.com/506491c05a0dd41bc68604c9b34fe56d93705017 Cr-Commit-Position: refs/heads/master@{#438342}

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M ui/accessibility/platform/ax_platform_node_mac.mm View 1 chunk +2 lines, -1 line 4 comments Download

Messages

Total messages: 18 (10 generated)
Patti Lor
Hi Trent, PTAL.
4 years ago (2016-12-13 02:42:45 UTC) #6
tapted
lgtm - I can't think of a better approach, but a11y OWNERS might know what's ...
4 years ago (2016-12-13 05:57:51 UTC) #7
Patti Lor
Hi dmazzoni, PTAL. Is there something better that should be done with invisible UI elements? ...
4 years ago (2016-12-13 06:13:20 UTC) #9
dmazzoni
lgtm This solution seems fine to me. I think it would also be fine just ...
4 years ago (2016-12-13 17:37:01 UTC) #10
Patti Lor
Thanks dmazzoni for the review. It seems there's a 'STATE_SYSTEM_INVISIBLE' flag that is set for ...
4 years ago (2016-12-13 23:40:04 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/2563423006/1
4 years ago (2016-12-13 23:40:48 UTC) #13
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-13 23:49:56 UTC) #16
commit-bot: I haz the power
4 years ago (2016-12-13 23:53:12 UTC) #18
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/506491c05a0dd41bc68604c9b34fe56d93705017
Cr-Commit-Position: refs/heads/master@{#438342}

Powered by Google App Engine
This is Rietveld 408576698