Closed Bug 151910 Opened 23 years ago Closed 23 years ago

nsIAccessible's accName returning wrong value for XUL Menubar node

Categories

(Core :: Disability Access APIs, defect)

x86
Windows 2000
defect
Not set
minor

Tracking

()

VERIFIED INVALID

People

(Reporter: dsirnapalli, Assigned: aaronlev)

Details

<toolbox flex="1"> <menubar id="sample-menubar"> <menu id="file-menu" label="File"> <menupopup id="file-popup"> <menuitem label="New"/> <menuitem label="Open"/> <menuitem label="Save"/> <menuseparator/> <menuitem label="Exit"/> </menupopup> </menu> <menu id="edit-menu" label="Edit"> <menupopup id="edit-popup"> <menuitem label="Undo"/> <menuitem label="Redo"/> </menupopup> </menu> </menubar> </toolbox> Copy the above code into xul file and open it in mozilla. open Inspect tool and click on "Show highlight rectangle". Then move the mouse over on the toolbar. Watch "name" in the Inspect. You see it shows "menubar" for name. I dont know where it picked up this name from. Any body have an idea.
The menu bar name does not matter - no one uses it. Other applications use the constant string "Application" but I found that it doesn't matter.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
-- Marking bug as verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.