Open Bug 1049336 Opened 10 years ago Updated 2 years ago

Accesskey attribute doesn't take effect if a <toolbarbutton> has type="menu-button"

Categories

(Toolkit :: UI Widgets, defect)

32 Branch
x86_64
Windows 7
defect

Tracking

()

UNCONFIRMED

People

(Reporter: danny0838, Unassigned)

References

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36 Steps to reproduce: Make an xul just as the demo in the documentation page: https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XUL/toolbarbutton <toolbar id="test-toolbar"> <toolbarbutton accesskey="b" label="Menu-button" type="menu-button"> <menupopup> <menuitem label="Menu item 1"/> <menuitem label="Menu item 2"/> </menupopup> </toolbarbutton> </toolbar> Actual results: Press the defined accesskey Alt+b and nothing happen. Expected results: The accesskey should work as the demo says.
Component: Untriaged → XUL Widgets
Product: Firefox → Toolkit
Can you easily check if this works for type="menu" rather than type="menu-button" ?
Flags: needinfo?(danny0838+bz)
I made a test plugin and here is the steps to reproduce: 1. Platform: Firefox 32.0 / Windows 7 SP 1 2. Install the test plugin xul-tester.xul and restart Firefox. 3. Head chrome://xultester/content/tester.xul 4. Press Alt+Shift+[accesskey]. It the command is fired we get an alert message. Ths result is that only type="menu-button" cannot get the command run.
Flags: needinfo?(danny0838+bz)
Depends on: 653226
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: