New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 610583 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Apr 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug
Team-Accessibility

Blocked on:
issue 577011

Blocking:
issue 462133
issue 596360


Participants' hotlists:
MacViews-Task-Queue


Sign in to add a comment

Mac: Simplified fullscreen bubble should be announced when VoiceOver is enabled [Accessibility Eng bug]

Project Member Reported by tapted@chromium.org, May 10 2016

Issue description

Chrome Version       : 52.0.2729.3
OS Version: OS X 10.11.4

What steps will reproduce the problem?
0. Turn on voiceover (Usually Cmd+F5)
1. At, e.g., https://permission.site click "Fullscreen"

What is the expected result?

VoiceOver should say "Press [ESC] to exit fullscreen"

What happens instead of that?

Says other stuff - not that.


There are 2-3 parts to fix this (in no particular order)
 A) The blocking bug ( Issue 577011 ): i.e. fix for other platforms with View::NotifyAccessibilityEvent
 B) Hooking up ax_platform_node_mac.mm to actually map/announce ui::AX_EVENT_ALERT things to voiceover (some combination of NSAccessibilitySubroleAttribute to @"AXApplicationAlert" and NSAccessibilityPostNotification[WithUserInfo] + NSAccessibilityAnnouncementRequestedNotification  (see  Issue 101062  for more info, also there are some existing PostNotificaiton call sites in browser_accessibility_manager_mac.mm [except ui::AX_EVENT_ALERT is under "// These events are not used on Mac for now"]. Maybe infobars sometimes announce already on Mac, but I didn't look into this)
 C?) Maybe some mac-specific adornment for the entire window with NSAccessibilityFloatingWindowSubrole -- see jeremya@'s notes on  Issue 101062 

Note that infobars in views do seem to use ui::AX_EVENT_ALERT, so we should make sure ax_platform_node_mac.mm processes those to VoiceOver on Mac the same way that ChromeVox does on ChromeOS.

When fixed, we can close  Issue 101062  - that's for the old UI so will be obsolete.
Steal blockedon  Issue 577011  from Matt unless he complains to do (A)
Close-Fixed the blocked launch bug -- Issue 596360
 

Comment 1 by tapted@chromium.org, May 31 2016

Labels: -Pri-3 M-53 Pri-2
Project Member

Comment 2 by sheriffbot@chromium.org, Jul 10 2016

Labels: -M-53 M-54 MovedFrom-53
Moving this nonessential bug to the next milestone.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 3 by tapted@chromium.org, Nov 16 2016

Status: Started (was: Assigned)
https://codereview.chromium.org/2010493005/

Comment 4 by tapted@chromium.org, Dec 12 2016

Blocking: 462133
Labels: NewComponent-Accessibility-Compatibility
Labels: NewComponent-Accessibility
Components: UI>Accessibility>Compatibility
Components: -UI>Accessibility
Labels: -newcomponent-accessibility-compatibility -newcomponent-accessibility

Comment 9 by tapted@chromium.org, Dec 20 2017

Cc: patricia...@chromium.org
Owner: tapted@chromium.org
Status: Assigned (was: Started)
I'll take this - I think there are some avenues to explore. Hoping to get something in m65 or m66.
Labels: MacViews-Dialogs
Labels: -M-54 M-X
This one's still live. This isn't a regression since there is no Cocoa counterpart to this bubble (the Views one is always used everywhere).

I'm going to tag this M-X for the moment - tapted@, did the exploration mentioned in #9 get anywhere?
not yet.. the avenue to explore is: we currently only notify events using

 void NotifyMacEvent(AXPlatformNodeCocoa* target, ax::mojom::Event event_type) {
   NSAccessibilityPostNotification(
       target, [AXPlatformNodeCocoa nativeNotificationFromAXEvent:event_type]);
 }

for alerts with associated text, this needs to use NSAccessibilityPostNotificationWithUserInfo instead something like

  NSDictionary* notification_info = @{
    NSAccessibilityAnnouncementKey : [self AXValue],
    NSAccessibilityPriorityKey : @(NSAccessibilityPriorityHigh)
  };
  NSAccessibilityPostNotificationWithUserInfo(
      self,  // or does it need to be an NSWindow?
      NSAccessibilityAnnouncementRequestedNotification,
      notification_info);


Labels: -M-X -MovedFrom-53 Target-68
Owner: lgrey@chromium.org
MacViews triage: Let's fix this in M-68.
Labels: M-68
** Bulk Edit **

FYI: Starting 04/13 M68 will be in canary, M68 Dev promotion will be on 04/26.

Comment 16 by lgrey@chromium.org, Apr 16 2018

Labels: Sprint-1
Pls mark the bug as fixed if CL is landed in trunk and nothing else is pending. Thank you.
Project Member

Comment 18 by bugdroid1@chromium.org, Apr 27 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/9b735e2affd26b188a5f10668d6083d5946a1aa4

commit 9b735e2affd26b188a5f10668d6083d5946a1aa4
Author: Leonard Grey <lgrey@chromium.org>
Date: Fri Apr 27 20:16:35 2018

a11y: Announce exclusive access bubble

This is roughly similar to patricialor@'s work in
https://codereview.chromium.org/2010493005/

Per offline conversation,this wasn't submitted
at the time due to some related bugs that are now fixed.

This works well in ChromeVox AFAICT. In VoiceOver,
testing on permission.site, pointer lock works well,
but fullscreen's announcement can sometimes be cut
off by VoiceOver returning to read the rest of the
page. Waiting until the animation is complete helps
a little but doesn't fully fix it, but I'm not sure
what else we could do.

Bug:  610583 ,  577011 
Change-Id: Ic1ef5ba8f81d432eb1f64335be3f6bb6e4ff31f1
Reviewed-on: https://chromium-review.googlesource.com/1015554
Commit-Queue: Leonard Grey <lgrey@chromium.org>
Reviewed-by: Nektarios Paisios <nektar@chromium.org>
Reviewed-by: Elly Fong-Jones <ellyjones@chromium.org>
Cr-Commit-Position: refs/heads/master@{#554476}
[modify] https://crrev.com/9b735e2affd26b188a5f10668d6083d5946a1aa4/chrome/browser/ui/views/exclusive_access_bubble_views.cc
[modify] https://crrev.com/9b735e2affd26b188a5f10668d6083d5946a1aa4/chrome/browser/ui/views/subtle_notification_view.cc
[modify] https://crrev.com/9b735e2affd26b188a5f10668d6083d5946a1aa4/chrome/browser/ui/views/subtle_notification_view.h
[modify] https://crrev.com/9b735e2affd26b188a5f10668d6083d5946a1aa4/ui/accessibility/platform/ax_platform_node_mac.mm

Pls mark bug as fixed if nothing else is pending. Thank you.
Cc: jmukthavaram@chromium.org
Labels: Needs-Feedback
Tested this issue on Mac 10.13.3 using chrome#68.0.3415.0 as per C#0.Voice over is reading "Press [ESC] to exit fullscreen" when we press 'Full screen' button.

Please find the attached screencast for reference & confirm on the fix & expected behavior.
Thanks..!
610583-Mac.mp4
2.0 MB View Download

Comment 21 by lgrey@chromium.org, Apr 30 2018

Status: Fixed (was: Assigned)
That's WAI until we can figure out a way to get VoiceOver to prioritize it more.

Sign in to add a comment