Closed Bug 394260 Opened 17 years ago Closed 17 years ago

text-changed and state-changed events missing when an object is hidden

Categories

(Core :: Disability Access APIs, defect)

x86
Linux
defect
Not set
major

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jdiggs, Assigned: jdiggs)

References

(Blocks 2 open bugs, )

Details

(Keywords: access)

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.

At this point a couple of things happen to the "phone" link:

1. The accessible text associated with the "phone" link is removed as evidenced by text.characterCount == 0 and text.getText(0, -1) == ""

2. The states change.  In particular the following states are removed:  FOCUSABLE, SHOWING, SENSITIVE, VISIBLE, (also HORIZONTAL and OPAQUE but these are not as significant).

There are no text-changed:delete events or state-changed events to announce these changes in the phone link.
I think you're holding onto an old link object that is no longer there. Is there no children-changed event saying that it goes away? Is it now DEFUNCT?

I think a new text object is being created in its place. Not sure yet what the JS is doing though.
Nevermind, you're right.
Blocks: texta11y
Joanie,

I don't know where the "phone" links/buttons are.

Can you give me a screenshot or something?
Depends on: fox3access
Blocks: fox3access
No longer depends on: fox3access
Oh shoot, they changed that site.  That will teach me not to generate a test document. :-(  Let me see if I can come up with something similar.
Yes, I can't work on this until we have a new testcase.
Severity: normal → major
Whiteboard: orca:urgent
Assigning to me.  I'll learn javascript. ;-)  Sorry for the delay.
Status: NEW → ASSIGNED
Assignee: aaronleventhal → joanmarie.diggs
Status: ASSIGNED → NEW
If it's too hard to find a new real example on the web, then perhaps this shouldn't be considered urgent anyway?
Please re-block fox3access and re-add "orca:urgent" if a new real-world test case becomes available.
No longer blocks: fox3access
Whiteboard: orca:urgent
Why don't we just close it and re-open should that occur?

I've been trying to reproduce it via javascript and haven't figured out the magic that caused events to be missing.
Since no one has objected.... :-)

Closing as WORKSFORME since all attempts at producing a test case resulted in the correct events being generated.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.