Closed Bug 762934 Opened 9 years ago Closed 8 years ago
_EVENT _TEXT _SELECTION _CHANGED event produces incorrect results when several text objects are selected
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0 Build ID: 20120531155942 Steps to reproduce: select several text objects Actual results: The problem is that Firefox reports that only one(first) text object is selected while we have several selected objects on the screen. I`m not sure if we can reproduce it with the AccProbe. Expected results: Multiple selected objects should be reported
(In reply to Jost Eckhardt, Ai Squared from comment #0) > Steps to reproduce: > > select several text objects do you mean single selection like <p>text |<a>anchor</a><img>|</p> or multiple selections through the document like |<p>this is selected paragraph</p>| <p> this is not selected</p> |<p> this one is selected again</p>| where | | denotes start and end of the selection
Component: Untriaged → Event Handling
Product: Firefox → Core
QA Contact: untriaged → events
Component: Event Handling → Disability Access APIs
QA Contact: events → accessibility-apis
Single selection of multiple objects |<p>selected paragraph 1</p> <p>selected paragraph 2</p> <p>selected paragraph 3</p>| IA2 will return only selected paragraph 1
what accessible do you get the selection from?
Alexander, we process IA2_EVENT_TEXT_SELECTION_CHANGED events in the following way: 1)Use AccessibleObjectFromEvent function to get an accessible object associated with the event (on the WinEventProc side); 2)Query accessible object for IAccessibleText interface (through IAccessible2 interface); 3)Get selection information using IAccessibleText::nSelections and IAccessibleText::selection.
Got it, thanks.
Status: UNCONFIRMED → NEW
Ever confirmed: true
ашчув ин игп 928504
Assignee: nobody → surkov.alexander
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.