Hi Pete[r],

Yes calculating 'reverse' relations is very expensive in gecko too. For example, walking the DOM looking for:

RELATION_CONTROLLED_BY
RELATION_DESCRIPTION_FOR
RELATION_FLOW_FROM
RELATION_LABEL_FOR
RELATION_NODE_CHILD_OF

Because there might be a node "out there" somewhere that cares about the element we are currently interested in. The cost becomes that much more user saddening when the dom is highly mutating, and we want the state of things (like relations) to be up to date when we fire events (based on dom mutation).

I'm looking at ways to mitigate this computation.

cheers,
David

On 12/09/09 5:16 PM, Peter Korn wrote:
Pete,

Is this not something we can do with AccessibleState (sorry, I always fall back to Java-style naming)? Maintaining relations can be fairly expensive for the application (I'm recalling conversations with OpenOffice.org engineers here). It does require the AT to walk the UI tree once to determine which UI components it might want to monitor even when they don't have focus, but that doesn't seem too onerous to me. Also, how much of this kind of monitoring will happen in the absence of scripting on the part of the AT?

Regards,

Peter Korn
Accessibility Architect & Principal Engineer,
Sun Microsystems, Inc.

> We fire IA2_EVENT_TEXT_INSERTED

Thanks David,

What is the best way to genericize the handling of non-focused areas that need to be paid attention to? Perhaps we need IA2_RELATION_LIVE_REGIONS_OF on the top level window and IA2_RELATION_LIVE_REGION_FOR for the components that update out of focus and should be responded to? Will the "live region" components need any object attributes like indicating that they are live regions and states indicating the priority level of the region? Perhaps the object attribute isn't needed and would be redundant information if the state exists.

What other ideas do you have?
---
Pete Brunet wrote:
What means can be used to respond to changes in a chat log? Would IA2_EVENT_TEXT_UPDATED be used? For MSAA controls would EVENT_OBJECT_VALUECHANGE be used?
--
*Pete Brunet*
a11ysoft - Accessibility Architecture and Development
(512) 238-6967 (work), (512) 689-4155 (cell)
Skype: pete.brunet
IM: ptbrunet (AOL, Google), [email protected] (MSN)
http://www.a11ysoft.com/about/
Ionosphere: WS4G
------------------------------------------------------------------------

_______________________________________________
Accessibility-ia2 mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2


------------------------------------------------------------------------

_______________________________________________
Accessibility-ia2 mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2

_______________________________________________
Accessibility-ia2 mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2

Reply via email to