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

Issue 789176 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Dec 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 1
Type: Bug
Team-Accessibility



Sign in to add a comment

Calling the Win API function AccessibleObjectFromEvent should allow you to retrieve the caret object

Project Member Reported by nek...@chromium.org, Nov 28 2017

Issue description

Currently calling AccessibleObjectFromWindow(hwnd, OBJID_CARET, ...) retrieves the caret object.
We need to also support AccessibleObjectFromEvent(hwnd, OBJID_CARET, ...) in response to EVENT_OBJECT_LOCATIONCHANGE that is fired when the caret moves, so that assistive software can retrieve the caret object from the event itself.

 
Summary: Calling the Win API function AccessibleObjectFromEvent should allow you to retrieve the caret object (was: Calling the Win API function AccessibleObjectFromWindow should allow you to retrieve the caret object)
Project Member

Comment 2 by bugdroid1@chromium.org, Dec 1 2017

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

commit ca6969eeeb517401b6483960a244777c77634682
Author: Nektarios Paisios <nektar@chromium.org>
Date: Fri Dec 01 23:19:27 2017

Enables AccessibleObjectFromEvent to retrieve the system caret

Each AXPlatformNodeWin, including the accessibility system caret, is assigned a unique ID on construction. Mistakenly, I was assigning a new ID instead of using the existing one when constructing the AXSystemCaretWin object which meant that all events were sent having the wrong object ID.
R=dmazzoni@chromium.org, aleventhal@chromium.org

Bug:  789176 
Change-Id: I15681365ad0e461cf29789df9a4f69301e3e6104
Reviewed-on: https://chromium-review.googlesource.com/803858
Reviewed-by: Nektarios Paisios <nektar@chromium.org>
Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org>
Commit-Queue: Dominic Mazzoni <dmazzoni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#521109}
[modify] https://crrev.com/ca6969eeeb517401b6483960a244777c77634682/ui/accessibility/platform/ax_system_caret_win.cc

Status: Fixed (was: Started)

Sign in to add a comment