Closed Bug 392203 Opened 17 years ago Closed 17 years ago

text-changed events are missing when text is added to a document or entry

Categories

(Core :: Disability Access APIs, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 388930

People

(Reporter: jdiggs, Assigned: aaronlev)

References

(Blocks 2 open bugs, )

Details

(Keywords: access, regression)

Steps to reproduce:

1. Search for a business at 411.com (e.g. Dominos Pizza in Huntsville, Alabama).

2.  Launch Accerciser and turn event monitoring on.

3.  On the search results page, click on one of the "phone" links/buttons to show the phone number.

Expected results:  When the phone number gets added, a text-changed:insert event would be issued.

Actual results: A text-changed:insert event is not issued.
Joanie, do you see a children_changed:add event? (I'd check but my build is taking a while).
I've updated the summary.  It looks like we're not getting text-changed:insert in forms.  Try typing a search term in Google or adding a comment in Bugzilla.  

Scott Haeger pointed out via IRC that he is still getting these events for live regions, for example:
http://accessibleajax.clcworld.net/simple/live_polite.htm
Summary: text-changed events are missing when text is added to a document via javascript → text-changed events are missing when text is added to a document or entry
Blocks: aria
Flags: blocking1.9?
Keywords: regression
(In reply to comment #1)
> Joanie, do you see a children_changed:add event? (I'd check but my build is
> taking a while).

Forgot to address this.  No, but we're not getting a new child.  Just text added to an existing section. 

No longer blocks: aria
Keywords: regression
Another note:  Live region related text-changed:insert events are being triggered from hidden tabs.  To reproduce, open http://accessibleajax.clcworld.net/simple/live_polite.htm in multiple tabs.  Either observe the text associated with the events or the increased number of events as you open more test pages in different tabs.
Blocks: aria
This regression was caused by bug 388930.
Keywords: regression
(In reply to comment #5)
> This regression was caused by bug 388930.
> 

Is it because nsIAccessibleHyperText can't be queried, right?
Thanks, Aaron.
Patch is in bug 388930.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
I found that the fix to bug 388930 does not fix the insertion of the phone number on 411.com as described in this bug. Entering text into text fields or text areas and reviewing it, however, works since August 18, 2007. This appears to be a different issue after all.
Marco, that part is most likely the same bug 391846. That's where an entire node of text is shown all at once.
Flags: blocking1.9?
You need to log in before you can comment on or make changes to this bug.