New issue
Advanced search Search tips

Issue 895853 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Jan 12
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug
Team-Accessibility



Sign in to add a comment

[Orca] Fire focus event for focused element after window activation

Project Member Reported by joanmari...@gmail.com, Oct 16

Issue description

Steps to reproduce:
1. Launch Accerciser and monitor object:state-changed events
2. Launch Chromium and view any page with a link
3. Tab to give a link on the page focus
4. Alt+Tab out of the Chromium
5. Altl+Tab back into Chromium

Desired result: A state-changed:focused event would be emitted for the element with focus.

Actual result: A state-changed:focused event is not emitted for the element with focus

Impact: Orca should present the focused element when the window becomes active so that the user knows what he/she is on. This could be achieved either by having Chromium fire a focus event after window activation, or by having Orca drill down the accessibility tree looking for the element with focus. The latter is, of course, possible; the former would be more performant -- assuming Chromium knows what the focused element is upon window activation.

 
Project Member

Comment 1 by bugdroid1@chromium.org, Jan 12

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

commit a4abe650ff1aa9c3be4fb89863ab8339c919e03d
Author: Martin Robinson <mrobinson@igalia.com>
Date: Sat Jan 12 15:08:56 2019

Re-Emit an ATK focus event for focused children when toplevel is reactivated

When a toplevel window is reactivated, we want any focused children to
re-emit a focus event so that the screen reader knows what the currently
focused element is.

Change-Id: Id436bd7492ddd2610cb17c0e4c5f16c8eb4c3704
Bug:  895853 
Reviewed-on: https://chromium-review.googlesource.com/c/1288413
Commit-Queue: Martin Robinson <mrobinson@igalia.com>
Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#622312}
[modify] https://crrev.com/a4abe650ff1aa9c3be4fb89863ab8339c919e03d/ui/accessibility/platform/ax_platform_node_auralinux.cc
[modify] https://crrev.com/a4abe650ff1aa9c3be4fb89863ab8339c919e03d/ui/accessibility/platform/ax_platform_node_auralinux_unittest.cc

Owner: joanmari...@gmail.com
Status: Fixed (was: Untriaged)
Status: Verified (was: Fixed)
Verifying. I just removed the hack I had in Orca for the missing event. :)

Thanks!!

Sign in to add a comment