Re: [orca-list] Live regions and XUL?
- From: Willie Walker <William Walker Sun COM>
- To: Willie Walker <William Walker Sun COM>
- Cc: Milan Zamazal <pdm brailcom org>, orca-list gnome org
- Subject: Re: [orca-list] Live regions and XUL?
- Date: Tue, 02 Sep 2008 17:57:44 -0400
Hi Milan:
What I've discovered is that the text insertion events being delivered
do not have the ":system" string appended, so we are ignoring them. If
I make the change attached to this message, I can make your test case
speak, but I think I'd need to reread the ARIA specs and the Orca live
region code to see if it is the right thing to do or not. If you have
time to do this, it would be awesome.
Will
Willie Walker wrote:
Hi Milan:
I looked at this quickly, and a bit at the Orca
scripts/toolkits/Gecko/script.py:handleAsLiveRegion code. We might be
running into a situation where Orca was designed to work with ARIA
toolkits (e.g., Dojo) and we didn't have a chance to work with other
things that inject ARIA attributes in the hierarchy.
I'll see if I can chase it down more,
Will
Milan Zamazal wrote:
"WW" == Willie Walker <William Walker Sun COM> writes:
WW> 1) Run accerciser and monitor all the events from Firefox to see
WW> what happens when you perform the user action above.
It seems events are emitted for both HTML and XUL. Here are Accerciser
logs from HTML (several presses of Enter key chaning live region text)
and XUL (timer changing the live region context):
------------------------------------------------------------------------
My testing HTML page is here:
------------------------------------------------------------------------
Orca live region test
press me
original text
------------------------------------------------------------------------
WW> 2) Enable full debugging in Orca
WW> (http://live.gnome.org/Orca/Debugging) and see what events it is
WW> getting when you perform the user action above.
Here is Orca debug output for the HTML test:
------------------------------------------------------------------------
The logs are from gnome-orca 2.23.90. The same behavior happens with
svn trunk.
Regards,
Milan Zamazal
Index: src/orca/scripts/toolkits/Gecko/script.py
===================================================================
--- src/orca/scripts/toolkits/Gecko/script.py (revision 4146)
+++ src/orca/scripts/toolkits/Gecko/script.py (working copy)
@@ -2776,6 +2776,9 @@
if 'xml-roles' in attrs:
return False
else: # object:text-inserted events
+ attrs = event.source.getAttributes()
+ if 'container-live:assertive' in attrs:
+ return True
return False
# This last filter gets rid of some events that come in after
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]