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)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: dsirnapalli, Assigned: Louie.Zhao)
Details
Attachments
(1 file)
667 bytes,
patch
|
yuanyi21
:
review+
jst
:
superreview+
|
Details | Diff | Splinter Review |
<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 1•23 years ago
|
||
Comment on attachment 88505 [details] [diff] [review]
As usual, using the Click() method fixes things
r=kyle
Attachment #88505 -
Flags: review+
Comment 3•23 years ago
|
||
Comment on attachment 88505 [details] [diff] [review]
As usual, using the Click() method fixes things
sr=jst
Attachment #88505 -
Flags: superreview+
Reporter | ||
Comment 5•22 years ago
|
||
Aaron, I verified this in the latest trunk build and looks like its not fixed.
can you please check this once.
Comment 6•22 years ago
|
||
Reopening, since I don't have time to look at it now.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 7•22 years ago
|
||
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.
Reporter | ||
Comment 10•22 years ago
|
||
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.
Comment 11•22 years ago
|
||
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.
Comment 12•22 years ago
|
||
What does MSAA do for Windows tabs?
Updated•20 years ago
|
Status: NEW → RESOLVED
Closed: 23 years ago → 20 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•