Closed Bug 146499 Opened 24 years ago Closed 24 years ago

nsIAccessible's accDoAction does not work for XUL Check Box Node

Categories

(Core :: Disability Access APIs, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: dsirnapalli, Assigned: yuanyi21)

Details

Attachments

(2 files)

-- Similar bug was filed before for html elements and got fixed. Bug#127724 -- Test case attached. -- I wrote onClick event on checkbox. domNode.addEventListener('click', nodeUnChecked,true); When we call accDoAction on XUL Checkbox node it does check the checkbox but the event is not fired. i put some alert statements in nodeUnChecked() function. they dont get fired when the click happens through accDoAction. But when you click on the checkbox manually you can see that alert. i put some alert statement in the test case. first alert which come up is the role of the checkbox(which is 44), next is no: of actions(which is 1), action name (uncheck). after that you can see the checkbox getting unchecked, but the alert you see is "NodeClick:Checkbox Checked". it should show "NodeClick:Checkbox Unchecked".
same problem as bug 146315.
Assignee: aaronl → kyle.yuan
need r=
aaron, this similar path needs your r= too.
Comment on attachment 84852 [details] [diff] [review] replace GetChecked/SetChecked with Click r=aaronl
Attachment #84852 - Flags: review+
Comment on attachment 84852 [details] [diff] [review] replace GetChecked/SetChecked with Click sr=jst
Attachment #84852 - Flags: superreview+
checked in.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
-- Verified the bug in today's trunk build. Works fine. Marking bug as verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: