Closed Bug 268926 Opened 20 years ago Closed 16 years ago

Wrong shortcut key for mac users on Firefox startpage

Categories

(www.mozilla.org :: General, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: stefanh, Unassigned)

References

()

Details

(Keywords: l12y)

Attachments

(1 file, 2 obsolete files)

The keyboard shortcuts mentioned in all the available snippet-5.html's contains
"Ctrl", this should be replaced by "Cmd" for mac users.

Some js would fix this.
could't this be done with CSS like in Firefox Help? It should work out of the
box as long as one uses Firefox to display the page.
Keywords: l12y
Attached file test file (obsolete) —
This works locally, but i wonder if it works online. By refering to
chrome://help/skin/helpFileLayout.css the platformClasses are used to show/hide
the platform-specific accel keys.
Hmm, it appears to work. Of course, as MMX pointed out, one could also refer
directly to platformClasses.css. I do feel that it shouldn't work, though... One
other issue is that these snippets are just some tables that are inserted in
another page.
Attached file New version using platformClasses.css (obsolete) —
This is better, only use the the relevant styles.
Attachment #165898 - Attachment is obsolete: true
Attached file Correct version
Sigh, forgot to add "Ctrl" in the "noMac" spans... Sorry for all this spam...
Attachment #165901 - Attachment is obsolete: true
Has any progress been made?
Comment on attachment 165903 [details]
Correct version

r- from me.
Everybody can look at the firefox startpage with a non-firefox browser. And
that gives "CmdCtrl+T" instead of a somewhat good accesskey. I'd rather leave
it as it is.

Honestly, this is a rather severe hack for a rather small problem, I bet that
most mac users can cope with the status quo much better than Mozilla users
could cope with the suggested fix.
(In reply to comment #7)

> Everybody can look at the firefox startpage with a non-firefox browser. And
> that gives "CmdCtrl+T" instead of a somewhat good accesskey.

Yeah, that's an issue. But how about some js?

Something like this should work:
<script type="text/javascript">
if (navigator.platform.indexOf("Mac") != -1)
document.write("Cmd");
else document.write("Ctrl");
</script><noscript>Ctrl</noscript>

But, of course, that would mess up the code a bit.

*** Bug 275942 has been marked as a duplicate of this bug. ***
If we're going to use the same start-snippets - can we fix this before the 1.5 release?
*** Bug 318862 has been marked as a duplicate of this bug. ***
Assignee: www-mozilla-org → nobody
QA Contact: danielwang → www-mozilla-org
Product: mozilla.org → Websites
Time has passed, and I guess we can resolve this as invalid now - there's no snippet with shortcuts anymore.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → INVALID
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: