Closed Bug 254624 Opened 20 years ago Closed 16 years ago

XUL <menulist> items don't correctly implement AtkSelection

Categories

(Core :: Disability Access APIs, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: pkwarren, Assigned: Louie.Zhao)

Details

XUL <menulist> currently are represented by the accessible object
nsXULComboboxAccessible, which inherits from nsXULSelectableAccessible. However,
they are not properly exposing the right information to ATK about the selection.

To reproduce:
1) Start Mozilla with accessibility enabled. Go to Edit->Preferences, and then
select the Navigator->Languages panel in preferences.
2) Start at-poke, and 'poke' Mozilla.
3) Find the "Default Character Encoding:" combo box in at-poke, and look at the
"Selection" panel on the bottom right in at-poke. Note that there are only 3
selectable items, and they are the text of the currently selected item, the
button in the menu list, and the list itself. This is not correct - the
selectable items should be the list items of the <menulist> (the grandchildren
of the <menulist> node, instead of its children).
Assignee: aaronleventhal → Louie.Zhao
Now <menulist> doesn't implement nsISelectableAccessible interface but its <menupopup> child.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.