Closed Bug 119312 Opened 23 years ago Closed 23 years ago

Active Accessibility: GetAccFocused() broken

Categories

(SeaMonkey :: General, defect, P4)

x86
Windows 2000
defect

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.8

People

(Reporter: aaronlev, Assigned: aaronlev)

Details

(Keywords: access, Whiteboard: looking for r=, sr=)

Attachments

(1 file, 1 obsolete file)

I noticed this while looking in the code the other day, we were using the old
method of QI'ing a frame to an accessible.
Status: NEW → ASSIGNED
Keywords: access, fcc508
Priority: -- → P4
Whiteboard: looking for r=, sr=
Target Milestone: --- → mozilla0.9.8
Attached patch Tested -- works (obsolete) — Splinter Review
Hey, this looks good to me, but you've gotta start putting an explanation of
what is going on in the patches in your bugs.

Plus, is the last bit just some holdover from the bug fixing the tooltip text
problems from the other bug?
GetAccFocused returns an accessible for the currently focused node. This fixes
the part of GetAccFocused that turns the node into an accessible.

In the old, old days of MSAA support, we used to QI nsIFrame to an
nsIAccessible. This was thought to be acceptable. These days, that QI always
fails. 

The new way is to use the GetAccessibleFor method, which takes a content node
and returns an nsIAccessible.
Attachment #64358 - Attachment is obsolete: true
Comment on attachment 64443 [details] [diff] [review]
New patch with irrelevant parts removed

r=jgaunt
Attachment #64443 - Flags: review+
Comment on attachment 64443 [details] [diff] [review]
New patch with irrelevant parts removed

seems quite reasonable, and cleaner too :)
sr=alecf
Attachment #64443 - Flags: superreview+
checked in
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
-- Tested GetAccFocused()for Html elements Link, Button, Checkbox, Radio 
Button, Select Combobox and Text Area. It works fine on all these html 
elements. Marking the bug as verified.
Status: RESOLVED → VERIFIED
QA Contact: doronr → dsirnapalli
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: