Closed
Bug 250058
Opened 21 years ago
Closed 21 years ago
Accesskeys for the submenu of "View, Sidebar" are active, however not underlined.
Categories
(Firefox :: Menus, defect, P5)
Tracking
()
RESOLVED
FIXED
People
(Reporter: cajunman4life, Assigned: jruderman)
Details
(Keywords: fixed-aviary1.0)
Attachments
(1 file, 1 obsolete file)
6.11 KB,
patch
|
mconnor
:
review+
|
Details | Diff | Splinter Review |
Click on view, and go to Sidebar (or press Alt+V+E). Notice how the two items,
Bookmarks and History have no accesskeys underlined (as do the rest of the
menus). However, pressing B (or Alt+V+E+B) or H (or Alt+V+E+H) will activate the
respective menu item. So the accesskey is active, but not visible.
Comment 1•21 years ago
|
||
I confirm your finding while using Firefox 0.9.1 build 20040626 under XP Pro
SP1a here.
Assignee | ||
Comment 2•21 years ago
|
||
Pressing B activates the Bookmarks menu item even though the menu item doesn't
have an accesskey. You can see the same thing with items in the bookmarks menu:
pressing the first letter of a menu item highlights it, and if there are no
conflits, activates it.
Assignee | ||
Comment 3•21 years ago
|
||
The History item also appears in the Go menu, where it has the accesskey "i".
Should the accesskey in View > Sidebar be the same or should it be "H"?
Comment 4•21 years ago
|
||
We should never use a lower case i or l for an accesskey unless there's nothing
else available. Too hard to see the underline.
http://www.mozilla.org/projects/ui/accessibility/accesskey.html
Actually that idea was taken from Microsoft's guidelines for mnemonics.
Assignee | ||
Comment 5•21 years ago
|
||
I'll make the accesskey for History 's' in both places.
Assignee: firefox → jruderman
Assignee | ||
Comment 6•21 years ago
|
||
Makes the accesskeys 'B' and 's'. Also renames "manBookmarksCmd", which opens
bokomark manager in Seamoneky but opens the bookmarks sidebar in Firefox, to
"bookmarksSidebarCmd".
cvs diff -u browser/base/content/browser-menubar.inc
browser/base/content/browser-sets.inc browser/base/locale/browser.dtd
Assignee | ||
Updated•21 years ago
|
Attachment #152466 -
Flags: review?(mconnor)
Assignee | ||
Updated•21 years ago
|
Flags: blocking-aviary1.0RC1?
Comment 7•21 years ago
|
||
Comment on attachment 152466 [details] [diff] [review]
patch
Why don't you use "H" as accesskey for History? That is not used yet in
View->Sidebar.
>+ <key id="viewBookmarksSidebarKb" key="&bookmarksSidebarCmd.commandkey;" command="viewBookmarksSidebar" modifiers="accel"/>
> #ifdef XP_WIN
>+ <key id="viewBookmarksSidebarKb" key="&bookmarksSidebarWinCmd.commandkey;" command="viewBookmarksSidebar" modifiers="accel"/>
Please give the second key a unique id, like viewBookmarksSidebarWinKb. There
was a complaint in bug 243413 comment 15 and 17 about them being identical.
>+<!ENTITY bookmarksSidebarCmd.accesskey "B">
>+<!ENTITY bookmarksSidebarCmd.commandkey "b">
>+<!ENTITY bookmarksSidebarWinCmd.commandkey "i">
>+<!ENTITY historyCmd.accesskey "s">
>+<!ENTITY history.commandKey "h">
You should give the history keys similar names, like
historySidebarCmd.accesskey, historySidebarCmd.commandKey.
Assignee | ||
Comment 8•21 years ago
|
||
Comment on attachment 152466 [details] [diff] [review]
patch
I don't use H as an accesskey for History because the History item appears in
both Go and in View > Sidebar. In Go, H is Home. I could make History use
different accesskeys in different menus... do you think that would be better?
I'll fix the other things you mentioned.
Attachment #152466 -
Attachment is obsolete: true
Attachment #152466 -
Flags: review?(mconnor)
Comment 9•21 years ago
|
||
I see, and you wrote that already in comment 3. My bad.
While I think underlining the "H" in the View menu would look nicer, having
consistent keys is probably better.
Assignee | ||
Comment 10•21 years ago
|
||
Makes the improvements Steffen suggested in addition to fixing the bug.
Assignee | ||
Updated•21 years ago
|
Attachment #153069 -
Flags: review?(mconnor)
Updated•21 years ago
|
Attachment #153069 -
Flags: review?(mconnor) → review+
Updated•21 years ago
|
Flags: blocking-aviary1.0RC1? → blocking-aviary1.0RC1+
Priority: -- → P5
Assignee | ||
Comment 11•21 years ago
|
||
Fixed trunk and branch.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Whiteboard: fixed-aviary1.0
Updated•20 years ago
|
Keywords: fixed-aviary1.0
Whiteboard: fixed-aviary1.0
Updated•18 years ago
|
QA Contact: bugzilla → menus
You need to log in
before you can comment on or make changes to this bug.
Description
•