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
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.
ашчув ин игп 928504