Closed Bug 302678 Opened 19 years ago Closed 19 years ago

Bad initial focus in download/extension/theme managers if list is empty

Categories

(Firefox :: Bookmarks & History, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: aaronlev, Assigned: aaronlev)

Details

(Keywords: access)

Attachments

(1 file)

If the dowload, extension or theme manager is opened and there is an empty list,
the accessibility APIs fire a focus event for the window itself, rather than a
control within it.

At that point focus should be on the list itself.
Attachment #191247 - Flags: superreview?(neil.parkwaycc.co.uk)
Attachment #191247 - Flags: review?(neil.parkwaycc.co.uk)
Comment on attachment 191247 [details] [diff] [review]
1) Create accessible for node that gets focus, not anon scrollbox, 2) Remove redundant code from nsXULListboxAccessible -- we already handle STATE_FOCUSABLE in nsAccessible::GetState()

Looks ok but I'd appreciate if you could lumber some other peer with the job of
verifying that you don't break anything.
Attachment #191247 - Flags: superreview?(neil.parkwaycc.co.uk) → superreview+
Attachment #191247 - Flags: review?(neil.parkwaycc.co.uk) → review?(parente)
Attachment #191247 - Flags: review?(parente) → review+
Attachment #191247 - Flags: approval1.8b4?
Attachment #191247 - Flags: approval1.8b4? → approval1.8b4+
Checking in toolkit/content/widgets/richlistbox.xml;
/cvsroot/mozilla/toolkit/content/widgets/richlistbox.xml,v  <--  richlistbox.xml
new revision: 1.13; previous revision: 1.12
done
Checking in accessible/src/xul/nsXULSelectAccessible.cpp;
/cvsroot/mozilla/accessible/src/xul/nsXULSelectAccessible.cpp,v  <-- 
nsXULSelectAccessible.cpp
new revision: 1.27; previous revision: 1.26
done
Checking in accessible/src/xul/nsXULSelectAccessible.h;
/cvsroot/mozilla/accessible/src/xul/nsXULSelectAccessible.h,v  <-- 
nsXULSelectAccessible.h
new revision: 1.22; previous revision: 1.21
done
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: