Closed Bug 806282 Opened 13 years ago Closed 13 years ago

SPACE and RETURN should open the popup in type="menu-button" buttons

Categories

(Toolkit :: UI Widgets, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla21

People

(Reporter: ravi.ranjan, Assigned: dao)

References

(Blocks 1 open bug)

Details

(Keywords: access)

Attachments

(3 files)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20100101 Firefox/16.0 Build ID: 20121010144125 Steps to reproduce: Tried installing a plugin in the Firefox. Actual results: An alert is popped by Firefox indicating "Firefox prevented this site...". Pressing Enter or Space keys does not bring the menu under "Allow" button on the panel. Expected results: Pressing Enter or Space should bring the menu in the "Allow" button.
Depends on: jaws
Summary: New Plugin install Alert Allow button → Accessibility - New Plugin install Alert Allow button
After tabbing to the drop-down part of the button, you need to press Alt+Down.
I think they mean standard keyboard shortcuts should work on that button, for example, these are expected shortcuts on windows http://support.microsoft.com/kb/126449 SPACEBAR: If the current control is a button, this clicks the button. ENTER: Equivalent to clicking the selected button (the button with the outline)
Component: Untriaged → XUL Widgets
Product: Firefox → Toolkit
Whiteboard: dupeme
That is right,standard keyboard shortcuts like spacebar does not work.
Can we get a progress on this please? It's needed by our partners.
Blocks: jaws
No longer depends on: jaws
Blocks: 767842
Keywords: access
OS: Windows 7 → All
Hardware: x86_64 → All
Summary: Accessibility - New Plugin install Alert Allow button → SPACE and RETURN should open the popup in type="menu-button" buttons
Whiteboard: dupeme
Version: 16 Branch → Trunk
Attached patch patchSplinter Review
Assignee: nobody → dao
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #694299 - Flags: review?(enndeakin)
Why should space and return open the menu, and not one or the other invoke the command?
(In reply to Neil Deakin from comment #6) > Why should space and return open the menu, and not one or the other invoke > the command? what is default action of the button (i.e. what happens when you click it)? Where can I try it? Just in case, isn't it same issue as bug 653226?
(In reply to Neil Deakin from comment #6) > Why should space and return open the menu, and not one or the other invoke > the command? They invoke the command when the inner button is focused. Right now they do nothing when the dropdown button is focused; that's what this bug is about.
Enn, is anything still unclear here?
This screenshot shows the menu when user selects using pointer/mouse. However, when the focus on down arrow button and user selects/presses spacebar/enter, the dropdown does not come up.
I'm unclear why space and return should open the menu. The link in comment 2 doesn't say this at all.
(In reply to Neil Deakin from comment #11) > I'm unclear why space and return should open the menu. The link in comment 2 > doesn't say this at all. Because it's the dropdown button that's focused. See attachment 696683 [details]. It's not clear to me why you think it might be reasonable for space or return to invoke the command here.
OK, I see what you're referring to. You're implying that the dropmarker is focused when it's actually the outer button that is focused. But that's not how menubuttons should behave and there shouldn't even be two buttons. (I attempted to fix this in bug 653226). On Windows at least they should work the same as split buttons. Or maybe you're referring to the myriad (and broken) workaround menu-buttons that have been implemented for firefox, in this case probably the one in the install popup which looks different than a default menu-button. I don't think we should be adding any more behaviour to menu-buttons unless they are actually being properly fixed.
(In reply to Neil Deakin from comment #13) > OK, I see what you're referring to. You're implying that the dropmarker is > focused when it's actually the outer button that is focused. But that's not > how menubuttons should behave and there shouldn't even be two buttons. (I > attempted to fix this in bug 653226). On Windows at least they should work > the same as split buttons. I'll buy that, but as long as we have two focusable buttons with distinct focus rings et al, adding keyboard accessibility to the outer / menu button seems like a reasonable interim solution to me. Right now there's no easy and discoverable way to open the menu with the keyboard, which is extra bad on top of all the other quirks related to this button type.
Comment on attachment 694299 [details] [diff] [review] patch OK, maybe we'll just try it for now.
Attachment #694299 - Flags: review?(enndeakin) → review+
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: