Closed
Bug 201743
Opened 22 years ago
Closed 22 years ago
cookie confirmation dialog lacks accelerators for accept/deny buttons (keyboard shortcuts, hotkeys)
Categories
(Core :: DOM: UI Events & Focus Handling, enhancement)
Core
DOM: UI Events & Focus Handling
Tracking
()
RESOLVED
FIXED
People
(Reporter: sgranade, Assigned: dwitte)
References
Details
Attachments
(1 file)
7.02 KB,
patch
|
neil
:
review+
alecf
:
superreview+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2b; MultiZilla v1.1.32 final) Gecko/20030401
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2b; MultiZilla v1.1.32 final) Gecko/20030401
The Confirm dialog for accepting/denying cookies lacks accelerators. While there
are accelerators for the _S_how Details and _H_ide Details buttons, there are
none for the Accept and Deny buttons (nor were there for the Yes/No buttons in
prior Mozilla builds).
Reproducible: Always
Steps to Reproduce:
1. In Preferences->Privacy & Security->Cookies, make sure that "Ask me before
storing a cookie" is checked.
2. Visit a site which will set a cookie, one which you have not visited before.
(For example, http://webreference.com/js/tips/020110.html)
3. The Confirm dialog will appear. The Accept and Deny buttons will lack
accelerators.
Actual Results:
A Confirm dialog appears, but lacks any accelerators for Accept or Deny.
Expected Results:
In the Confirm dialog box, _A_ccept and _D_eny should have accelerators on the
first letters.
Chrome skin.
Comment 1•22 years ago
|
||
You can use enter and esc, a common way of closing dialogs.
Reporter | ||
Comment 2•22 years ago
|
||
Sure, but ENTER defaults to "Yes/Accept." What I want is an easy way to select
"No/Deny" from the keyboard. Right now that involves a fair amount of pressing
TAB or SHIFT-TAB to hilight "No/Deny". That aside, from a consistent UI
standpoint, it'd be good for such dialogs to have accelerators for all of its
options, not just "Show/Hide Details".
Comment 3•22 years ago
|
||
*** Bug 204311 has been marked as a duplicate of this bug. ***
Updated•22 years ago
|
Summary: cookie confirmation dialog lacks accelerators for accept/deny buttons → cookie confirmation dialog lacks accelerators for accept/deny buttons (keyboard shortcuts, hotkeys)
Comment 4•22 years ago
|
||
Verified that ESC can be used for Deny and Return/Enter for Allow in Windows.
However, there aren't the normal hotkeys (and underlined letter) as there are on
most menus and dialogs. Also, there's no hotkey for the "Use my choice for all
cookies from this site" checkbox. I think that being able to hit a single letter
will be more obvious, especially for new users.
Perhaps:
_A_llow
_D_eny
_U_se my choice for all cookies from this site
Show De_t_ails
Hide De_t_ails
This way 'T' could be used as a toggle.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 5•22 years ago
|
||
Confirmed. Pressing "Escape" does not honor the "Use my choice for all
cookies from this site" checkbox. It seems to me it _used_ to, but no longer
does. When I press the "Deny" button, the checkbox is honored. It's inconsistent.
Assignee | ||
Comment 6•22 years ago
|
||
>Confirmed. Pressing "Escape" does not honor the "Use my choice for all
>cookies from this site" checkbox. It seems to me it _used_ to, but no longer
>does. When I press the "Deny" button, the checkbox is honored. It's inconsistent.
Yes, we made that change intentionally - pressing esc or closing the dialog via
the 'x' button is a means of aborting the dialog, not providing a response. The
solution is to provide proper default keys for the two options & checkbox.
Comment 7•22 years ago
|
||
*** Bug 208760 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 8•22 years ago
|
||
this adds accesskeys for the (A)ccept, (D)eny, and 'show/hide de(T)ails'
buttons. pressing alt+key will trigger them. 'U' already exists for 'use my
choice for...'.
due to the buttons not having focus when the checkbox is initially displayed,
just pressing the accesskey for a button (without alt) won't work. if someone
has a nice solution for that, it would be handy...
Assignee | ||
Comment 9•22 years ago
|
||
oh, there is a random string change in there too, to make it consistent with the
others :)
Assignee | ||
Comment 10•22 years ago
|
||
Comment on attachment 133121 [details] [diff] [review]
patch v1
Neil, mind taking a look? thx!
Attachment #133121 -
Flags: review?(neil.parkwaycc.co.uk)
Updated•22 years ago
|
Attachment #133121 -
Flags: review?(neil.parkwaycc.co.uk) → review+
Assignee | ||
Updated•22 years ago
|
Attachment #133121 -
Flags: superreview?(jag)
Comment 11•22 years ago
|
||
*** Bug 220508 has been marked as a duplicate of this bug. ***
Assignee | ||
Updated•22 years ago
|
Attachment #133121 -
Flags: superreview?(jag) → superreview?(alecf)
Comment 12•22 years ago
|
||
Comment on attachment 133121 [details] [diff] [review]
patch v1
sr=alecf
Attachment #133121 -
Flags: superreview?(alecf) → superreview+
Assignee | ||
Comment 14•22 years ago
|
||
checked in.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Component: Keyboard: Navigation → User events and focus handling
You need to log in
before you can comment on or make changes to this bug.
Description
•