Closed Bug 153193 Opened 23 years ago Closed 20 years ago

nsIAccessible accDoAction doesnot work for tabbox's tab node.

Categories

(Core :: Disability Access APIs, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: dsirnapalli, Assigned: Louie.Zhao)

Details

Attachments

(1 file)

<box orient="vertical" flex="1"> <description> <html:b> Testing XUL Tabbox's Tab for Accessibility.. </html:b> </description> <box oreint="horizontal"> <tabbox> <tabs> <tab label="Mail"/> <tab label="News" onclick="alert('hi');"/> </tabs> <tabpanels> <tabpanel id="mailtab"> <checkbox label="Automatically check for mail"/> </tabpanel> <tabpanel id="newstab"> <button label="Clear News Buffer"/> </tabpanel> </tabpanels> </tabbox> <spacer flex="1"/> </box> </box> Enter the above code in xul file and open it in mozilla. Open Inspect tool and click on button "Show Hightlight Rectagle" and click the cursor on "Mail" tab. Watch the inspect tool Name shows "Mail" which is correct Role shows "page tab" which is correct Default Actions shows "Switch" which is correct. Now click on button "Do Default Action" in Inspect tool. Since the default action is "Switch" it should switch the tab. But its not doing that.
Comment on attachment 88505 [details] [diff] [review] As usual, using the Click() method fixes things r=kyle
Attachment #88505 - Flags: review+
Comment on attachment 88505 [details] [diff] [review] As usual, using the Click() method fixes things sr=jst
Attachment #88505 - Flags: superreview+
fixed
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Aaron, I verified this in the latest trunk build and looks like its not fixed. can you please check this once.
Reopening, since I don't have time to look at it now.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Can someone from Sun take a look at this?
Simford, could you take a look when you have time?
Assignee: aaronl → Simford.Dong
Status: REOPENED → NEW
Hi Dharma, What is the expected result? The default action is "switch to _current_ tab". So when you firstly clicked on Mail tab and clicked on "Do Default Action", it will not change to News tab but just remained what it was.
Hi Simford, Default Action is "Switch".So i was thinking when you click on "Do Default Action" button it should change all the values like name, role, state, value to that of "News". Also i think the tab should change to "News" physically. I was thinking only when the tab changes physically to "News" tab then the values will change.
Dharma, the default action of a tab is supposed to "select this tab" rather than "switch the selection to the next tab". Thinking about the radio button, you are unable to act an action on a selected radio to give the selection to the next radio, right? We should change the action name, not its behavior.
What does MSAA do for Windows tabs?
is this bug still valid?
Assignee: Simford.Dong → Louie.Zhao
Status: NEW → RESOLVED
Closed: 23 years ago20 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: