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

Issue 912348 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Out until 24 Jan
Closed: Dec 11
Cc:
Components:
EstimatedDays: ----
NextAction: 2018-12-10
OS: Windows
Pri: 1
Type: Bug
Team-Accessibility



Sign in to add a comment

[Regression] Opening a doc from a Google drive link no longer fires accessibility focus events

Project Member Reported by aleventhal@chromium.org, Dec 5

Issue description

Bisect for regression: https://chromium-review.googlesource.com/c/chromium/src/+/1286194
Author: nasko@chromium.org

Impact:
This breaks JAWS and NVDA screen reader support when opening a document from Google Drive, and perhaps breaks more scenarios. I'm not sure how prevalent it is. Based on the bisect description, the bug might be related to anything opened with window.open.

Steps:
- Run accevents.exe that comes with MSAA SDK. In Options -> Settings, limit to only showing Focus events
- On Windows, run chrome.exe with --force-renderer-accessibility command line switch
- Open a Google Drive folder
- Navigate to a document in the file list (you can just click on it)
- Hit Enter to open the document

What happens - only one MSAA focus event is fired as soon as the tab opens:
OBJ_FOCUS  Name="Untitled - Chromium" Role=pane State=normal

Expected - missing focus events are fired:
OBJ_FOCUS  Name="Untitled - Chromium" Role=pane State=normal
OBJ_FOCUS  Name=[bstr=NULL] Role=document State=focused,read only,focusable
OBJ_FOCUS  Name="Receipt totals - Google Docs" Role=document State=focused,read only,focusable
OBJ_FOCUS  Name=[bstr=NULL] Role=document State=focused,focusable
OBJ_FOCUS  Name="Receipt totals - Google Docs" Role=document State=read only,focusable
OBJ_FOCUS  Name=[bstr=NULL] Role=document State=focused,focusable
OBJ_FOCUS  Name="Document content" Role=editable text State=focused,focusable

Related / same cause:  bug 912712 
 
It would be good if we could prevent this regression with a good test, e.g. something that ensures accessibility events are fired in this situation.
Cc: dmazz...@chromium.org
I honestly have no idea what the repro steps imply. Is there any explanation what MSAA SDK is? 

Adding dmazzon@, as an accessibility expert to potentially help understand why window.open changes will affect accessibility.
Description: Show this description
Project Member

Comment 4 by bugdroid1@chromium.org, Dec 7

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

commit 28ebd5bc2acb2b87566d1af5e4c907b8761b5b17
Author: Nasko Oskov <nasko@chromium.org>
Date: Fri Dec 07 22:29:33 2018

Focus newly opened window when noopener is specified.

When r601148 was committed, the codepath for window.open() and link
clicks that result in a new window with 'noopener' attribute was changed
to avoid going to the embedder with OpenURL. The result was that the
newly created window was no longer focused, which was done previously
as a side effect of OpenURL calling chrome::Navigate.

This CL adds focusing in the changed codepath to restore this behavior.

Bug:  912348 ,  912712 
Change-Id: Ia4f5b58a71cbe86bc28b434c0b0501b156c64bc1
Reviewed-on: https://chromium-review.googlesource.com/c/1367164
Reviewed-by: Aaron Leventhal <aleventhal@chromium.org>
Reviewed-by: Alex Moshchuk <alexmos@chromium.org>
Commit-Queue: Nasko Oskov <nasko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#614847}
[modify] https://crrev.com/28ebd5bc2acb2b87566d1af5e4c907b8761b5b17/chrome/browser/chrome_navigation_browsertest.cc
[modify] https://crrev.com/28ebd5bc2acb2b87566d1af5e4c907b8761b5b17/content/browser/web_contents/web_contents_impl.cc

NextAction: 2018-12-10
Status: Started (was: Available)
Setting next action date to Monday to request merge for M72.
The NextAction date has arrived: 2018-12-10
Project Member

Comment 7 by bugdroid1@chromium.org, Dec 11

Labels: merge-merged-3626
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/4b19c2bc3201067ed352d0b09d341259015220cc

commit 4b19c2bc3201067ed352d0b09d341259015220cc
Author: Nasko Oskov <nasko@chromium.org>
Date: Tue Dec 11 02:45:57 2018

[M72 merge] Focus newly opened window when noopener is specified.

When r601148 was committed, the codepath for window.open() and link
clicks that result in a new window with 'noopener' attribute was changed
to avoid going to the embedder with OpenURL. The result was that the
newly created window was no longer focused, which was done previously
as a side effect of OpenURL calling chrome::Navigate.

This CL adds focusing in the changed codepath to restore this behavior.

Bug:  912348 ,  912712 
Change-Id: Ia4f5b58a71cbe86bc28b434c0b0501b156c64bc1
Reviewed-on: https://chromium-review.googlesource.com/c/1367164
Reviewed-by: Aaron Leventhal <aleventhal@chromium.org>
Reviewed-by: Alex Moshchuk <alexmos@chromium.org>
Commit-Queue: Nasko Oskov <nasko@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#614847}
Reviewed-on: https://chromium-review.googlesource.com/c/1371201
Reviewed-by: Nasko Oskov <nasko@chromium.org>
Cr-Commit-Position: refs/branch-heads/3626@{#249}
Cr-Branched-From: d897fb137fbaaa9355c0c93124cc048824eb1e65-refs/heads/master@{#612437}
[modify] https://crrev.com/4b19c2bc3201067ed352d0b09d341259015220cc/chrome/browser/chrome_navigation_browsertest.cc
[modify] https://crrev.com/4b19c2bc3201067ed352d0b09d341259015220cc/content/browser/web_contents/web_contents_impl.cc

Status: Fixed (was: Started)
Labels: Merge-Merged-72-3626
The following revision refers to this bug: 
https://chromium.googlesource.com/chromium/src.git/+/4b19c2bc3201067ed352d0b09d341259015220cc

Commit: 4b19c2bc3201067ed352d0b09d341259015220cc
Author: nasko@chromium.org
Commiter: nasko@chromium.org
Date: 2018-12-11 02:45:57 +0000 UTC

[M72 merge] Focus newly opened window when noopener is specified.

When r601148 was committed, the codepath for window.open() and link
clicks that result in a new window with 'noopener' attribute was changed
to avoid going to the embedder with OpenURL. The result was that the
newly created window was no longer focused, which was done previously
as a side effect of OpenURL calling chrome::Navigate.

This CL adds focusing in the changed codepath to restore this behavior.

Bug:  912348 ,  912712 
Change-Id: Ia4f5b58a71cbe86bc28b434c0b0501b156c64bc1
Reviewed-on: https://chromium-review.googlesource.com/c/1367164
Reviewed-by: Aaron Leventhal <aleventhal@chromium.org>
Reviewed-by: Alex Moshchuk <alexmos@chromium.org>
Commit-Queue: Nasko Oskov <nasko@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#614847}
Reviewed-on: https://chromium-review.googlesource.com/c/1371201
Reviewed-by: Nasko Oskov <nasko@chromium.org>
Cr-Commit-Position: refs/branch-heads/3626@{#249}
Cr-Branched-From: d897fb137fbaaa9355c0c93124cc048824eb1e65-refs/heads/master@{#612437}

Sign in to add a comment