Closed Bug 109227 Opened 23 years ago Closed 23 years ago

Active Accessibility: support <tabbox>

Categories

(SeaMonkey :: General, defect, P1)

x86
Windows 2000
defect

Tracking

(Not tracked)

RESOLVED FIXED
mozilla0.9.8

People

(Reporter: aaronlev, Assigned: mozilla)

References

Details

(Keywords: access)

Attachments

(1 file, 1 obsolete file)

We should support it using: ROLE_PAGETABLIST, ROLE_PAGETAB and ROLE_PROPERTYPAGE.
Keywords: access
Blocks: 82207
Status: NEW → ASSIGNED
Keywords: fcc508
Priority: -- → P1
Target Milestone: --- → mozilla0.9.8
Attached patch tabbox support (obsolete) (deleted) — Splinter Review
Spelling error: tabbroswer/editor Indentation error in nsXULTabAccessible::GetAccName oops? ... +NS_IMETHODIMP nsXULTabPanelsAccessible::GetAccName(nsAWritableString& _retval) +{ + return NS_OK; +} +NS_IMETHODIMP nsXULTabPanelAccessible::GetAccName(nsAWritableString& _retval) +{ + return NS_OK; +} + +/** focused, focusable, unavailable */ +NS_IMETHODIMP nsXULTabPanelAccessible::GetAccState(PRUint32 *_retval) +{ + return NS_OK; +} + If you want empty names, return NS_ERROR_NOT_IMPLEMENTED; If you want an empty state, make sure to set it with *_retval = 0; Remove printf(" - just got the tabPanels' mDOMNode"); Make sure this thing doesn't leak. When you set mDOMNode like that, which is a protected data member from above in the inheritence chain, it can cause a leak. I found that out once when I was trying to explictly set mParent in a similar manner. Fix extra semicolon return NS_OK;; Get rid of printf("creating nsXULTabBoxAccessible *********\n"); Why do you need +NS_IMETHODIMP nsXULTabBoxAccessible::GetAccChildCount(PRInt32 *_retval) +{ + *_retval = 2; + return NS_OK; +} I see that you originally planned on overriding GetFirstChild and GetLastChild. You still have those method declarations commented out in the .h file
Attached patch aaron's fixes (deleted) — Splinter Review
I hardcoded the children because those are the only two and I was creating them by hand for awhile. But I'm leaving it in because it doesn't make any sense to thrash around the tree walker to find out there are only 2 kids if we know that in advance.
Attachment #60839 - Attachment is obsolete: true
Whiteboard: needs re-review and sr
Target Milestone: mozilla0.9.8 → mozilla0.9.7
Comment on attachment 61342 [details] [diff] [review] aaron's fixes r=aaronl
Attachment #61342 - Flags: review+
Target Milestone: mozilla0.9.7 → mozilla0.9.8
Whiteboard: needs re-review and sr → needs sr
Comment on attachment 61342 [details] [diff] [review] aaron's fixes sr=hewitt
Attachment #61342 - Flags: superreview+
Whiteboard: needs sr → ready
checked in yesterday
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Whiteboard: ready
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: