New issue
Advanced search Search tips

Issue 628912 link

Starred by 5 users

Issue metadata

Status: Verified
Owner:
Closed: Oct 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug
Team-Accessibility



Sign in to add a comment

Loss of focus when switching windows

Reported by nimerjaber1@gmail.com, Jul 17 2016

Issue description

Mode: force_next
Version: 54.0.2796.4
Reproduction Steps: 
1. Launch CVox Next and navigate to any web page, for this example we can use https://en.wikipedia.org/wiki/Safety_glass
2. CVox+R and allow it to read a ways. Then, Press Control to stop speech
3. Alt+Tab and give focus to another running application. Alt+tab back to the web page you were just reading.
Expected: Pressing CVox+R will pick up reading where a user left off.
Actual: The focus is placed at the top of the web page, or at another link on the web page, and not where the user paused reading.
 
Labels: phase4
Owner: dtseng@chromium.org
Status: Assigned (was: Unconfirmed)
I believe this should be upgraded if at all possible. This is frustrating when switching windows, for example to the hangouts app, and navigating back only to lose my place in the document. CVox sometimes tries to focus on the nearest link to what I just read, but this is not even always the case.

Comment 3 by chaok@google.com, Oct 3 2016

Labels: -Pri-2 -phase4 Phase3 Pri-1
Repros in: 55.0.2878.0
Project Member

Comment 4 by bugdroid1@chromium.org, Oct 12 2016

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

commit 7a99c7d3e7dc2ca71bbaa127099239355a41fd37
Author: dtseng <dtseng@chromium.org>
Date: Wed Oct 12 00:20:23 2016

Recovery: Implement focus recovery across root AutomationNodes

This cl maintains a WeakMap of AutomationRootNode objects to the last known node that had ChromeVox range.

This map gets updated manually when marked or implicitly when focus crosses top level root nodes.

TEST=manual; open context menu, open panel, activate menus that manipulate focus, press escape; ctrl+tab, alt+tab. Verify focus lands as expected.
BUG= 631918 , 628912 , 624586 , 605377 , 524673 , 652143 
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

Review-Url: https://codereview.chromium.org/2412433004
Cr-Commit-Position: refs/heads/master@{#424612}

[modify] https://crrev.com/7a99c7d3e7dc2ca71bbaa127099239355a41fd37/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js
[modify] https://crrev.com/7a99c7d3e7dc2ca71bbaa127099239355a41fd37/chrome/browser/resources/chromeos/chromevox/cvox2/background/command_handler.js
[modify] https://crrev.com/7a99c7d3e7dc2ca71bbaa127099239355a41fd37/chrome/browser/resources/chromeos/chromevox/cvox2/background/desktop_automation_handler.js
[modify] https://crrev.com/7a99c7d3e7dc2ca71bbaa127099239355a41fd37/chrome/browser/resources/chromeos/chromevox/cvox2/background/i_search.js
[modify] https://crrev.com/7a99c7d3e7dc2ca71bbaa127099239355a41fd37/chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.js

Comment 5 by dtseng@chromium.org, Oct 12 2016

Status: Fixed (was: Assigned)

Comment 6 by chaok@google.com, Oct 15 2016

Status: Verified (was: Fixed)
Fixed in: 56.0.2890.0

Sign in to add a comment