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)
Toolkit
UI Widgets
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.
| Reporter | ||
Updated•13 years ago
|
Depends on: jaws
Summary: New Plugin install Alert Allow button → Accessibility - New Plugin install Alert Allow button
| Assignee | ||
Comment 1•13 years ago
|
||
After tabbing to the drop-down part of the button, you need to press Alt+Down.
Comment 2•13 years ago
|
||
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)
| Assignee | ||
Updated•13 years ago
|
Component: Untriaged → XUL Widgets
Product: Firefox → Toolkit
Whiteboard: dupeme
| Reporter | ||
Comment 3•13 years ago
|
||
That is right,standard keyboard shortcuts like spacebar does not work.
Comment 4•13 years ago
|
||
Can we get a progress on this please? It's needed by our partners.
| Assignee | ||
Updated•13 years ago
|
| Assignee | ||
Updated•13 years ago
|
| Assignee | ||
Comment 5•13 years ago
|
||
Assignee: nobody → dao
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #694299 -
Flags: review?(enndeakin)
Comment 6•13 years ago
|
||
Why should space and return open the menu, and not one or the other invoke the command?
Comment 7•13 years ago
|
||
(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?
| Assignee | ||
Comment 8•13 years ago
|
||
(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.
| Assignee | ||
Comment 9•13 years ago
|
||
Enn, is anything still unclear here?
| Reporter | ||
Comment 10•13 years ago
|
||
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.
Comment 11•13 years ago
|
||
I'm unclear why space and return should open the menu. The link in comment 2 doesn't say this at all.
| Assignee | ||
Comment 12•13 years ago
|
||
(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.
Comment 13•13 years ago
|
||
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.
| Assignee | ||
Comment 14•13 years ago
|
||
(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 15•13 years ago
|
||
Comment on attachment 694299 [details] [diff] [review]
patch
OK, maybe we'll just try it for now.
Attachment #694299 -
Flags: review?(enndeakin) → review+
| Assignee | ||
Comment 16•13 years ago
|
||
Comment 17•13 years ago
|
||
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.
Description
•