Accesskeys fail to work with Wordpress when editing a post




Keyboard Navigation
6 years ago
6 years ago


(Reporter: Peter Hollo, Unassigned)


5 Branch

Firefox Tracking Flags

(Not tracked)




6 years ago
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20100101 Firefox/5.0
Build ID: 20110615151330

Steps to reproduce:

Attempted to use accesskeys for functions in the rich-text editor of a WordPress blog. I tested both WordPress-hosted and self-hosted. There are accesskeys for actions such as bolding test and creating links - still visible in the Web Developer Toolbar.

Actual results:


Expected results:

Text should be made bold or dialog opened for link URL.
The accesskeys work when a new post is created, but do not work for editing existing posts. The accesskey for "post/update" (<accesskey>-p) still works, but those for the rich text editor do not.

I can confirm that the same accesskeys work for the same self-hosted blog in Firefox 3.6.18, and as far as I can recall in Firefox 4. This appears to be a Firefox 5 regression.

Comment 1

6 years ago
Please provide a public URL or reduced test case the exhibits this issue.

Does the issue still occur if you start Firefox in Safe Mode?

How about with a new, empty profile?

Any errors in the error console?

Comment 2

6 years ago
I have just tested it in Safe Mode and with a new, empty profile and can duplicate the same error.
There are no relevant errors in the error console.

For a public URL, I have created a new account for those who don't have one. You can go to:
and login with u: firefox5test and p: mozillatest1
(Note: WordPress seems to redirect you if you're already logged in to WordPress, but if you can you can test on your own blog anyway...)

Test cases:
1) Go to Posts -> Add New (the URL should take you straight there).
Visual editor should be disabled, so it should be in HTML mode.
Type some text in the HTML editor, highlight it, and hit <accesskey>-b (by default ctrl-b on Mac, shift-alt-b on Windows, etc). The text should be surrounded by <strong> tags.
This is as desired, but only for a new post.

2) Publish that post, or go to Posts -> All Posts and edit an existing post.
Highlight some text in the HTML editor and type <accesskey>-b. The text will not be surrounded in <strong> tags. Web Developer Toolbar or similar will show that the same accesskeys are still active.

There are some CSS errors in the Error Console, but they appear to be identical for case 1 (working) and case 2 (broken), so I'm not convinced they're relevant.

Comment 3

6 years ago
(typo: if you *are* you can test on your own blog...)

Of course it's not just the bold accesskey but all access keys within the HTML editor which are broken. As mentioned in the Description, there is an accesskey for publishing, which still works though, so this is a strangely specific bug I admit.
But the same accesskeys work properly in earlier versions of Firefox (I still have one installed on another machine).

Comment 4

6 years ago
So it only fails when you edit an existing post, correct? I was able to use them in test 1, but failed in test 2.

Comment 5

6 years ago
Thanks - yes, it only fails when editing an existing post.

In Firefox 3.6.x they do work when editing existing posts as well.
I don't have an installation of Firefox 4 at hand to test, but I use them every week and only noted the problem last week, so I believe it's only since Firefox 5.

Comment 6

6 years ago
Tested on Mozilla/5.0 (Windows NT 5.1; rv:7.0a1) Gecko/20110703 Firefox/7.0a1 ID:20110703030754

(Based on a search for similar bugs I think Keyboard Navigation may be the correct component)


Go to
Login with username: firefox5test and password: mozillatest1
Choose a title and select edit
Attempt to use an access key (i.e. <accesskey>-i for italic)

Actual Result:

No action taken

Expected result:

Text should be surrounded by <em> tags

The same access key works when you first create a post.
Component: General → Keyboard Navigation
Ever confirmed: true
OS: Other → All
QA Contact: general → keyboard.navigation
Summary: Accesskeys unreliable in Firefox 5 → Accesskeys fail to work with Wordpress when editing a post
Version: 5 Branch → Trunk

Comment 7

6 years ago
Thanks for confirmation, Tim. And I wasn't confident of putting it in Keyboard Navigation, cheers.
Component: Keyboard Navigation → General
OS: All → Other
Version: Trunk → 5 Branch
Component: General → Keyboard Navigation
You need to log in before you can comment on or make changes to this bug.